The PPA admin form should not allow privatisation to be changed on PPAs with packages
Bug #506203 reported by
Steve McInerney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Nelson |
Bug Description
The PPA admin form doesn't stop admins from privatising an existing PPA that has published packages. This is bad because it splits the repository in two, and the librarian files between the restricted and the unrestricted librarian. The private field should be disabled if the PPA has packages.
Related branches
lp:~michael.nelson/launchpad/506203-ppa-privatisation-check
Merged
into
lp:launchpad
- Graham Binns (community): Approve (code)
-
Diff: 287 lines (+179/-10)5 files modifiedlib/lp/soyuz/browser/archive.py (+8/-0)
lib/lp/soyuz/browser/tests/test_archive_admin_view.py (+95/-0)
lib/lp/soyuz/interfaces/archive.py (+10/-1)
lib/lp/soyuz/model/archive.py (+17/-7)
lib/lp/soyuz/tests/test_archive.py (+49/-2)
Changed in soyuz: | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The real bug here is that we let PPAs that already have packages to be privatised. This is totally unsupported because it causes all of this breakage, and lots more that you can't immediately see like splitting PPA files across different librarians.
I'll update the bug description to reflect this.