Skip to content

Start tracking pool repositories

Nick Thomas requested to merge (removed):52300-pool-repositories into master

What does this MR do?

The git repository deduplication feature requires GitLab to keep track of a new type of repository, not bound to a single project: pool repositories. N projects should be able to belong to 1 pool.

This MR focuses on adding tables and columns to track these objects, not on the code to make use of them. It has one eye toward a future where all repositories are tracked in the database, so calls the table repositories in anticipation of a future where ::Repository is turned into an ActiveRecord model. So far, only the PoolRepository model makes use of the table, though.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #52300 (closed)

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/38238

Edited by Nick Thomas

Merge request reports