all architectures should be togglable for PPAs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
As discussed already, all architectures should be togglable for PPAs, not just the restricted arches. I think we want to keep the concept of "restricted" arches (and thus keep that column), so that we can decide which architectures to enable by default in a new PPA (which should only be x86 for now, we can revisit at another time).
So, as also came up, this will expose "dead arches" in the UI, unless we do an extra query on the +admin browser view to limit the visible arches to only the ones that can actually be built for active series'.
So, ideally, if I created a new PPA today, it would default to building for only i386 and amd64, but ops would have the option of turning on any of sparc, ia64, powerpc, armel, armhf, arm64, and ppc64el (once that's turned on). lpia, hppa, and ppc64 would be hidden, as no active series can actually build for those arches.
More importantly, ops would also have the option to turn OFF i386 and amd64 if I wanted, say, an armhf-only PPA or ppc64el-only, etc.
Related branches
- Colin Watson (community): Approve
-
Diff: 880 lines (+255/-150)16 files modifieddatabase/schema/security.cfg (+1/-0)
lib/lp/_schema_circular_imports.py (+0/-5)
lib/lp/soyuz/browser/tests/test_archive_webservice.py (+50/-3)
lib/lp/soyuz/configure.zcml (+1/-1)
lib/lp/soyuz/interfaces/archive.py (+27/-8)
lib/lp/soyuz/interfaces/archivearch.py (+0/-10)
lib/lp/soyuz/model/archive.py (+42/-14)
lib/lp/soyuz/model/archivearch.py (+0/-16)
lib/lp/soyuz/model/binarypackagebuild.py (+1/-3)
lib/lp/soyuz/scripts/populate_archive.py (+1/-11)
lib/lp/soyuz/stories/webservice/xx-archive.txt (+1/-0)
lib/lp/soyuz/tests/test_archive.py (+95/-8)
lib/lp/soyuz/tests/test_archivearch.py (+5/-45)
lib/lp/soyuz/tests/test_build_set.py (+21/-10)
lib/lp/soyuz/tests/test_packagecloner.py (+6/-13)
lib/lp/testing/factory.py (+4/-3)
- Colin Watson (community): Approve (db)
-
Diff: 383 lines (+186/-91)3 files modifieddatabase/sampledata/current-dev.sql (+81/-46)
database/sampledata/current.sql (+78/-45)
database/schema/patch-2209-64-1.sql (+27/-0)
- Colin Watson (community): Approve
-
Diff: 396 lines (+61/-79)7 files modifiedlib/lp/buildmaster/interfaces/processor.py (+0/-3)
lib/lp/buildmaster/model/processor.py (+0/-4)
lib/lp/registry/browser/distribution.py (+20/-25)
lib/lp/registry/browser/tests/distribution-views.txt (+1/-1)
lib/lp/registry/browser/tests/test_distribution_views.py (+26/-30)
lib/lp/registry/stories/distribution/xx-distribution-launchpad-usage.txt (+2/-3)
lib/lp/soyuz/browser/archive.py (+12/-13)
- Colin Watson (community): Approve
-
Diff: 756 lines (+91/-318)14 files modifieddatabase/sampledata/current-dev.sql (+1/-1)
database/sampledata/current.sql (+1/-1)
lib/lp/registry/browser/tests/test_distribution_views.py (+2/-8)
lib/lp/soyuz/browser/tests/test_archive_webservice.py (+1/-2)
lib/lp/soyuz/configure.zcml (+0/-15)
lib/lp/soyuz/interfaces/archivearch.py (+0/-62)
lib/lp/soyuz/model/archive.py (+29/-20)
lib/lp/soyuz/model/archivearch.py (+0/-56)
lib/lp/soyuz/model/packagecloner.py (+1/-7)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+17/-5)
lib/lp/soyuz/scripts/tests/test_ppa_apache_log_parser.py (+2/-0)
lib/lp/soyuz/tests/test_archive.py (+23/-85)
lib/lp/soyuz/tests/test_archivearch.py (+0/-51)
lib/lp/soyuz/tests/test_build_set.py (+14/-5)
Changed in launchpad: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: soyuz-core |
tags: | added: ppa |
Changed in launchpad: | |
assignee: | Steve Kowalik (stevenk) → nobody |
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
FWIW, I don't care if dead/unbuildable arches are still exposed via the API for this, as long as the web UI remains uncluttered and unconfusing.