Re: Re: PEAR channel server for applications and libraries outside PEAR
| From: | Travis Swicegood | Date: | Fri, 01 Jun 2007 17:11:20 +0000 |
| Subject: | Re: Re: PEAR channel server for applications and libraries outside PEAR | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46943@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
Sebastian Nohn wrote:pear config-set default_channel whatever.com then all end user commands will work identically to the way they work for pear.php.net. (This has worked since PEAR 1.4.0 FYI)Greg Beaver wrote:I think, first the pear command line tool should be able to perform all end user commands in a comfortable way on different channels.Christian Weiske wrote:Sebastian Nohn wrote:Hi Christian,Some apps already have their own channel server (e.g. Geeklog, http://pear.geeklog.net/ ), other apps and libs do have PEAR-installable packages, but don't want to set up and maintain a complete channel server (e.g. OpenID libraries, http://www.openidenabled.com/openid/libraries/php ). The ideal place for those projects would be a dedicated PEAR channel server that is open for everyone. pearified.com has been started as such a project, but the lead, Clay Loveless, does not respond to any emails. Suggestions, ideas, volunteers?PEAR is the best method to distribute PHP libraries, and since it also supports multiple channels, also a very convenient way to distribute PHP applications.
Do you call that comfortable?
I don't see a suggestion or a patch in your reply, perhaps I missed it?
Would it be possible to use a cache of all of the known packages on a given channel, and attempt to pick the appropriate one when possible (i.e., only one exists) and prompt for multiple packages?
$ pear update-channels
$ pear install Great_Package <-- installs from pear.great-package.net
$ pear install Multiple_Channels
Multiple packages were detected, select one:
[1] Multiple_Channels from pear.multiple-channels.net
[2] Multiple_Channels from pear.php.net
[A] Abort without installing
Choose one [A]:
-Travis