aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/using_gitolite_with_git-annex/comment_11_00715e0b47f09130e0e536e29f7b9258._comment
blob: 1fbbd9b8a074e0d8ca224eeab66f0dbdd18d6f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[[!comment format=mdwn
 username="http://mildred.fr/"
 nickname="mildred"
 subject="Problems with URL ending with ".git""
 date="2013-05-24T12:15:16Z"
 content="""
Hi,

I noticed using the git-annex branch of gitolite v3 that the same URL with \".git\" at the end would not work in git-annex. For example my test repository was `git@git2.mildred.fr:u/mildred/Annex.git` but it didn't work until I converted it to `git@git2.mildred.fr:u/mildred/Annex`

On the server, the repository is in `repositories/u/mildred/Annex.git`

If I try a copy with git-annex for example, I would get:

    $ git annex copy titi --to test
    copy titi (checking test...) FATAL: u/mildred/Annex.git mildred DENIED
    
    (unable to check test) failed
    git-annex: copy: 1 failed

(test is the name of my remote and titi is my file)

Note, in my gitolite conf, I have:

    repo u/CREATOR/[a-zA-Z0-9].*
      C    = @all
      RW+D = CREATOR
      RW   = WRITERS
      R    = READERS

"""]]