Rename MR association merge_train to merge_train_car
What does this MR do and why?
Currently, a MergeTrain
represents a single MR in our code but in our product documentation a merge train is a list of MRs.
We want to make MergeTrain
be MergeTrain::Car
and have a model MergeTrain
which represents the many MRs or cars for a projects branch. This will make the code easier to understand and lower the bar for entry for new contributors.
In this MR we only accomplish some of that:
- rename the association on
merge_request
frommerge_train
tomerge_train_car
!115897 (merged) - rename the factory from
merge_train
tomerge_train_car
!115897 (merged)
In another MR:
- Renames
MergeTrain
toMergeTrains::Car
!115891 (merged)
For now I exclude:
- renaming any methods
- renaming
project.merge_train association
- Moving the class methods on MergeTrain::Car to a MergeTrain Model
- Renaming
EE::API::Entities::MergeTrain
See the issue for context: #298541 (closed)
Edited by Allison Browne