pyrus/Pyrus — Issue #85: auto_discover not working
Author: alganet
Created: 2011-12-23 19:21:14+00:00
State: open

I'm having a hard time trying to automate packaging installation from a raw package.xml file. Getting this:

```
neitherhair-lm:Template gaigalas$ php pyrus.phar set auto_discover 1
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at /Volumes/Dev/Projects/PEAR
Setting auto_discover in /Users/gaigalas/.pear/pearconfig.xml
neitherhair-lm:Template gaigalas$ php pyrus.phar install -o -f package.xml
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at /Volumes/Dev/Projects/PEAR
Sorry, package.xml references an unknown channel packages.zendframework.com for packages.zendframework.com/Zend_Dom
Do you want to add this channel and continue?
Please choose:
yes
no
[yes] :
```

I coudn't figure out a way to do this automatically. Optional dependencies on package.xml may change, and new channels on that file may be added.

Any thoughts on this?

Thanks!