Merge lp:~thumper/launchpad/merge-directive-handling-no-request-mirror into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11242 |
Proposed branch: | lp:~thumper/launchpad/merge-directive-handling-no-request-mirror |
Merge into: | lp:launchpad |
Prerequisite: | lp:~thumper/launchpad/bzr-format-matching-refactoring |
Diff against target: |
112 lines (+14/-9) 4 files modified
database/schema/security.cfg (+1/-1) lib/lp/code/mail/codehandler.py (+6/-1) lib/lp/code/mail/tests/test_codehandler.py (+4/-5) lib/lp/testing/factory.py (+3/-2) |
To merge this branch: | bzr merge lp:~thumper/launchpad/merge-directive-handling-no-request-mirror |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+31019@code.launchpad.net |
Commit message
Fix merge directive processing to not call requestMirror.
Description of the change
There are a few related changes here.
I filed a bug about how we shouldn't create empty branches from a merge directive if the branch is unstackable, and linked that in a couple of places in the code with an XXX comment.
The processing of the merge directive now uses branchChanged rather than requestMirror.
- this change also needs the addition of BranchJob insert permissions for the creation of scan jobs.
The factory was told to be quiet around makeMergeDirective as it doesn't need to be proxied.
To post a comment you must log in.
All looks fine to me. Sorry for not catching this in the no-hosted-area branch!