-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Git LFS support #120
Git LFS support #120
Conversation
Fixes xorm error: "cannot use x (type *xorm.Engine) as type Engine in argument to"
Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md
Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83
This will resolved #80 |
Can you please rebase and avoid generating bindata.go in the PR ? |
Only removes objects from content store when deleted repo is the only referencing repository
"git-upload-pack": models.ACCESS_MODE_READ, | ||
"git-upload-archive": models.ACCESS_MODE_READ, | ||
"git-receive-pack": models.ACCESS_MODE_WRITE, | ||
"git-lfs-authenticate": models.ACCESS_MODE_NONE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use LFSAuthenticateVerb
here?
On Tue, Nov 08, 2016 at 07:28:27AM -0800, bkcsoft wrote:
And I think those constants are named AccessModeNone etc. now. |
Fixes bug where LFS would not work after installation without restarting Gogs
Let me clarify on my statement. |
@fabian-z you misunderstood: Gitea will never be rebased against Gogs, but rather continue on its own. https://github.com/go-gitea/gitea/pulse |
@strk |
PR as requested by @lunny, merge conflicts originate from gitea commits. I'm using Gogs as upstream so I can't promise to correct those. Original PR: gogs/gogs#3868
Feature requested in gogs/gogs#1322
This PR implements Git LFS support for Gogs, supporting the legacy v1 API as well as the current batch v1 API.
Originally imported LFS server code base from https://github.com/git-lfs/lfs-test-server.
Features:
Notes:
github.com/dgrijalva/jwt-go
, as well as fix Build error with 0.9.99.0915 gogs/gogs#3732Does not yet delete LFS objects when repository is removedLooking forward to your review!