Re: Using the PEAR Installer for non-PEAR projects

From: Date: Sat, 20 Apr 2002 17:35:17 +0000
Subject: Re: Using the PEAR Installer for non-PEAR projects
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5691@lists.php.net to get a copy of this message
On Fri, 2002-04-19 at 16:36, Sebastian Bergmann wrote: > Hi, > > I took the necessary steps today to package future releases of > phpOpenTracker with a simple > > pear -v package > > Any chance of using the PEAR installer to install phpOpenTracker, > something like > > pear install http://www.sourceforge.net/.../release.tar.gz > > comes to mind. > > This would be _so_ cool! You can do this today if you want. The only problem is keeping your package namespace sane. You should at least set php_dir to something else, but apart from that this pretty much works today. One idea I have been toying with is being able to set up multiple download servers. That would for example let a company use the PEAR installer to maintain company-internal packages as well as open-sourced ones from php.net. They would just have to set up a site with their own stuff that the installer checks first, and if the wanted package is not there it falls back to pear.php.net or whatever. This could also be used to implement a mirroring scheme that is tolerant to mirrors taking a while to update. - Stig

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