-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Rewrite of the LFS server #15523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Rewrite of the LFS server #15523
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4281413
Use constants.
KN4CK3R 9b8936a
Use IsValid instead of isOidValid
KN4CK3R 6a8a4a9
Restructured code. Moved static checks out of loop.
KN4CK3R 5f68237
Made method private.
KN4CK3R 7d0e8d8
Restructured batch api. Add support for individual errors.
KN4CK3R c51ac32
Let router decide if LFS is enabled.
KN4CK3R 406127b
Renamed methods.
KN4CK3R e5bcd0d
Return correct status from verify handler.
KN4CK3R 2b9daab
Unified media type check in router.
KN4CK3R dad7521
Changed error code according to spec.
KN4CK3R f3fe4de
Moved checks into router.
KN4CK3R 89607a2
Removed invalid v1 api methods.
KN4CK3R afd6eba
Unified methods.
KN4CK3R aff8fc8
Display better error messages.
KN4CK3R 24279e1
Added size parameter. Create meta object on upload.
KN4CK3R c45f43c
Use object error on invalid size.
KN4CK3R 709fcfa
Skip upload if object exists.
KN4CK3R d11bd55
Moved methods.
KN4CK3R 497283f
Suppress fields in response.
KN4CK3R e0db2b2
Changed error on accept.
KN4CK3R 5a932da
Fixed tests.
KN4CK3R 2b0a713
Added tests.
KN4CK3R 25c3a01
Merge branch 'master' of https://github.com/go-gitea/gitea into fix-l…
KN4CK3R 9bc1cf6
Use ErrorResponse object.
KN4CK3R f80fe0f
Merge branch 'master' of https://github.com/go-gitea/gitea into fix-l…
KN4CK3R 3093f76
Test against message property.
KN4CK3R 1c3ac29
Add support for the old invalid lfs client.
KN4CK3R 1bcbff8
Fixed the check because MinIO wraps the error.
KN4CK3R 9eaa2e4
Use individual repositories.
KN4CK3R a3d323b
Removed unnecessary postgresql workaround.
KN4CK3R bec50ee
Merge branch 'main' of https://github.com/go-gitea/gitea into fix-lfs…
KN4CK3R 5472d54
Merge branch 'main' into fix-lfs-server
6543 1443a2c
Merge branch 'main' into fix-lfs-server
6543 b0e6b8e
Use StatusNotFound instead of StatusForbidden.
KN4CK3R 9f29ed5
Fixed status codes in tests.
KN4CK3R f411fe8
Merge branch 'main' into fix-lfs-server
lafriks 0ccad52
Merge branch 'main' into fix-lfs-server
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.