Re: PEAR 1.4.0 report - Major progress: 97% unit-tested
| From: | Lukas Smith | Date: | Tue, 28 Dec 2004 10:45:29 +0000 |
| Subject: | Re: PEAR 1.4.0 report - Major progress: 97% unit-tested | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2248@lists.php.net to get a copy of this message | ||
C:\php>pear install mdb2-beta
Attempting to discover channel "pear.php.net"...
downloading channel.xml ...
Starting to download channel.xml (1,040 bytes)
....done: 1,040 bytes
Channel "pear.php.net" is not initialized, use "pear discover pear.php.net" to i
nitialize
unknown channel "pear.php.net" in "mdb2-beta"
invalid package name/package file "mdb2-beta"
C:\php>pear discover pear.php.net
Command 'discover' is not valid, try 'pear help'
-> It should say "pear channel-discover pear.php.net"
_______________________
C:\php>pear install liveuser-0.14.0
pear/liveuser can optionally use package "pear/MDB" (version >= 1.1.4)
pear/liveuser can optionally use package "pear/XML_Tree"
pear/liveuser can optionally use package "pear/Crypt_RC4"
pear/liveuser can optionally use package "pear/Log" (version >= 1.7.0)
downloading liveuser-0.14.0.tgz ...
Starting to download liveuser-0.14.0.tgz (64,484 bytes)
................done: 64,484 bytes
pear/LiveUser can optionally use package "pear/MDB" (version >= 1.1.4)
pear/LiveUser can optionally use package "pear/XML_Tree"
pear/LiveUser can optionally use package "pear/Crypt_RC4"
pear/LiveUser can optionally use package "pear/Log" (version >= 1.7.0)
install ok: channel://pear.php.net/LiveUser-0.14.0
-> I dont know when it does this, but sometimes it lists the optional requirements before and after download.
__________________________
C:\php>pear install log
pear/liveuser can optionally use package "pear/Log" (version >= 1.7.0)
downloading log-1.8.7.tgz ...
Starting to download log-1.8.7.tgz (32,693 bytes)
.........done: 32,693 bytes
install ok: channel://pear.php.net/Log-1.8.7
C:\php>pear install crypt_rc4
downloading crypt_rc4-1.0.2.tgz ...
Starting to download crypt_rc4-1.0.2.tgz (1,850 bytes)
....done: 1,850 bytes
install ok: channel://pear.php.net/Crypt_RC4-1.0.2
-> I dont know when it does this, but sometimes it lists the optional requirements before and after download.
____________________________
C:\php>pear install xml_tree-beta
pear/liveuser can optionally use package "pear/XML_Tree"
pear/liveuser_admin can optionally use package "pear/XML_Tree"
downloading xml_tree-2.0.0RC2.tgz ...
Starting to download xml_tree-2.0.0RC2.tgz (8,827 bytes)
.....done: 8,827 bytes
install ok: channel://pear.php.net/XML_Tree-2.0.0RC2
-> I this seems a bit odd. I looked at the package.xml and I dont quite see where this could be coming from.
________________________
C:\php>pear upgrade-all
Warning: Invalid argument supplied for foreach() in Install.php on line 325
C:\php>pear update-channels
Notice: Array to string conversion in Registry.php on line 371
Notice: Array to string conversion in Registry.php on line 384
Adding new channel "Array"
ERROR: Cannot retrieve channel.xml for channel "Array"
_______________________
C:\php>pear install xml_tree-beta
downloading xml_tree-2.0.0RC2.tgz ...
Starting to download xml_tree-2.0.0RC2.tgz (8,827 bytes)
.....done: 8,827 bytes
ERROR: pear.php.net/XML_Tree is already installed
________________________
PEAR_PackageFileManager seems to produce empty xml files (just as an FYI)
________________________
Finally the upgrade to PEAR 1.4.0 broke the first time around, but I think this was due to a hacked pear.bat I had to make things work with a parallel php4 and php5 install. The second time around from a clean 1.3.3.1 intall worked flawlessly. Ah actually the second time around I also had net_ftp installed beforehand. Dunno if that changed anything.
Installing and upgrading seemed to work fine in general. I even validated a package. List seems to work as well. Maybe someone from pear-qa could generate a form that people can submit to tell Greg what commands they have tested?
regards,
Lukas