Edit report at http://pear.php.net/bugs/bug.php?id=18278&edit=1

ID: 18278
Updated by: helgith@gmail.com
Reported By: jan at horde dot org
Summary: channel-update updating from wrong server
Status: Open
Type: Bug
Package: PEAR
Package Version: 1.9.1
PHP Version: Irrelevant
-Assigned To:
+Assigned To: dufuz
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: dufuz

Previous Comments:

[2011-02-15 15:59:36] yunosh

If running the "channel-update" command, this works as if you run
"channel-discover <channelname>".

This is wrong, because the channel name might not match the server name.
The updated channel configuration should be fetched from the server
configured in the channel information instead.

Some example:
I have a local installation of the Horde PEAR server for testing
purposes. To install this channel, I run:
$ pear channel-discover pear.local
I then have a channel named pear.horde.org, alias horde, with REST
endpoint pointing to http://pear.local/.
Everything works fine with this setup. Until I run:
$ pear channel-update horde
$ pear update-channels
At this point, instead of retreiving http://pear.local/channel.xml, PEAR
downloads http://pear.horde.org/channel.xml, overwriting the correct
channel information.
There is no way to revert to the old channel configuration either. I can
only uninstall all horde packages, channel-delete horde, and the start
from scratch.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedFeb 27, '11 at 3:20p
activeFeb 27, '11 at 3:20p

1 user in discussion

Helgith: 1 post



site design / logo © 2022 Grokbase