Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2018-03-04 19:48:54 -04:00
commit def6936be1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 169 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="rameshvenk"
avatar="http://cdn.libravatar.org/avatar/185911818a3eb3795072b1aa1256449c"
subject="dyld: Symbol not found: _inflateValidate"
date="2018-03-04T03:59:42Z"
content="""
Can confirm that this fix did resolve the issue. My version of git annex is as follows
git-annex version: 6.20180226-g15a11fedf
running on 10.13.3
"""]]

View file

@ -0,0 +1,48 @@
### Please describe the problem.
Files with special unicode characters(in this case japanese) for some reason have the characters added to the file key.
This is an issue because it causes errors when using glacier-cli when uploading copies to Glacier vault.
### What steps will reproduce the problem?
Here's how it looks for me:
[[!format sh """
% ls -l 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
lrwxrwxrwx 1 sochan sochan 221 Mar 3 13:37 12. Change The World (feat. 웅산).mp3 -> ../../../.git/annex/objects/6G/8K/SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3/SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
% g an info 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
file: 12. Change The World (feat. 웅산).mp3
size: 7.48 megabytes
key: SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
present: true
% g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
% sha256sum 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09 12. Change The World (feat. 웅산).mp3
"""]]
### What version of git-annex are you using? On what operating system?
[[!format sh """
% git-annex version
git-annex version: 6.20170101.1
build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify ConcurrentOutput TorrentParser MagicMime Feeds Quvi
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
local repository version: 5
supported repository versions: 3 5 6
upgrade supported from repository versions: 0 1 2 3 4 5
operating system: linux x86_64
% lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch
"""]]
### Please provide any additional information below.
Here's a sample file:
https://www.dropbox.com/s/kghlz41ooaqfr0h/12.%20Change%20The%20World%20%28feat.%20%EC%9B%85%EC%82%B0%29.mp3?dl=0
### Have you had any luck using git-annex before?
Dude, I love git-annex. I use it to have multiple copies of my HUGE music collection. I love that I can just have partial copies of my whole collection on my laptop/phone/remote servers/usb drive backup and have that all documented properly. This is some amazing software my man!

View file

@ -0,0 +1,24 @@
[[!comment format=mdwn
username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
nickname="i"
avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
subject="checked 6.20180112 and it's the same"
date="2018-03-03T16:21:06Z"
content="""
I installed git-annex from Debian buster(6.20180112) and checked, I get the same thing from calckey:
[[!format sh \"\"\"
% g an version
git-annex version: 6.20180112
build flags: Assistant Webapp Pairing S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify ConcurrentOutput TorrentParser MagicMime Feeds Testsuite
dependency versions: aws-0.16 bloomfilter-2.0.1.0 cryptonite-0.23 DAV-1.3.1 feed-0.3.12.0 ghc-8.0.2 http-client-0.5.7.1 persistent-sqlite-2.6.3 torrent-10000.1.1 uuid-1.3.13 yesod-1.4.5
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
local repository version: 5
supported repository versions: 3 5 6
upgrade supported from repository versions: 0 1 2 3 4 5
operating system: linux x86_64
% g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
\"\"\"]]
"""]]

View file

@ -0,0 +1,22 @@
[[!comment format=mdwn
username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
nickname="i"
avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
subject="I've also upgraded the repo to version 6"
date="2018-03-03T16:23:37Z"
content="""
[[!format sh \"\"\"
% g an upgrade
upgrade (v5 to v6...) (scanning for unlocked files...)
ok
% g an info 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
file: 12. Change The World (feat. 웅산).mp3
size: 7.48 megabytes
key: SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
present: true
% g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
\"\"\"]]
Same thing with upgraded repo version.
"""]]

View file

@ -0,0 +1,30 @@
[[!comment format=mdwn
username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
nickname="i"
avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
subject="this has something to do with the dot and space"
date="2018-03-03T16:43:27Z"
content="""
I did some tests and apparently this happens only if the characters are proceeded by a dot and/or space:
[[!format sh \"\"\"
sochan@melchior: 2011 - Kaleidoscope% g an calckey Change.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey Change.\ 웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey Change.웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey test_.웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey test_웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey test_.\ 웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey test_.\ \ 웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
sochan@melchior: 2011 - Kaleidoscope% g an calckey test_.\ \ \ 웅산.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.mp3
\"\"\"]]
This leads me to thinking that this MIGHT have something to do with code that deals with file extensions.
"""]]

View file

@ -0,0 +1,25 @@
[[!comment format=mdwn
username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
nickname="i"
avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
subject="fixed prev commend"
date="2018-03-03T16:55:16Z"
content="""
Oh man, yes, yes it does have something to do with extensions, it does not matter what it is, it gets added at the end if it is prefixed by a dot, even if there is something like a closing bracket in there:
[[!format sh \"\"\"
% g an calckey test.wtf.mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.wtf.mp3
% g an calckey test.wtf\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.wtf.mp3
\"\"\"]]
So it looks like I can avoid this issue by simply adding a space within the last segment after the dot, for example:
[[!format sh \"\"\"
% g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.웅산.mp3
% g an calckey 12.\ Change\ The\ World\ \(feat.\ 웅산\ \).mp3
SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.mp3
\"\"\"]]
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="spwhitton"
avatar="http://cdn.libravatar.org/avatar/9c3f08f80e67733fd506c353239569eb"
subject="armel+armhf available in stretch-backports"
date="2018-03-04T19:03:19Z"
content="""
@Alan: stretch-backports now includes git-annex on armel and armhf.
"""]]