Allow creation of PPAs via API

Bug #440652 reported by Cody A.W. Somerville on 2009-10-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Steve Kowalik

Bug Description

Please allow the creation of PPAs via API.

Related branches

Julian Edwards (julian-edwards) wrote :

It would be useful to have bug 392887 fixed before implementing this.

Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
Changed in soyuz:
importance: Low → High
tags: added: api ppa
tags: added: bad-commit-11820
tags: added: qa-bad
Changed in soyuz:
assignee: nobody → Steve Kowalik (stevenk)
milestone: none → 10.11
tags: added: qa-needstesting
removed: qa-bad
Changed in soyuz:
status: Triaged → Fix Committed
Steve Kowalik (stevenk) wrote :

Marking as qa-ok, so it can be deployed. The browser code to add a PPA works, but the API call is not currently working.

tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk) wrote :

This actually works as expected, the script I was using to QA was to blame. With the following script:


from launchpadlib.launchpad import Launchpad
from lazr.restfulclient.errors import HTTPError

launchpad = Launchpad.login_with('qa-mawson', 'qastaging')
me = launchpad.people.getByEmail(<email address hidden>')
except HTTPError:
    print "Creating 'ppa' failed as expected."
ppa = me.createPPA(name='test2', displayname='Test 2')
print ppa

I get the following output:

steven@liquified:~$ ./qa-ppa
Creating 'ppa' failed as expected.

Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Steve Kowalik (stevenk) on 2010-11-04
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui) on 2010-11-17
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers