Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #16387 channel-logout does not support logging out from a non-default channel
Submitted: 2009-06-29 19:21 UTC
From: timj Assigned: timj
Status: Closed Package: PEAR (version 1.8.1)
PHP Version: 5.2.9 OS:
Roadmaps: 1.9.0    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 23 + 29 = ?

 
 [2009-06-29 19:21 UTC] timj (Tim Jackson)
Description: ------------ "pear channel-logout" always logs out of the default channel. I would expect to be able to do this: "pear channel-logout pear.example.com" to log out of another channel. A patch is attached, but this depends on fixing bug #16386

Comments

 [2009-06-29 19:21 UTC] timj (Tim Jackson)
The following patch has been added/updated: Patch Name: pear-bug-16387 Revision: 1246285280 URL: http://pear.php.net/bugs/patch-display.php?bug=16387&patch=pear-bug-16387&revision=1246285280&display=1
 [2009-06-29 19:44 UTC] timj (Tim Jackson)
N.B. Channels.xml needs updating too after the above patch is applied
 [2009-07-08 23:40 UTC] dufuz (Helgi Þormar Þorbjörnsson)
I will consider this patch. It's kinda useless due to a simple fact. The REST protocol (which is the only supported one atm, XMLRPC was killed) we are using does not support logins or more like, the installer does not attempt a http auth login. Perhaps when we add the authentication bit in there.
 [2009-07-09 12:05 UTC] timj (Tim Jackson)
Actually, it's not useless - this patch is very useful right now for me when I am using a REST-based private channel (protected with HTTP auth), which is served using Greg's PEAR_Chiara_Server, because in that particular case, the REST metadata is unprotected, but the packages themselves are protected. PEAR_Downloader does use the HTTP auth details provided when downloading packages.
 [2009-07-12 22:14 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Ohh I had no idea about that! I will apply this for 1.9 (next release anyway) - Sorry about the lack of knowledge on my side :)
 [2009-07-12 22:14 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz
 [2009-07-29 08:54 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Assigned +Status: Closed -Assigned To: dufuz +Assigned To: timj
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.