We currently have a repo with around 40,000 commits and it's starting to have issues with gitlab, specifically with failing the weekly health check. It's a pretty old repo that's been running for years.
Since starting a new project would result in a new project ID causing issues with our issue tracker, would it be possible / a reasonable idea to do something like the following:
- Create a new project, push the current repo into that project (just as a backup)
- Create a temp branch based on master
- Delete master, create new master branch
- merge --squash the temp branch back into the master branch
No one works directly on master and it's only used for deployment. When a MR is accepted, it gets squash merged into master, some files are updated, and a new tag is stamped with the next version id. All running processes use the tag as a checkout point instead of just the master branch.
In the end, would this do anything to help, or just mess things up?