Backport `Repository#keep_around` changes from EE to CE
What does this MR do?
Backport Repository#keep_around
changes from EE to CE.
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ee/issues/7245
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessaryI believe this is not needed Documentation created/updated-
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides Conforms to the database guides
Edited by Michael Kozono