-
-
Notifications
You must be signed in to change notification settings - Fork 576
Using Gitolite repositories
Gitolite (https://github.com/sitaramc/gitolite) is a popular system for managing GIT repositories, and handles both the creation of new repositories and the user access control to those repositories.
Each Sparkleshare user will need RW access to your Gitolite repository. They will also need their public key to be added to Gitolite. This is part of the normal Gitolite configuration process. If you are experiencing problems, it may be helpful to confirm that the user can access the Gitolite repository in the normal fashion eg attempt a checkout of the repository via the command line first, and when this works simply delete that local copy.
Gitolite supports several different syntaxes for the address of a repository. However, when entering the address for a Gitolite repository as a new remote folder into Sparkleshare, it appears that the following specific syntax is required:
Server type: My own server
Address: gituser@server
Folder name: gitrepo or gitrepo.git (either should work) where gitrepo is the name of your Git repository.
No slashes or colons are required anywhere. Even though your git repo is probably in a subdirectory ie has a path such as ~/repositories/mygitrepo.git you should not enter any part of the actual server path into Sparkleshare.
Refer to https://github.com/hbons/SparkleShare/issues/166 for more information.