artemkin / git-lfs-server

Git LFS server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exception while running

jeras opened this issue · comments

Tried to run version 0.3.0 on Ubuntu 17.10 with the command line for server without authentication:

$ sudo ./lfs_server.sh -verbose -s localhost -p 8080
Uncaught exception:
  
  (Unix.Unix_error "Illegal seek" sysconf "")

Raised by primitive operation at file "src/core_unix.ml", line 347, characters 14-29
commented

It seems Ocaml core library doesn't correctly handle sysconf result with glibc-2.26 janestreet/core#95. Let me prepare a new release.

Thanks artemkin, I will test the new release later today.

Hi @artemkin, the issue is fixed now, the server started properly. Thanks.
But I found out I do not know how to integrate it with a git repo.

My intention was to use it to run some LFS tests, but I kind of lost interest, sorry.

Right now it seems Microsoft GVFS might be a better choice, since as I understand it keeps all files in a central server repo, instead of using a separate location. This makes it easier to move the server side repository without loosing data.
Unfortunately GVFS is only available on Windows, although server side MS and Bitbucket should have some support.

Another thing that would make sense for my usage cases is file locking, I quickly tried what is provided on GitHub, I suspect you did not implement it yet.

So for now I will probably stick to standard git and continue evaluating when some progress is made by server providers (GitLab, Bitbucket), and ...