Merge lp:~cjwatson/launchpad/queue-api-refactor-overrides into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Colin Watson | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 15545 | ||||
Proposed branch: | lp:~cjwatson/launchpad/queue-api-refactor-overrides | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
330 lines (+135/-48) 6 files modified
lib/lp/archiveuploader/tests/nascentupload-ddebs.txt (+2/-1) lib/lp/soyuz/browser/queue.py (+7/-3) lib/lp/soyuz/doc/distroseriesqueue.txt (+8/-12) lib/lp/soyuz/interfaces/archive.py (+13/-1) lib/lp/soyuz/interfaces/queue.py (+10/-13) lib/lp/soyuz/model/queue.py (+95/-18) |
||||
To merge this branch: | bzr merge lp:~cjwatson/launchpad/queue-api-refactor-overrides | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benji York (community) | code | Approve | |
Review via email: mp+113074@code.launchpad.net |
Commit message
Refactor PackageUpload.
Description of the change
== Summary ==
The PackageUpload.
The PackageUpload.
== Proposed fix ==
There are source packages with lots of binaries that sometimes need to be overridden individually (e.g. linux) and API requests aren't especially fast. I've therefore amended Archive.
== Pre-implementation notes ==
Override design based on conversations with William Grant.
This is split out of a larger branch, https:/
== LOC Rationale ==
+86. As noted in https:/
== Tests ==
bin/test -vvct nascentupload-
Test coverage should be sufficient to avoid regressions, but will nevertheless be improved by a follow-up branch to export things on the webservice.
This looks good. I like the way the data for the changes is
packaged/unpacked.
The only thing I spotted were some extra parens:
raise QueueInconsiste ntStateError(
binarypack age.component. name))
"No rights to override from %s" % (
Since the % expression is already in parenthesis, those around component. name" are unnecessary.
"binarypackage.