Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ddanier/gitolite-git-lfs

Example gitolite command for git-lfs integration (works well with django-git-lfs)
https://github.com/ddanier/gitolite-git-lfs

Last synced: about 1 month ago
JSON representation

Example gitolite command for git-lfs integration (works well with django-git-lfs)

Awesome Lists containing this project

README

        

gitolite-git-lfs
================

This is a proof of concept git-lfs storage server helper for gitolite.

It has been written to work well with django-git-lfs, see:
https://github.com/ddanier/django-git-lfs

Requirements
------------

* Gitolite
* Perl: JSON and LWP (HTTP)

Install
-------

1. Setup LOCAL_CODE in gitolite.
2. Add LFS_URL to .gitolite.rc, for example after LOCAL_CODE. This should point to the perms-view
of django-git-lfs for example.
3. Add LFS_TOKEN to .gitolite.rc, for example after LOCAL_CODE. This is a secret value used to
grant access to the server.
(See django-git-lfs's settings.LFS_PERMS_TOKEN for reference)
4. Put git-lfs-authenticate into $LOCAL_CODE/commands/
5. Run 'gitolite setup'

TODO
----

More secure authentication between git-lfs-authenticate and Git LFS server. A secure token should
be generated using some cryptographical hash method.