Merge ~cjwatson/launchpad:distribution-edit-restricted-processors into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 1a20416ad6350ba8d4003d22304b991e4538b0ed |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:distribution-edit-restricted-processors |
Merge into: | launchpad:master |
Diff against target: |
236 lines (+104/-21) 5 files modified
lib/lp/oci/browser/tests/test_ocirecipe.py (+9/-7) lib/lp/registry/browser/distribution.py (+8/-0) lib/lp/registry/browser/tests/test_distribution_views.py (+72/-1) lib/lp/snappy/browser/tests/test_snap.py (+8/-7) lib/lp/soyuz/browser/tests/test_archive.py (+7/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+423186@code.launchpad.net |
Commit message
Fix Distribution:+edit crash with enabled restricted processors
Description of the change
The main archive of a distribution may have an enabled processor which is restricted, such that the owners of that distribution aren't necessarily authorized to enable or disable it; riscv64 is one such for Ubuntu at the moment. This shouldn't prevent distribution owners from making other changes in the distribution's +edit view.
PPAs already had a similar validation tweak.
To post a comment you must log in.
I assume you have thought through all the alternatives.
LGishTM :-)