You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2023. It is now read-only.
The file to get you started is Lfs.java. Pretty much everything is in there. The Objects (LfsObject.java and BatchLfsObject.java) are direct mappings of the input JSON coming from the git-lfs client. The Models (LfsModel.java and BatchLfsModel.java) are the output/return Objects which will be mapped to JSON for the response.
TODO
There are a lot of TODOs. I definitely can not do all of them by myself, so please contact me or just send a pull request if you have anything.
Checksum verification of uploaded file
CON: High CPU load for big files
PRO: Especially for big files you want to have file consistency
Validate JSON (LfsObject.validateJSON)
Fix Hypermedia links to only include needed links?? (check if needed)
Check batch API
(DONE) push
pull (in my tests client did not use batch even if told to do so...)
Hook to delete the lfs repo if bitbucket repo is deleted
Make 404 etc. empty and not return massive bitbucket thing
Move path from /rest... to default LFS path ...repo.git/info/lfs