[MERGE][#251008] lowercase the provided username in launchpad-login

Robert Collins robertc at robertcollins.net
Mon Mar 30 23:44:03 BST 2009


On Tue, 2009-03-31 at 11:32 +1300, Michael Hudson wrote:
> All Launchpad ids are lowercase, and nothing useful happens if you try
> to set your launchpad-login to a string containing upper case characters:
> 
> mwh at grond:lowercase-lp-id$ bzr launchpad-login MwHudson
> bzr: ERROR: https://launchpad.net/%7EMwHudson/%2Bsshkeys is permanently
> redirected to https://launchpad.net/~mwhudson/+sshkeys
> 
> 
> So this very simple patch simply lowercases any provided name.  No
> tests, as there are no blackbox tests for launchpad-login (indeed, it's
> hard to see how you could).

I believe you can override the xml server trivially, so a blackbox
plugin could do that.

Anyhow,

bb:approve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090331/55652b76/attachment.pgp 


More information about the bazaar mailing list