Merge lp:~jml/pkgme-devportal/binary-to-devportal into lp:pkgme-devportal

Proposed by Jonathan Lange
Status: Merged
Approved by: James Westby
Approved revision: 47
Merged at revision: 47
Proposed branch: lp:~jml/pkgme-devportal/binary-to-devportal
Merge into: lp:pkgme-devportal
Diff against target: 59 lines (+10/-4)
3 files modified
LICENSE (+1/-1)
devportalbinary/database.py (+6/-0)
setup.py (+3/-3)
To merge this branch: bzr merge lp:~jml/pkgme-devportal/binary-to-devportal
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+103680@code.launchpad.net

Commit message

Rename pkgme-binary to pkgme-devportal

Description of the change

Renames pkgme-binary to pkgme-devportal. Doesn't update LP API app name or config file location. They can be managed in separate deploys.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'LICENSE'
--- LICENSE 2011-08-23 17:21:54 +0000
+++ LICENSE 2012-04-26 12:19:33 +0000
@@ -1,6 +1,6 @@
1Launchpad is Copyright 2011 Canonical Ltd.1Launchpad is Copyright 2011 Canonical Ltd.
22
3Canonical Ltd ("Canonical") distributes the pkgme-binary source code3Canonical Ltd ("Canonical") distributes the pkgme-devportal source code
4under the GNU Affero General Public License, version 3 ("AGPLv3").4under the GNU Affero General Public License, version 3 ("AGPLv3").
5The full text of this licence is given below.5The full text of this licence is given below.
66
77
=== modified file 'devportalbinary/database.py'
--- devportalbinary/database.py 2012-04-02 17:30:14 +0000
+++ devportalbinary/database.py 2012-04-26 12:19:33 +0000
@@ -40,6 +40,8 @@
40from .utils import download_file40from .utils import download_file
4141
4242
43# XXX: Historic name of this package. Update to 'pkgme-devportal' and
44# re-authorize.
43APPLICATION_NAME = 'pkgme-binary'45APPLICATION_NAME = 'pkgme-binary'
44SERVICE_ROOT = uris.LPNET_SERVICE_ROOT46SERVICE_ROOT = uris.LPNET_SERVICE_ROOT
4547
@@ -307,6 +309,10 @@
307 SQLITE = 'sqlite'309 SQLITE = 'sqlite'
308 POSTGRES = 'postgres'310 POSTGRES = 'postgres'
309311
312 # XXX: 'pkgme-binary' is the historic name of this package. Change this
313 # to look first in ~/.config/pkgme-devportal/conf and then fall back to
314 # this one. Once production systems are updated to the new config, remove
315 # the fallback.
310 CONF_FILE = '~/.config/pkgme-binary/conf'316 CONF_FILE = '~/.config/pkgme-binary/conf'
311317
312 def __init__(self, store):318 def __init__(self, store):
313319
=== modified file 'setup.py'
--- setup.py 2012-03-22 11:51:44 +0000
+++ setup.py 2012-04-26 12:19:33 +0000
@@ -14,7 +14,7 @@
14__version__ = get_version('devportalbinary/__init__.py')14__version__ = get_version('devportalbinary/__init__.py')
1515
16setup(16setup(
17 name='pkgme-binary',17 name='pkgme-devportal',
18 version=__version__,18 version=__version__,
19 packages=find_packages(),19 packages=find_packages(),
20 include_package_data=True,20 include_package_data=True,
@@ -22,8 +22,8 @@
22 maintainer_email='pkgme-devs@lists.launchpad.net',22 maintainer_email='pkgme-devs@lists.launchpad.net',
23 description=description('README'),23 description=description('README'),
24 license='AGPLv3',24 license='AGPLv3',
25 url='http://launchpad.net/pkgme-binary',25 url='http://launchpad.net/pkgme-devportal',
26 download_url='https://launchpad.net/pkgme-binary/+download',26 download_url='https://launchpad.net/pkgme-devportal/+download',
27 test_suite='devportalbinary.tests',27 test_suite='devportalbinary.tests',
28 install_requires = [28 install_requires = [
29 'bzr',29 'bzr',

Subscribers

People subscribed via source and target branches