Re: PackageFileManager

From: Date: Thu, 21 Jun 2007 10:11:02 +0000
Subject: Re: PackageFileManager
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27524@lists.php.net to get a copy of this message
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 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) -- Mit freundlichen Grüßen/Regards, Christian Weiske

« previous php.pear.general (#27524) next »