~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_registration.py

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006-2011 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
86
86
 
87
87
    LAUNCHPAD_DOMAINS = {
88
88
        'production': 'launchpad.net',
89
 
        'edge': 'edge.launchpad.net',
90
89
        'staging': 'staging.launchpad.net',
 
90
        'qastaging': 'qastaging.launchpad.net',
91
91
        'demo': 'demo.launchpad.net',
92
92
        'dev': 'launchpad.dev',
93
93
        }
98
98
    for instance, domain in LAUNCHPAD_DOMAINS.iteritems():
99
99
        LAUNCHPAD_INSTANCE[instance] = 'https://xmlrpc.%s/bazaar/' % domain
100
100
 
101
 
    # Previously 'edge' was used to avoid a launchpad bug with redirection
 
101
    # We use production as the default because edge has been deprecated circa
 
102
    # 2010-11 (see bug https://bugs.launchpad.net/bzr/+bug/583667)
102
103
    DEFAULT_INSTANCE = 'production'
103
104
    DEFAULT_SERVICE_URL = LAUNCHPAD_INSTANCE[DEFAULT_INSTANCE]
104
105