Re: How to work with PEAR channel server ?
| From: | Lin Yo-An | Date: | Tue, 10 Jan 2012 15:29:02 +0000 |
| Subject: | Re: How to work with PEAR channel server ? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54703@lists.php.net to get a copy of this message | ||
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