PPA admins can no longer set Archive.private

Bug #1531168 reported by Shawn Wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Colin Watson

Bug Description

We use launchpadlib to create oem project ppa in ~oem-archive.
launchpad account: lexbuilder.

It worked before.
I'm not sure is it related about the update of lp. http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/revision/17858

It seems it change some of ppa permission.

Error messages https://pastebin.canonical.com/146910/

code piece:

ppa = team.createPPA(
    name=project,
    displayname=project,
    description="Project PPA for {}".format(project),
    private=True)
ppa.require_virtualized = False
ppa.authorized_size = 1000*1000
...
ppa.lp_save()

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

Yes, that revision regressed the ability of launchpad-ppa-self-admins members to change the private flag. That ability is a bit weird, and I didn't realise anyone was relying on it, but it sounds as though we'd better put it back for the time being.

Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: New → In Progress
importance: Undecided → Critical
tags: added: lp-soyuz regression
summary: - Can't change private ppa parameter by launachpadlib
+ PPA admins can no longer set Archive.private
summary: - PPA admins can no longer set Archive.private
+ PPA admins can no longer set Archive.private and Archive.authorized_size
summary: - PPA admins can no longer set Archive.private and Archive.authorized_size
+ PPA admins can no longer set Archive.private
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson)
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.