Support central filtering of which packages build for some architectures

Bug #1842658 reported by Colin Watson on 2019-09-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson

Bug Description

In the short term, the plan for Ubuntu's i386 support involves the ability to centrally restrict which packages are built for that architecture, without having to edit lots of Architecture fields in source packages. It isn't yet clear whether we'll need to cross-build from amd64 or whether we'll instead need to support a larger set of packages so that the architecture remains self-hosting for builds, but either way we need to add another way to filter which builds are created.

This will be somewhat similar to the old Packages-arch-specific file, but this time it should be a proper database table. The simplest approach seems to be to have an optional link between DistroArchSeries and Packageset.

Related branches

Colin Watson (cjwatson) on 2019-09-04
Changed in launchpad:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) wrote :

For the code change, r19048 is purely internal for now and is harmless.

For the DB change:

  2019-09-10 14:58:31,409 INFO 2210-07-0 applied just now in 0.2 seconds

tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Launchpad QA Bot (lpqabot) wrote :
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) wrote :

There's no way to create filters yet, but I've at least checked that the appropriate builds are still created when no filters exist, so this is safe to deploy.

tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) wrote :

Looks OK. I created a simple exclude filter for /ubuntu/disco/i386 on dogfood and the appropriate set of PPA builds are (or are not) created.

tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2019-09-30
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers