Re: How to work with PEAR channel server ?

From: Date: Tue, 24 Jan 2012 19:21:58 +0000
Subject: Re: How to work with PEAR channel server ?
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54745@lists.php.net to get a copy of this message
Hi, Thanks for the replies, but this didn't solve my problem, the preferred_mirror option seems only work for the official PEAR channel ? and not for all PEAR channels like Zend or Ezc ? I need the both channels (remote and local mirror) exists in my pear channel list. For example: zend.dev for local zend channel mirror. pear.zendframework.com for remote channel But when I use PEAR to discover my local channel mirror, it shows host name collision, which is like: $ sudo pear channel-discover us.pear.php.net Discovery of channel "us.pear.php.net" failed (channel-add: Channel " pear.php.net" exists, use channel-update to update entry) is there any solution ? or does Pyrus solve this already ? Best Regards, c9s PHP / Perl Developer - https://github.com/c9s/Onion PEAR package builder / bundler - https://github.com/c9s/GenPHP Ruby newgem-like code generator. On Wed, Jan 11, 2012 at 12:01 AM, Christian Weiske <cweiske@cweiske.de>wrote: > Hello Lin, > > > > 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 ? > > $ pear config-set preferred_mirror us.pear.php.net > > > It looks like the channel alias is locked once the channel is > > discovered ? > > $ pear channel-alias pear.php.net therealpear > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > -- Best Regards, Yo-An Lin

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