Merge lp:~cjwatson/launchpad/bpph-source into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 17420 |
| Proposed branch: | lp:~cjwatson/launchpad/bpph-source |
| Merge into: | lp:launchpad |
| Diff against target: |
196 lines (+57/-11) 7 files modified
lib/lp/_schema_circular_imports.py (+3/-1) lib/lp/soyuz/interfaces/binarypackagebuild.py (+17/-1) lib/lp/soyuz/interfaces/publishing.py (+8/-1) lib/lp/soyuz/model/binarypackagebuild.py (+4/-4) lib/lp/soyuz/model/publishing.py (+5/-1) lib/lp/soyuz/model/queue.py (+2/-2) lib/lp/soyuz/tests/test_binarypackagebuild.py (+18/-1) |
| To merge this branch: | bzr merge lp:~cjwatson/launchpad/bpph-source |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| William Grant | code | 2015-04-02 | Approve on 2015-04-08 |
|
Review via email:
|
|||
Commit Message
Add and export BinaryPackagePu
Description of the Change
Add and export BinaryPackagePu
| William Grant (wgrant) wrote : | # |
On second thought, BinaryPackageBu
| Colin Watson (cjwatson) wrote : | # |
How does this look now? ddeb-retriever only needs the source package name, it's true, but pull-lp-source wants the source version and component too, so I'd rather kill two birds with one stone and export a way to get to the SPPH.

It may be acceptable to make this BinaryPackageBu ild.getPublishe dSource, but it's certainly not BinaryPackagePu blishingHistory .getPublishedSo urce -- it can return a publication in a totally different archive.
If you just want the source name, I'd expose BinaryPackageBu ild.source_ package_ name instead.