From 0b7dbf0456838d1d41d5323e7cdd5e21886c01a1 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 27 Jun 2019 10:04:19 +0100 Subject: New upstream version 1.10.7 --- PKG-INFO | 14 ++++++++++---- setup.cfg | 1 - src/launchpadlib.egg-info/PKG-INFO | 14 ++++++++++---- src/launchpadlib/NEWS.txt | 4 ++++ src/launchpadlib/__init__.py | 2 +- src/launchpadlib/docs/command-line.txt | 2 +- src/launchpadlib/docs/introduction.txt | 4 ++-- src/launchpadlib/uris.py | 8 ++++---- 8 files changed, 32 insertions(+), 17 deletions(-) diff --git a/PKG-INFO b/PKG-INFO index bd6fa77..06e4e63 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,10 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: launchpadlib -Version: 1.10.6 +Version: 1.10.7 Summary: Script Launchpad through its web services interfaces. Officially supported. Home-page: https://help.launchpad.net/API/launchpadlib -Author: LAZR Developers -Author-email: lazr-developers@lists.launchpad.net +Author: The Launchpad developers +Author-email: launchpadlib@lists.launchpad.net +Maintainer: LAZR Developers +Maintainer-email: lazr-developers@lists.launchpad.net License: LGPL v3 Download-URL: https://launchpad.net/launchpadlib/+download Description: .. @@ -31,6 +33,10 @@ Description: .. NEWS for launchpadlib ===================== + 1.10.7 (2019-05-22) + =================== + - Change 'dev' URLs from launchpad.dev to launchpad.test. + 1.10.6 (2018-03-08) =================== - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962] diff --git a/setup.cfg b/setup.cfg index 861a9f5..8bfd5a1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff --git a/src/launchpadlib.egg-info/PKG-INFO b/src/launchpadlib.egg-info/PKG-INFO index bd6fa77..06e4e63 100644 --- a/src/launchpadlib.egg-info/PKG-INFO +++ b/src/launchpadlib.egg-info/PKG-INFO @@ -1,10 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: launchpadlib -Version: 1.10.6 +Version: 1.10.7 Summary: Script Launchpad through its web services interfaces. Officially supported. Home-page: https://help.launchpad.net/API/launchpadlib -Author: LAZR Developers -Author-email: lazr-developers@lists.launchpad.net +Author: The Launchpad developers +Author-email: launchpadlib@lists.launchpad.net +Maintainer: LAZR Developers +Maintainer-email: lazr-developers@lists.launchpad.net License: LGPL v3 Download-URL: https://launchpad.net/launchpadlib/+download Description: .. @@ -31,6 +33,10 @@ Description: .. NEWS for launchpadlib ===================== + 1.10.7 (2019-05-22) + =================== + - Change 'dev' URLs from launchpad.dev to launchpad.test. + 1.10.6 (2018-03-08) =================== - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962] diff --git a/src/launchpadlib/NEWS.txt b/src/launchpadlib/NEWS.txt index ad83634..6178ad3 100644 --- a/src/launchpadlib/NEWS.txt +++ b/src/launchpadlib/NEWS.txt @@ -2,6 +2,10 @@ NEWS for launchpadlib ===================== +1.10.7 (2019-05-22) +=================== +- Change 'dev' URLs from launchpad.dev to launchpad.test. + 1.10.6 (2018-03-08) =================== - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962] diff --git a/src/launchpadlib/__init__.py b/src/launchpadlib/__init__.py index 326daab..590e03f 100644 --- a/src/launchpadlib/__init__.py +++ b/src/launchpadlib/__init__.py @@ -14,4 +14,4 @@ # You should have received a copy of the GNU Lesser General Public License # along with launchpadlib. If not, see . -__version__ = '1.10.6' +__version__ = '1.10.7' diff --git a/src/launchpadlib/docs/command-line.txt b/src/launchpadlib/docs/command-line.txt index b661d0c..5725dc2 100644 --- a/src/launchpadlib/docs/command-line.txt +++ b/src/launchpadlib/docs/command-line.txt @@ -23,7 +23,7 @@ token and the available access levels. ... import simplejson as json >>> from launchpadlib.apps import RequestTokenApp - >>> web_root = "http://launchpad.dev:8085/" + >>> web_root = "http://launchpad.test:8085/" >>> consumer_name = "consumer" >>> token_app = RequestTokenApp(web_root, consumer_name, "context") >>> token_json = json.loads(token_app.run()) diff --git a/src/launchpadlib/docs/introduction.txt b/src/launchpadlib/docs/introduction.txt index 88ede40..722ebac 100644 --- a/src/launchpadlib/docs/introduction.txt +++ b/src/launchpadlib/docs/introduction.txt @@ -230,11 +230,11 @@ get a request token. >>> authorization_url = credentials.get_request_token( ... context='firefox', web_root='test_dev') >>> print(authorization_url) - http://launchpad.dev:8085/+authorize-token?oauth_token=...&lp.context=firefox + http://launchpad.test:8085/+authorize-token?oauth_token=...&lp.context=firefox We use 'test_dev' as a shorthand for the root URL of the Launchpad installation. It's defined in the 'uris' module as -'http://launchpad.dev:8085/', and the launchpadlib code knows how to +'http://launchpad.test:8085/', and the launchpadlib code knows how to dereference it before using it as a URL. Information about the request token is kept in the _request_token diff --git a/src/launchpadlib/uris.py b/src/launchpadlib/uris.py index a4f0c6a..2456a34 100644 --- a/src/launchpadlib/uris.py +++ b/src/launchpadlib/uris.py @@ -37,16 +37,16 @@ from lazr.uri import URI LPNET_SERVICE_ROOT = 'https://api.launchpad.net/' QASTAGING_SERVICE_ROOT = 'https://api.qastaging.launchpad.net/' STAGING_SERVICE_ROOT = 'https://api.staging.launchpad.net/' -DEV_SERVICE_ROOT = 'https://api.launchpad.dev/' +DEV_SERVICE_ROOT = 'https://api.launchpad.test/' DOGFOOD_SERVICE_ROOT = 'https://api.dogfood.paddev.net/' -TEST_DEV_SERVICE_ROOT = 'http://api.launchpad.dev:8085/' +TEST_DEV_SERVICE_ROOT = 'http://api.launchpad.test:8085/' LPNET_WEB_ROOT = 'https://launchpad.net/' QASTAGING_WEB_ROOT = 'https://qastaging.launchpad.net/' STAGING_WEB_ROOT = 'https://staging.launchpad.net/' -DEV_WEB_ROOT = 'https://launchpad.dev/' +DEV_WEB_ROOT = 'https://launchpad.test/' DOGFOOD_WEB_ROOT = 'https://dogfood.paddev.net/' -TEST_DEV_WEB_ROOT = 'http://launchpad.dev:8085/' +TEST_DEV_WEB_ROOT = 'http://launchpad.test:8085/' # If you use EDGE_SERVICE_ROOT, or its alias, or the equivalent # string, launchpadlib will issue a deprecation warning and use -- cgit v1.2.3