/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/launchpad/lp_api.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-22 23:16:21 UTC
  • mfrom: (7422 work)
  • mto: This revision was merged to the branch mainline in revision 7426.
  • Revision ID: jelmer@jelmer.uk-20191222231621-3p14u9zaypv3q8zl
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
MINIMUM_LAUNCHPADLIB_VERSION = (1, 6, 3)
70
70
 
71
71
 
72
 
# We use production as the default because edge has been deprecated circa
73
 
# 2010-11 (see bug https://bugs.launchpad.net/bzr/+bug/583667)
74
 
DEFAULT_INSTANCE = 'production'
75
 
 
76
 
LAUNCHPAD_DOMAINS = {
77
 
    'production': 'launchpad.net',
78
 
    'staging': 'staging.launchpad.net',
79
 
    'qastaging': 'qastaging.launchpad.net',
80
 
    'demo': 'demo.launchpad.net',
81
 
    'dev': 'launchpad.test',
82
 
    }
83
 
 
84
 
LAUNCHPAD_BAZAAR_DOMAINS = [
85
 
    'bazaar.%s' % domain
86
 
    for domain in LAUNCHPAD_DOMAINS.values()]
87
 
 
88
 
 
89
72
def get_cache_directory():
90
73
    """Return the directory to cache launchpadlib objects in."""
91
74
    return osutils.pathjoin(bedding.cache_dir(), 'launchpad')