Merge lp://qastaging/~dpb/tarmac/better-prereq-branches into lp://qastaging/tarmac
Proposed by
David Britton
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | dobey | ||||||||
Approved revision: | 428 | ||||||||
Merged at revision: | 426 | ||||||||
Proposed branch: | lp://qastaging/~dpb/tarmac/better-prereq-branches | ||||||||
Merge into: | lp://qastaging/tarmac | ||||||||
Diff against target: |
347 lines (+162/-23) 5 files modified
.bzrignore (+1/-0) docs/introduction.txt (+15/-1) tarmac/bin/commands.py (+43/-13) tarmac/tests/__init__.py (+1/-0) tarmac/tests/test_commands.py (+102/-9) |
||||||||
To merge this branch: | bzr merge lp://qastaging/~dpb/tarmac/better-prereq-branches | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey | Approve | ||
Review via email:
|
Commit message
Better prerequisite handling.
Description of the change
Tarmac understands the launchpad concept of prerequisite branches. The
following conditions are supported when evaluating a candidate merge
proposal (MP).
* Multiple prerequisite non-superseded MPs => error
* Prerequiste branch but no associated MP => error
* Exactly one prerequisite non-superseded unmerged MP => skip
* Exactly one prerequisite non-superseded *Merged* MP => proceed
Additionally, the tarmac queue is processed taking into account prerequisite
branches. That is, dependent branches are processed *after* their prerequisites.
To post a comment you must log in.
32 + * Multiple prerequisite non-superseded MPs => error
How does one declare multiple prerequisite branches in Launchpad?
161 +++ tarmac/ tests/test_ commands. py 2013-12-05 22:45:14 +0000
Many of the changes in here seem unrelated to the prerequisite work, and seems to be just you changing some of the names for the third branch in several of the tests. How are these related?
The bug you filed is a duplicate of https:/ /bugs.launchpad .net/tarmac/ +bug/900731 and I've marked it as such already. Changing the --fixes here too would be great, if possible.
Also, you need to commit using an e-mail address that is associated with your Launchpad account. Your shortened canonical.com address does not appear to be associated to your account, and so Launchpad cannot link to your account, nor will tarmac be able to find you via the Launchpad API from the e-mail address in the commit.