Merge lp:~cjwatson/launchpad/fix-check-copy-permissions into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | William Grant on 2012-06-30 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15530 | ||||
| Proposed branch: | lp:~cjwatson/launchpad/fix-check-copy-permissions | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
219 lines (+84/-43) 6 files modified
lib/lp/archiveuploader/nascentupload.py (+1/-1) lib/lp/soyuz/interfaces/queue.py (+1/-1) lib/lp/soyuz/model/queue.py (+5/-6) lib/lp/soyuz/scripts/packagecopier.py (+33/-25) lib/lp/soyuz/tests/test_archive.py (+33/-0) lib/lp/soyuz/tests/test_packagecopyjob.py (+11/-10) |
||||
| To merge this branch: | bzr merge lp:~cjwatson/launchpad/fix-check-copy-permissions | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| William Grant | code | 2012-06-29 | Approve on 2012-06-30 |
|
Review via email:
|
|||
Commit Message
Always check copy permissions based on the component in the target archive, not the source archive.
Description of the Change
== Summary ==
William Grant pointed out that my change in https:/
== Proposed fix ==
Check the target component instead. This requires using archive.
== LOC Rationale ==
+32. Same rationale as https:/
== Tests ==
bin/test -vvct test_archive.
== Demo and Q/A ==
As https:/
== Lint ==
''Paste output from `make lint` here - if there's lint related to your code, fix it so that you don't have to paste it here!''

Thanks.