[MERGE] Include staging in launchpad-login authentication.
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Oct 17 22:50:00 BST 2008
>>>>> "aaron" == Aaron Bentley <aaron at aaronbentley.com> writes:
<snip/>
aaron> def _set_auth_user(username, auth=None):
aaron> if auth is None:
aaron> auth = AuthenticationConfig()
aaron> auth.set_credentials(
aaron> 'Launchpad', 'bazaar.launchpad.net', username, 'ssh')
aaron> + auth.set_credentials(
aaron> + 'Launchpad Staging', 'bazaar.staging.launchpad.net', username, 'ssh')
A simple auth.set_credentials('Launchpad', '.launchpad.net', username, 'ssh')
should be enough.
AFAIK you can't connect to lp with different credentials and if
the need arise you can define the exceptions *before* the rule as in:
[test]
scheme = ssh
host = test.bazaar.launchpad.net
username = jim
[launchapd]
scheme = ssh
# The leading point is special cased to mean the whole domain
host = .launchpad.net
user = joe
BB: comment
Vincent
More information about the bazaar
mailing list