Bug in register-branch?

Bjorn Tillenius bjorn at canonical.com
Tue Oct 16 22:49:18 BST 2007


On Tue, Oct 16, 2007 at 04:20:13PM -0500, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> John Arbash Meinel wrote:
> 
> ...
> 
> > Actually, I think I tracked it down. I'm registered as a LP beta tester, so I
> > need to be testing against 'edge'. However using:
> > 
> > export BZR_LP_XMLRPC_URL=http://xmlrpc.edge.launchpad.net/bazaar/
> > 
> > doesn't work.
> > 
> > The plugin documentation recommends using:
> > export BZR_LP_XMLRPC_URL=http://xmlrpc.staging.launchpad.net/bazaar/
> > 
> > But that creates a traceback recommending:
> > export BZR_LP_XMLRPC_URL=https://xmlrpc.staging.launchpad.net/bazaar/
> 
> So I realized I didn't try 1 thing. Which was
> 
> export BZR_LP_XMLRPC_URL=https://xmlrpc.edge.launchpad.net/bazaar/
> 			     ^          ^^^^
> 
> Which did, in fact, work.
> 
> So I think what needs to happen is:
> 
> a) Get a better error back when you should be using a different XMLRPC server
> b) Fix the plugin documentation itself to use the https:// locations rather
> than plain http://.
> 
> It may be that the current LP is trying to give back a nice error message, and
> this is what is messing up the plugin.

I think what happens is that LP simply redirects you to
xmlrpc.edge.launchpad.net, and the plugin doesn't handle that. I'd say
it's a bug in LP, though, it shouldn't redirect you when you use
XML-RPC. This has been reported (about redirecting to beta.lp.net, but
it's the same issue) already:

    https://bugs.launchpad.net/launchpad-bazaar/+bug/92097


Regards,

Bjorn



More information about the bazaar mailing list