~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2010-02-17 17:11:16 UTC
  • mfrom: (4797.2.17 2.1)
  • mto: (4797.2.18 2.1)
  • mto: This revision was merged to the branch mainline in revision 5055.
  • Revision ID: john@arbash-meinel.com-20100217171116-h7t9223ystbnx5h8
merge bzr.2.1 in preparation for NEWS entry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
class LaunchpadService(object):
82
82
    """A service to talk to Launchpad via XMLRPC.
83
83
 
84
 
    See http://wiki.bazaar.canonical.com/Specs/LaunchpadRpc for the methods we can call.
 
84
    See http://bazaar-vcs.org/Specs/LaunchpadRpc for the methods we can call.
85
85
    """
86
86
 
87
87
    LAUNCHPAD_DOMAINS = {
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
102
 
    DEFAULT_INSTANCE = 'production'
 
101
    # We use edge as the default because:
 
102
    # Beta users get redirected to it
 
103
    # All users can use it
 
104
    # There is a bug in the launchpad side where redirection causes an OOPS.
 
105
    DEFAULT_INSTANCE = 'edge'
103
106
    DEFAULT_SERVICE_URL = LAUNCHPAD_INSTANCE[DEFAULT_INSTANCE]
104
107
 
105
108
    transport = None