diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-11 12:30:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-11 12:30:38 -0400 |
commit | 9fa64841c9cf4bbb467f15f3c5663dfc0de334d4 (patch) | |
tree | b723bfe68b854396da3f79b147fe5afdf4741082 | |
parent | f568c258389c0bc190a6b7ed6afa23089afa08d0 (diff) | |
parent | e3260722fad082352ebcf13bdaf521efd78675d1 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r-- | doc/git-annex-shell.mdwn | 3 | ||||
-rw-r--r-- | doc/tips/using_gitolite_with_git-annex.mdwn | 12 |
2 files changed, 12 insertions, 3 deletions
diff --git a/doc/git-annex-shell.mdwn b/doc/git-annex-shell.mdwn index c6e8c05c0..eafb16468 100644 --- a/doc/git-annex-shell.mdwn +++ b/doc/git-annex-shell.mdwn @@ -106,6 +106,9 @@ changed. If set, disallows any command that could modify the repository. + Note that this does not prevent passing commands on to git-shell. + For that, you also need ... + * GIT_ANNEX_SHELL_LIMITED If set, disallows running git-shell to handle unknown commands. diff --git a/doc/tips/using_gitolite_with_git-annex.mdwn b/doc/tips/using_gitolite_with_git-annex.mdwn index fcc3f96c3..746b6b17f 100644 --- a/doc/tips/using_gitolite_with_git-annex.mdwn +++ b/doc/tips/using_gitolite_with_git-annex.mdwn @@ -3,8 +3,6 @@ manager. Here's how to add git-annex support to gitolite, so you can `git annex copy` files to a gitolite repository, and `git annex get` files from it. -Warning : The method described here works with gitolite version g2, avaible in the g2 branch on github. There is an experimental support for g3 in the git-annex branch, if you tested it please add some feedback. - A nice feature of using gitolite with git-annex is that users can be given read-only access to a repository, and this allows them to `git annex get` file contents, but not change anything. @@ -12,7 +10,8 @@ file contents, but not change anything. First, you need new enough versions: * gitolite 2.2 is needed -- this version contains a git-annex-shell ADC - and supports "ua" ADCs. + and supports "ua" ADCs. Alternatively, gitoline g3 also recently added + support for git-annex. * git-annex 3.20111016 or newer needs to be installed on the gitolite server. Don't install an older version, it wouldn't be secure! @@ -39,6 +38,13 @@ cd /usr/local/lib/gitolite/adc/ua/ cp gitolite/contrib/adc/git-annex-shell . </pre> +If using gitolite g3, an additional setup step is needed: +In the ENABLE list in the rc file, add an entry like this: + +<pre> + 'git-annex-shell ua', +</pre> + Now all gitolite repositories can be used with git-annex just as any ssh remote normally would be used. For example: |