Merge lp:~wgrant/launchpad/bug-897999 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | 16003 |
Proposed branch: | lp:~wgrant/launchpad/bug-897999 |
Merge into: | lp:launchpad |
Diff against target: |
379 lines (+10/-206) 7 files modified
lib/lp/registry/browser/distribution.py (+0/-15) lib/lp/registry/browser/tests/test_distribution_views.py (+5/-56) lib/lp/soyuz/browser/archive.py (+1/-33) lib/lp/soyuz/browser/tests/test_archive_admin_view.py (+0/-47) lib/lp/soyuz/interfaces/archive.py (+0/-5) lib/lp/soyuz/model/archive.py (+4/-20) lib/lp/soyuz/tests/test_archive.py (+0/-30) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-897999 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Review via email: mp+125640@code.launchpad.net |
Commit message
Rip out the restriction that non-virtualized main archives have to build on all restricted processor families. It doesn't make much sense, is a fair bit of code, and the form integration is buggy.
Description of the change
Presently a main archive (primary or partner) that builds on non-virtual builders is implicitly allowed to use all restricted processor families, regardless of the configuration in the database. The widgets on Archive:+admin and Distribution:+edit attempt to enforce this, but end up being both too strict and too lenient, resulting in problems like bug #897999.
This branch removes the main archive special case. It applies to a total of two archives on production which can be easily configured manually, it's a fair bit of code, and the corresponding UI has always been fairly broken. All archives can now have restricted families enabled or disabled as desired.
Ubuntu's primary and partner archives will need tweaking on production before this is deployed; I suspect that simply clicking Save on their respective +admin forms will be sufficient.
Looks like excellent work to me.