List Info

Thread: Re: problem with PEAR config-set command and preferred_mirror option




Re: problem with PEAR config-set command and preferred_mirror option
user name
2007-06-26 06:04:29
Hi,

I want to add something new I've just noticed.

I try a new configuration , with :
1. copy the "pear.ini" file (see below) into
C:Windows
2. run command   pear config-set preferred_mirror
de.pear.php.net

    C:wampphp>pear config-set preferred_mirror
de.pear.php.net
    config-set succeeded

NOTICE the result --^

3. run command  pear config-show

And what's supposed to see ?!

Default Channel Mirror         preferred_mirror
de.pear.php.net

isn't it. If I've well understood ... But I still have

Default Channel Mirror         preferred_mirror
pear.php.net

Mirror was not applied .

I think it's a bug in PEAR 1.6.1
A confirmation will be appreciated . Thanks in advance

Laurent



Laurent Laville a écrit :
> Hi,
> 
> While I wanted to test my latest modification on
PEAR_PackageUpdate 
> (support mirror for REST 1.0 protocol) I run in trouble
with PEAR 
> config-set command.
> 
> Here is my *pear.ini* content :
> 
> C:wampphp>pear -c pear.ini config-show
> CONFIGURATION (CHANNEL PEAR.PHP.NET):
> =====================================
> Auto-discover new Channels     auto_discover    <not
set>
> Default Channel                default_channel 
pear.php.net
> HTTP Proxy Server Address      http_proxy       <not
set>
> PEAR server [DEPRECATED]       master_server   
pear.php.net
> Default Channel Mirror         preferred_mirror
pear.php.net
> Remote Configuration File      remote_config    <not
set>
> PEAR executables directory     bin_dir         
C:wampphp
> PEAR documentation directory   doc_dir         
C:wampphppeardocs
> PHP extension directory        ext_dir         
c:wampphpext
> PEAR directory                 php_dir         
C:wampphppear
> PEAR Installer cache directory cache_dir       
c:wampphppearcache
> PEAR data directory            data_dir        
C:wampphppeardata
> PEAR Installer download        download_dir    
c:wamptmp
> directory
> PHP CLI/CGI binary             php_bin         
C:wampphpphp.exe
> php.ini location               php_ini          <not
set>
> PEAR Installer temp directory  temp_dir        
c:wamptmp
> PEAR test directory            test_dir        
C:wampphppeartests
> Cache TimeToLive               cache_ttl        3600
> Preferred Package State        preferred_state  stable
> Unix file mask                 umask            0
> Debug Log Level                verbose          1
> PEAR password (for             password         <not
set>
> maintainers)
> Signature Handling Program     sig_bin         
c:gnupggpg.exe
> Signature Key Directory        sig_keydir      
C:WINDOWSpearkeys
> Signature Key Id               sig_keyid        <not
set>
> Package Signature Type         sig_type         gpg
> PEAR username (for             username         <not
set>
> maintainers)
> User Configuration File        Filename        
pear.ini
> System Configuration File      Filename        
C:WINDOWSpearsys.ini
> 
> 
> I want to change "Default Channel Mirror"
(preferred_mirror)
> from 'pear.php.net' to europe mirror as notified at 
> http://pear.php.net/m
irrors.php
> 
> So I did :
> 
> C:wampphp>pear -c pear.ini config-set
preferred_mirror de.pear.php.net
> 
> And i got this answer :
> 
> config-set (preferred_mirror, de.pear.php.net, user)
failed, channel 
> pear.php.net
> 
> 
> What I missed ? Help are welcome !
> 
> Last but not least, my platform info :
> 
> C:wampphp>pear -V
> PEAR Version: 1.6.1
> PHP Version: 5.2.3
> 
> 
> regards
> Laurent

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


Re: Re: problem with PEAR config-set command and preferred_mirror option
user name
2007-06-26 06:14:59
Laurent,


> I think it's a bug in PEAR 1.6.1
> A confirmation will be appreciated . Thanks in advance

root:/home/cweiske> pear config-get preferred_mirror
pear.php.net
root:/home/cweiske> pear config-set preferred_mirror
de.pear.php.net
config-set succeeded
root:/home/cweiske> pear config-get preferred_mirror
de.pear.php.net

Works for me with 1.6.1. Could it be that you're using
greg's test version of pear-1.6.1?

-- 
Mit freundlichen Grüßen/Regards,
Christian Weiske

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )