Skip to content

Introduce MergeTrains::Train which takes a project and branch

Allison Browne requested to merge 298541-4 into master

What does this MR do and why?

A merge train is a queue of MRs waiting to merged for a given target project and target branch.

Currently the MergeTrain::Car class methods handle operations that have to do with many cars. Class methods on car often take a target project and target branch to deal with the entire train.

The MergeTrain::Train class is introduced here to make it explicit that a train is a collection of cars(with each car having an associated mr) for a given project and branch.

Issue: #298541 (closed)

Edited by Allison Browne

Merge request reports