Re: PEAR packages 1.0 and 2.0 dependencies - nonsense

From: Date: Thu, 08 Jun 2006 23:46:26 +0000
Subject: Re: PEAR packages 1.0 and 2.0 dependencies - nonsense
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42871@lists.php.net to get a copy of this message
Laurent Laville wrote: > Yes Pear Installer (version >= 1.4.3) > No Package pear/PEAR (version >= 1.3.5) Read carefully. What is the first dependency type? "Pear Installer" and the second? "Package" How do they differ? If the PEAR version is not high enough (i.e. we're running PEAR 1.4.2) the install will outright fail. With the second, say we're running PEAR 1.3.4, it would simply attempt to upgrade to the latest stable version of PEAR that is greater than 1.3.5. See the difference? The PEAR installer dependency can be used to prevent trying to install a package with a known buggy version of the installer, or a version that does not implement a needed feature, without corrupting your installation. It's similar to the "PHP" dependency, which assumes that if you aren't running a new enough version of PHP, you're likely to completely break your install by installing the package. Greg

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