Re: solution for BC breakage

From: Date: Tue, 16 Sep 2003 14:26:23 +0000
Subject: Re: solution for BC breakage
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21575@lists.php.net to get a copy of this message
Hi! Stefan Neufeind wrote:
<dep type="pkg" rel="ge" version="1">MDB</dep> <dep type="pkg" rel="lt" version="2">MDB</dep>
Hmm, while we're at this: Does it work for larger numbers? Don't know if we already have that problem but what if a package "9.0" later becomes "10.0", which propably will one day. Does this already work? Or would 10 be recognized as being between 1 and 2? Or that 1.0.30 is larger than 1.0.4. And if those things are parsed correctly, aren't things like 1.5.0RC2 a problem since they don't follow this numberin-scheme?
A question: why are you writing this to the list instead of testing and writing to the list iff there are indeed any problems? Hint: you don't need to test PEAR package manager, just PHP's version_compare() function.

« previous php.pear.dev (#21575) next »