/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: Breezy landing bot
  • Author(s): Vincent Ladeuil
  • Date: 2019-11-19 20:32:00 UTC
  • mfrom: (7413.1.2 trunk)
  • Revision ID: breezy.the.bot@gmail.com-20191119203200-fy55qqighr2xkr8r
Merge lp:brz/3.0 after 3.0.2 release.

Merged from https://code.launchpad.net/~vila/brz/trunk/+merge/375724

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')