Open lookeypl opened 9 years ago
GitHub is nice enough to provide a new Git extension, which might help us in this issue.
Use the extension. Check what is needed to host our files on nfprojects.org and make them compatible with Git LFS.
I tried to get it to work and was close to success.
All questions I'll shoot straight at the lfs-test-server creators: https://github.com/github/lfs-test-server/issues/23
SETTING UP SERVER:
nfprojects.org:8080
SETTING UP LOCAL MACHINE:
git lfs init
git lfs track "*.zip"
or edit .gitattributes
file manually.git/config
file so that it have:
[lfs]
url = "http://nfprojects.org:8080/some_path"
Should work. Writing git lfs ls-files
will list files managed by git-lfs.
While pushing and asked for credentials use those acquired in p.4 of SETTING UP SERVER.
If you have any questions don't hesitate to ask.
Nice job!
Can you create a nice-and-neat Wiki page in our project? This is very important info and it will be easily accessible there for future references.
I'm taking over the issue and will try to make this work for our future tasks.
Minor notes from my side:
LFS Test Server service has known bugs/issues:
Moving on to uploading test data to LFS
After some hiatus from this task I finally did some more research about it and here is what follows:
Right now there are more important tasks to do, so I'm unassigning myself. Maybe, if not me, then someone else will take care of it in the future.
Another set of updates after discussion. It looks like the issue is finally coming to an end.
It would be nice to actually write here a comment, concerning what is done and how:
First version of python script is currently close to being merged - it contains initialization. As for the rest of modes: all apart from push can be made using guest acc, PUSH will be made using created account for FTP (so user will be automatically prompted for password, while script is trying to establish connection with server).
Next commit will contain STATUS option, as it is basis for the others, along with some clean-ups for the script and arguments management.
:+1:
FTP synchronisation script was merged here and here. Right now script has INIT, PUSH and UPDATE modes. Instead of keeping everything in a file, the script just compare listings of files along with their modification date. PUSH mode will ask for credentials with proper rights in order to store/delete files.
FTP server works (mostly) - there is only one group, that should be allowed (by proftpd) to write - ftpers. Anonymous/guest virtual read-only accounts are created, also any other user can log in, but no root-login is allowed. TLS is supported.
What should be done next? STATUS mode and?
Google Drive sometimes performs minor fails when trying to pack and send entire archive with deps. This makes using it much more difficult - we need our own solution to keep nfEngineDemoData.
Provide easy way to download nfEngineDemoData. Use our recently rented VPS.Make sure that this works in all cases and can be easily used to download all the files. Avoid using git repository, however if there is any small revision control system for binary data, use it.Update README.mdUPDATE 2015.09.25: It looks like Git LFS is still in very early development stage, plus LFS server probably will clutter our storage space on VPS. After discussion, here is new, proposed way of keeping the files on nfprojects.org (Advanced features does not have to be developed right away, however might prove useful in the future - these are marked with [Adv] tag):