Refactor LfsStorageController#upload_finalize into service
What does this MR do and why?
Resolves #233487 (closed)
This MR simplifies the Repositories::LfsStorageController#upload_finalize
by abstracting the logic into a service for better readability.
How to set up and validate locally
- Run your
gdk
server locally - Create a new project in gdk, make sure you add a
README
or any file so that the git repository is initialized - Follow the steps to use git lfs normally:
git clone git@gitlab.example.com:group/my-sample-project.git
-
cd my-sample-project
in terminal git lfs install
git lfs track "*.iso"
- add any large files to your directory
-
git add .
this should add the large files as well as the.gitattributes
git commit -am "Added .gitattributes to capture LFS tracking"
git push origin main
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Missy Davies