Import project by URL where source repository maximum repository limit using LFS files should fail
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
Problem to solve
It is currently possible to import repositories greater than the maximum repository limit using the Import project by URL
option where the repository has LFS files causing the overage.
After import the repo is immediatley in a read only state and users are unable to follow the Reduce repository size instructions as pushes are rejected.
The user can not remedy the issue other than deleting the project.
Steps to reproduce
- Push a 12GB repo 12 x 1GB LFS files to a self managed instance
- Import the project from the self managed instance using the URL option
- Select New project.
- Select Repository by URL.
- Enter a Git repository URL & complete the remaining fields
- Select Create project.
Proposal
GitLab should should check whether the repository exceeds the maximum repository size limit is reached and fail gracefully before the repository is placed into read only mode.
Intended users
Feature Usage Metrics
Does this feature require an audit event?
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.