From 133f91bbf99d280722238f26d49e2fb3d63ce681 Mon Sep 17 00:00:00 2001 From: Michael Bienia Date: Fri, 3 Dec 2010 13:54:28 +0100 Subject: [PATCH] lp-shell, import-bug-from-debian: Use the 'production' LP instance instead of 'edge' (which is going away). --- debian/changelog | 7 +++++++ doc/lp-shell.1 | 4 ++-- import-bug-from-debian | 2 +- lp-shell | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index dd3ab78..e416924 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ubuntu-dev-tools (0.108) UNRELEASED; urgency=low + + * lp-shell, import-bug-from-debian: + Use the 'production' LP instance instead of 'edge' (which is going away). + + -- Michael Bienia Fri, 03 Dec 2010 13:44:53 +0100 + ubuntu-dev-tools (0.107) experimental; urgency=low [ Stefano Rivera ] diff --git a/doc/lp-shell.1 b/doc/lp-shell.1 index 5ae2e7e..5aefea0 100644 --- a/doc/lp-shell.1 +++ b/doc/lp-shell.1 @@ -17,13 +17,13 @@ It authenticates against Launchpad with the consumer name "udt-lp-shell". When using \fBlp\-shell\fR with the \fB\-a\fR option it will use the anonymous login from launchpadlib.Launchpad. -By default \fBlp\-shell\fR connects to the "\fIedge\fR" Launchpad service +By default \fBlp\-shell\fR connects to the "\fIproduction\fR" Launchpad service using the "\fI1.0\fR" LP API version. If you want to connect to another Launchpad service, call \fBlp\-shell\fR with the service name as the second argument. \fBlp\-shell\fR supports all services known by launchpadlib Python module. -Currently known are (list can be incomplete or outdated): "production", "edge", +Currently known are (list can be incomplete or outdated): "production", "staging", "dogfood". A different LP API version can be selected by passing the API version to use as diff --git a/import-bug-from-debian b/import-bug-from-debian index 76118c5..e147088 100755 --- a/import-bug-from-debian +++ b/import-bug-from-debian @@ -50,7 +50,7 @@ parser.add_option("-b", "--browserless", if options.dry_run: lp_server = 'staging' else: - lp_server = 'edge' + lp_server = 'production' try: lp = get_launchpad("ubuntu-dev-tools", lp_server) diff --git a/lp-shell b/lp-shell index 4025598..90854ea 100755 --- a/lp-shell +++ b/lp-shell @@ -23,7 +23,7 @@ from optparse import OptionParser from launchpadlib.launchpad import Launchpad from launchpadlib.uris import lookup_service_root -instance = 'edge' +instance = 'production' valid_api_versions = ('beta', '1.0', 'devel') api_version = '1.0' @@ -40,7 +40,7 @@ if len(args) >= 1: instance = lookup_service_root(args[0]) except ValueError, err: print 'E: %s' % (err) - print 'I: Falling back to "edge".' + print 'I: Falling back to "production".' if len(args) >= 2: if args[1] in valid_api_versions: