Merge lp:~jelmer/launchpad/135610-duplicated-ancestry into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Paul Hummer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11746 |
Proposed branch: | lp:~jelmer/launchpad/135610-duplicated-ancestry |
Merge into: | lp:launchpad |
Diff against target: |
347 lines (+129/-122) 4 files modified
lib/lp/archiveuploader/nascentuploadfile.py (+12/-33) lib/lp/archiveuploader/tests/nascentupload-epoch-handling.txt (+8/-3) lib/lp/archiveuploader/tests/nascentupload.txt (+11/-85) lib/lp/archiveuploader/tests/test_nascentuploadfile.py (+98/-1) |
To merge this branch: | bzr merge lp:~jelmer/launchpad/135610-duplicated-ancestry |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Launchpad code reviewers | code | Pending | |
Review via email: mp+38444@code.launchpad.net |
Commit message
Allow extra PENDING source package publishing history entries in NascentUploadFi
Description of the change
This patch fixes findSourcePacka
Previously we only supported a single spph for a particular package/version - if there were more we would raise an AssertionError. We now only raise an AssertionError if there is more than one PUBLISHED spph record. Multiple PENDING records are fine.
This branch also cleans up some tech debt by removing a code path in findSourcePacka