File: comment_11_00715e0b47f09130e0e536e29f7b9258._comment

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (31 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (11)
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

"""]]