Merge lp:~cjwatson/launchpad/queue-api-overrides into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | j.c.sackett | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 15575 | ||||
Proposed branch: | lp:~cjwatson/launchpad/queue-api-overrides | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
518 lines (+241/-20) 5 files modified
lib/lp/soyuz/browser/queue.py (+5/-2) lib/lp/soyuz/doc/distroseriesqueue.txt (+5/-5) lib/lp/soyuz/interfaces/queue.py (+37/-2) lib/lp/soyuz/model/queue.py (+43/-7) lib/lp/soyuz/tests/test_packageupload.py (+151/-4) |
||||
To merge this branch: | bzr merge lp:~cjwatson/launchpad/queue-api-overrides | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email: mp+113437@code.launchpad.net |
Commit message
Export PackageUpload.
Description of the change
== Summary ==
Replace the queue tool in Launchpad with an API client (part five).
== Proposed fix ==
This branch exports the override methods on PackageUpload. With this in addition to what's already landed, the client should be feature-complete, and the remaining work should consist of cleanups.
== Pre-implementation notes ==
I've gone round a few times with various people, particularly William Grant, on the exact way to export all of this stuff, because I gather that we want to avoid exposing the current data model in order that it can be rearranged in the future. This has led to the following design choices:
* Everything is on devel. The only clients for this should be tools such as those in lp:ubuntu-archive-tools, which can be kept up to date if there's a need to change these interfaces.
* 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. In a previous branch (currently QAed and awaiting deployment) I amended Archive.
I extracted this branch from https:/
== Implementation details ==
The only thing I think is notable here is that I copied the new-component-
== LOC Rationale ==
+218. As with https:/
== Tests ==
bin/test -vvct test_packageupload
== Demo and Q/A ==
http://
This looks good, thanks for breaking it out into smaller branches.