Skip to content
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

Add support for Git LFS #26

Closed
toby opened this issue Dec 7, 2021 · 3 comments · Fixed by #344
Closed

Add support for Git LFS #26

toby opened this issue Dec 7, 2021 · 3 comments · Fixed by #344
Labels
enhancement New feature or request

Comments

@toby
Copy link
Contributor

toby commented Dec 7, 2021

The Git Large File Storage Extension doesn't currently work with Soft Serve, but it should. Current errors include:

$ git push origin main 
Remote "origin" does not support the LFS locking API. Consider disabling it with:
  $ git config lfs.https://localhost/x-wombat/info/lfs.locksverify false
batch request: unexpected end of JSON inputB/s

and after disabling the lock:

$ git config lfs.https://localhost/x-wombat.git/info/lfs.locksverify false
$ git push origin main 
Uploading LFS objects:   0% (0/1), 0 B | 0 B/s, done.                                                                                                                   
batch request: unexpected end of JSON input
error: failed to push some refs to 'ssh://localhost:23231/x-wombat'
@meowgorithm meowgorithm added the enhancement New feature or request label Dec 10, 2021
@Andonome
Copy link

Andonome commented Apr 1, 2023

I'm getting a different error, but still no dice.

batch request: invalid character 'S' looking for beginning of value                               
error: failed to push some refs to 'ssh://localhost:23231/core'

@Andonome
Copy link

Are there any docs on setting this up? It looks like I need to set up the http support.

@aymanbagabas
Copy link
Member

Are there any docs on setting this up? It looks like I need to set up the http support.

No extra setup is needed, Soft Serve runs its own HTTP server with LFS support. It also supports the new pure-SSH Git LFS protocol. #360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants