Merge lp:~julian-edwards/launchpad/copy-archive-arch-all-bug-600621 into lp:launchpad
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11090 |
Proposed branch: | lp:~julian-edwards/launchpad/copy-archive-arch-all-bug-600621 |
Merge into: | lp:launchpad |
Diff against target: |
91 lines (+45/-2) 2 files modified
lib/lp/soyuz/scripts/populate_archive.py (+12/-0) lib/lp/soyuz/scripts/tests/test_populatearchive.py (+33/-2) |
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/copy-archive-arch-all-bug-600621 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | code | Approve | |
Review via email:
|
Description of the change
When we create copy archives for rebuild testing, sometimes only a small
subset of architectures is required to be rebuilt.
In the case where those architectures don't include the "nominatedarchi
architecture, then "arch-all" packages cannot be built and currently populate-
archive blows up when trying to do so since there's catch-all assertion in the
core build creation code.
This branch skips the creation of build records for those packages in this
situation when the populate-archive script runs.
To post a comment you must log in.
<rockstar> bigjools, why do you "create copy archives for rebuild testing"? That's not a PPA thing, right?
<bigjools> rockstar: no, it's more like a main archive presented like a PPA. It allows us to copy source from somewhere else and rebuild it
<rockstar> bigjools, presented like a PPA? What's the use case there?
<bigjools> UI code re-use :)
<rockstar> (Patch looks fine, just trying to squeeze a few user stories out)
<bigjools> we didn't want it looking like the normal distro pages
<bigjools> the main use case is to find failed builds
<rockstar> Why shouldn't it look the same?
<rockstar> Er, why shouldn't it look like the normal distro pages?
<bigjools> they're overkill for this type of archive, mainly
<rockstar> bigjools, so I guess the thing I'm not understanding is what type of archive this is.
<rockstar> Is it a distro archive or a PPA or something else I don't know about.
<james_w> it's a third type
<rockstar> james_w, which is?
<rockstar> Is it like a throwaway archive just for rebuilding copies of existing packages?
<james_w> rockstar: pretty much
<rockstar> james_w, ah, okay. That parses better now.