Merge ~lofidevops/ols-jenkaas:sn1780-mergebot-dependent-branches into ols-jenkaas:main
Proposed by
David
Status: | Work in progress |
---|---|
Proposed branch: | ~lofidevops/ols-jenkaas:sn1780-mergebot-dependent-branches |
Merge into: | ols-jenkaas:main |
Diff against target: |
78 lines (+50/-2) 2 files modified
olsjenkaas/commands.py (+9/-2) olsjenkaas/launchpad.py (+41/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maximiliano Bertacchini | Approve | ||
Emma Brostrom (community) | Needs Information | ||
Review via email: mp+463204@code.launchpad.net |
Commit message
Add check for merged dependencies before landing a proposal. Fixes SN-1780.
Description of the change
All dependencies of a given proposal must be merged. If not, do not merge.
This will prevent developers accidentally merging proposals with pending dependencies.
To post a comment you must log in.
Unmerged commits
- aaa94e1... by David
- 4a4822c... by David
- 4986524... by David
- 145457a... by David
- 8157455... by David
Thanks for this David, looks great! I wanted to mention one thing - this approach is only inclusive of git repositories, and some of ours are bzr. I think you'll want to add some logic that takes into account bzr proposals. Here is an example of what that logic could look like: https:/ /git.launchpad. net/tarmac/ tree/tarmac/ bin/commands. py#n357. I haven't thought too much about the implementation, but it could look like using the LandBzrProposal and LandGitProposal subclasses of LandApprovedPro posals.