Need extra round-trip to create a private PPA via webservice

Bug #814567 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jonathan Lange

Bug Description

To create a private PPA via the webservice, you need to do something like this::

  ppa = person.createPPA(name=name)
  ppa.private = True
  ppa.lp_save()

This is an extra round-trip on top of creating a public PPA.

It also means that:
 1. for a short period of time, the created PPA is public
 2. if you don't have permission to create a private PPA, then you have created a public PPA

Probably createPPA should take a 'private' parameter.

Tags: api qa-ok

Related branches

Jonathan Lange (jml)
description: updated
Revision history for this message
Jonathan Lange (jml) wrote :

Exacerbated by bug 814633.

Deryck Hodge (deryck)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Jonathan Lange (jml)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Jonathan Lange (jml)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Steve Kowalik (stevenk) wrote :

Setting this to be qa-ok, so we can deploy. It won't work until lp:~jml/launchpad/create-private-ppa-814567-2 hits stable.

tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → Triaged
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: Triaged → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.