Expose a webservice method to retrieve copy archives
Bug #558905 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
In my copy archive FTBFS reporting scripts I must currently construct a URL to the copy archive. IDistribution should provide a method to retrieve copy archives by name, and this should be exposed on the webservice.
Related branches
lp:~wgrant/launchpad/bug-558905-get-archive
- Eleanor Berger (community): Approve (code)
-
Diff: 149 lines (+45/-18)7 files modifiedlib/canonical/launchpad/interfaces/_schema_circular_imports.py (+2/-0)
lib/lp/registry/browser/distribution.py (+1/-2)
lib/lp/registry/doc/distribution.txt (+17/-0)
lib/lp/registry/interfaces/distribution.py (+12/-0)
lib/lp/registry/model/distribution.py (+5/-0)
lib/lp/registry/stories/webservice/xx-distribution.txt (+8/-0)
lib/lp/soyuz/browser/archive.py (+0/-16)
Changed in soyuz: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in soyuz: | |
status: | Confirmed → Triaged |
tags: | added: api |
tags: | added: trivial |
Changed in soyuz: | |
status: | Triaged → In Progress |
assignee: | nobody → William Grant (wgrant) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The easiest thing to do seems to be to move lp.soyuz. browser. archive. traverse_ distribution_ to_archive to Distribution. getArchive and export that. Any objections?