Add finder class for fetching commits with a certain Git trailer set
What does this MR do?
This adds the finder CommitsWithTrailerFinder, which can be used to fetch commits in a range
and with a certain Git trailer set.
This class will be used to obtain the commits to present in a changelog, which is worked on in gitlab-com/gl-infra/delivery#1369 (closed).
See gitlab-com/gl-infra/delivery#1365 (closed) for more information.
TODO
-
Update GITALY_SERVER_VERSIONto the right SHA -
Ensure a new version of the gitalyGem is released -
Bump the gitalyGem version inGemfile.lockto this new version -
Yield pages of commits, instead of returning all commits. This allows for batch processing, instead of the changelog generator having to load all commits into memory
Does this MR meet the acceptance criteria?
Conformity
Edited by Yorick Peterse