Merge ~cjwatson/launchpad:built-using-guard-copying into launchpad:master

Proposed by Colin Watson
Status: Needs review
Proposed branch: ~cjwatson/launchpad:built-using-guard-copying
Merge into: launchpad:master
Prerequisite: ~cjwatson/launchpad:built-using-guard-deletion
Diff against target: 311 lines (+226/-3)
5 files modified
lib/lp/soyuz/interfaces/binarysourcereference.py (+17/-0)
lib/lp/soyuz/model/binarysourcereference.py (+29/-1)
lib/lp/soyuz/scripts/packagecopier.py (+26/-2)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+95/-0)
lib/lp/soyuz/tests/test_binarysourcereference.py (+59/-0)
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
Review via email: mp+382792@code.qastaging.launchpad.net

Commit message

Guard copies of binaries with Built-Using references

Description of the change

If binaries have Built-Using references, then we need to make sure that we can resolve those references and keep the corresponding sources published while the binaries are published. Prevent copies of binaries if any such references can't be resolved in the target publishing context.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) wrote :

Looks good.

review: Approve

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: