Merge lp:~stevenk/launchpad/fixes-bug-451396 into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~stevenk/launchpad/fixes-bug-451396 |
Merge into: | lp:launchpad |
Diff against target: |
212 lines (+75/-40) 5 files modified
lib/lp/archiveuploader/tests/test_ppauploadprocessor.py (+3/-20) lib/lp/archiveuploader/tests/test_uploadprocessor.py (+50/-1) lib/lp/registry/model/distroseries.py (+9/-10) lib/lp/soyuz/model/publishing.py (+2/-2) lib/lp/soyuz/model/queue.py (+11/-7) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/fixes-bug-451396 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
William Grant | Pending | ||
Review via email: mp+21706@code.launchpad.net |
Commit message
Strips PGP signatures unilaterally, instead of just from PPA uploads, which means users can't download code from the ACCEPTED/REJECTED Ubuntu queue and throw it to the sponsors/uploaders PPA.
Description of the change
This branch strips PGP signatures unilaterally, instead of just from PPA uploads, which means users can't download code from the ACCEPTED/REJECTED Ubuntu queue and throw it to the sponsors/uploaders PPA.
To post a comment you must log in.
Hi Steve,
out of curiosity, I reverted the change in lib/lp/ soyuz/model/ queue.py and then ran "./bin/test -vvt test_uploadproc essor". The result: All tests passed. So, either your test is wrong, or the signature is already stripped elsewhere...
And a few nitpicks:
I think you don't need the super(ThisClass, self).method(...) pattern here. A simple self.method(...) should work fine.
You should include TestUploadProce ssorBase in the __all__ list of lib/lp/ archiveuploader /tests/ test_uploadproc essor.py , because you import this class lib/lp/ archiveuploader /tests/ test_ppauploadp rocessor. py.
Please remove the trailing blank in this line:
+ # Leaving the PGP signature on a package uploaded