Re: PEAR utility 'preferred_state' handling
| From: | bertrand Gugger | Date: | Sun, 11 Feb 2007 05:47:40 +0000 |
| Subject: | Re: PEAR utility 'preferred_state' handling | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45637@lists.php.net to get a copy of this message | ||
Hello,
Lukas Kahwe Smith wrote:
Jay Taylor wrote:Just as a reminder, I would tell this is a "per package" basis. You can also do it on a "per command" basis by redefining the preferred state as: pear -d preferred_state=alpha upgrade Package_Foo Package_Bar .... This redefinition will be valid only for the command. -- togggGreetings everyone, I have been wondering if it might be an improvement to alter the preferred_state variable a little bit for the PEAR utility. Right now, there is only 1 setting for preferred state, so if one wishes to try out a new package that doesn't have a "stable" release, there is no choice but to change preferred_state to 'devel' or 'beta'. This means that in the future, even packages which have a stable release would still be upgraded to the developer release. I see three possible solutions:you do know that you can easily override the setting on a per command basis? pear install foo-beta