]> dgit.raspbian.org Git - git-annex.git/blob
1d8e1cabebc1587dee7092ad8e26ebac3abeae3d
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 5"""
4  date="2018-03-05T14:47:20Z"
5  content="""
6 The easy workaround to bugs like this migrate the file to the
7 SHA256 backend rather than SHA256E.
8
9 It may be obvious to us that a file ending in "(feat. xy).mp3"
10 has an extension of ".mp3" and not of ". xy).mp3", but this is not very
11 obvious to git-annex, which would like to treat a file ending in ".tar.gz"
12 as having that compound extension.
13
14 The only rule I can think of that would help git-annex understand this is
15 to not allow punctuation (other than "." in file extensions). Which it
16 actually already filters out of extensions, which is why the extension it
17 comes up with is ".xy.mp3". But it could notice the space and closing paren
18 in the filename and assume those are not part of an extension. It might
19 bite some file with an extension like .foo_", I can't recall seeing many
20 such extensions. Ok, made this change.
21
22 It remains a bug in the glacier special remote if unicode characters
23 prevent uploading to it. We can't limit file
24 extensions to ascii, it's perfectly reasonable to use your native language
25 characters in a file extension. Leaving bug open since my change does
26 nothing about whatever upload bug glacier-cli has. Is the python program
27 failing?
28 """]]