Copying published CI builds fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
Attempting to copy published CI builds between archives fails along the lines of the following:
2023-08-04 14:02:11 INFO Running <PlainPackageCo
2023-08-04 14:02:11 INFO Job:
<PlainPackageCo
raised CannotCopy:
markupsafe 2.1.1 in focal (source has no binaries to be copied)
The whole point of building the CI build publication mechanism on top of the existing publishing history tables was to allow things like copies to work with minimal effort; but we need to at least implement `SourcePackageP
Related branches
- Simone Pelosi: Approve
-
Diff: 395 lines (+254/-22)5 files modifieddatabase/schema/security.cfg (+2/-0)
lib/lp/soyuz/model/publishing.py (+33/-13)
lib/lp/soyuz/scripts/packagecopier.py (+3/-1)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+150/-2)
lib/lp/soyuz/tests/test_publishing.py (+66/-6)
In theory this should work now; I've tested most of it in a simple setup as well as in automated tests, but I might have missed a piece, so let us know if it misbehaves.