working with launchpad behind an authenticating proxy

Vincent Ladeuil vila+bzr at canonical.com
Wed Apr 11 12:58:11 UTC 2012


>>>>> Denys Duchier <denys.duchier at univ-orleans.fr> writes:

    > at the university, my students must use a proxy for all http/https
    > connexions (however, I managed to put in place a forwarding gateway for
    > ssh connexions to launchpad.net).



    > the proxy is now "authenticating", which means that they need to
    > provide a username and password for ALL connexions to the proxy.

I feel your pain.

    > 
    > since lp: urls need xmlrpc, some bzr commands require them to
    > enter username and password several times,

There should be only two root causes for asking login/pass *several*
times for the same command:

- code that don't use our http client implementations, I guess this
  comes from checking the branch packaging which is controlled by the
  'launchpad.packaging_verbosity' config option. If this is the case,
  setting it to 'off' should avoid the issue.

- code that doesn't re-use an existing connection. No workaround for
  that, if you 

    > and working with bzr just becomes too bothersome.  To make things
    > worse, their username is their email address at university (yes,
    > WITH an @ inside which doesn't work with the
    > <user>:<password>@<host>:<port> syntax).

    > Is there a way to configure the proxy username and password in
    > authentication.conf or something?

Yes, see
http://doc.bazaar.canonical.com/bzr.2.5/en/user-reference/authentication-help.html 

You should define a section specific to the proxy.

    Vincent



More information about the bazaar mailing list