Re: How to work with PEAR channel server ?

From: Date: Tue, 10 Jan 2012 15:31:14 +0000
Subject: Re: How to work with PEAR channel server ?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54704@lists.php.net to get a copy of this message
BTW, The current Pyrus seems don't work on my machine, Can't install PEAR2 libraries: $ pyrus.phar install PEAR2_Pyrus Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D Using PEAR installation found at /Users/c9s/local PEAR2\Pyrus\Installer\Exception: Dependency validation failed for some packages to install, installation aborted PEAR2\Pyrus\Package\Dependency\Set\Exception: Unable to find a compatible release for pear2.php.net/PEAR2_Pyrus On Tue, Jan 10, 2012 at 11:29 PM, Lin Yo-An <cornelius.howl@gmail.com>wrote: > Hi Brett Bieber, > > Thanks for the help. > > I have a question about: if I discovered a pear channel like: > pear.php.net , how do I switch the mirror of pear to site like > us.pear.php.net ? > > It looks like the channel alias is locked once the channel is discovered ? > > > Thanks. > > Yo-An Lin (c9s) > > ------ > c9s > PHP / Perl Developer > > - https://github.com/c9s/Onion PEAR package builder / > bundler > - https://github.com/c9s/GenPHP Ruby newgem-like code > generator. > > > > > On Tue, Jan 10, 2012 at 10:48 PM, Brett Bieber <brett.bieber@gmail.com>wrote: > >> On Tue, Jan 10, 2012 at 3:40 AM, Lin Yo-An <cornelius.howl@gmail.com> >> wrote: >> > >> > Hi folks, >> > >> > I am currently working on a PEAR tool that needs to communicate / >> download >> > meta xml files from PEAR channel, >> > But I didn't see clearly examples about it, or any component that works >> for >> > it ? >> >> Both the PEAR installer and Pyrus communicate with remote PEAR >> channels using the standard pear channel protocol. It's fairly simple >> to get details using http requests, all documented here - >> http://pear.php.net/manual/en/core.rest.php >> >> Here's a simple example which communicates with a remote PEAR channel >> using Pyrus: >> https://gist.github.com/1589425 >> >> > BTW, is it possible to mirror a whole PEAR channel ? any solution ? >> >> Yes, I believe there are others that are doing this: >> https://github.com/lagged/MirrorPackage >> >> >> -- >> Brett Bieber >> > > > > -- > Best Regards, > > Yo-An Lin > > -- Best Regards, Yo-An Lin

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