Re: PackageFileManager
| From: | Gregory Beaver | Date: | Fri, 22 Jun 2007 03:01:45 +0000 |
| Subject: | Re: PackageFileManager | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27536@lists.php.net to get a copy of this message | ||
Christian Weiske wrote:
> Hello Paul,
>
>
>> I would like to start packaging our application and modules as pear
>> installable packages. Should I be using PEAR_PackageFileManager or
>> PEAR_PackageFileManager2 (does this exist?) to accomplish that?
> I would suggest, you use
> http://pear.php.net/package/PEAR_PackageFileManager_Cli for
> starters.
> It automatically takes care of creating package.xml v2 files.
>> I would like to have 2 "categories" in the pear channel server:
>>
>> 1. Stable release files 2. CVS checkout files
>>
>> Does anyone have an example of sorts to do this?
>
> You don't even need categories, just different stabilities: The
> "stable" release files get the package state "stable", all the cvs
> files get the package state "dev". This way, you can have all the
better yet, use "snapshot" state which is designed for this particular case.
> versions under a single hood, and the pear installer installs only
> the ones that match its configured stability (e.g. on a production
> server it only installs stable packages, while the test server also
> installs dev packages when upgrading)
Greg