Bugzilla – Bug 17896
scanner doesn't work with files stored using git annex
Last modified: 2013-02-15 00:39:38 UTC
git annex replaces files with symlinks with a target filename being a sha hash, e.g. trololo.mp3 -> .git/annex/objects/W1/Kk/SHA256-s5849830--b7ef3953f345b7fd890b997f996ab411812d929edad8cf67efe1996d310b4546/SHA256-s5849830--b7ef3953f345b7fd890b997f996ab411812d929edad8cf67efe1996d310b4546 The scanner ignores these files because they don't have a recognized extension. I suggest that the extension of the target file be ignored if the symlink has a valid extension. Here's the relevant code: https://gist.github.com/1880332
Created attachment 7656 [details] newer version of patch against 7.6.2 I also see this exact problem; changing UNCONFIRMED -> NEW. I had to port the patch to 7.6.2 which has changed enough that it didn't apply.
Perhaps the logic could be to ignore the extension if the symlink target contains ".git/annex", in case there's a different situation where it is important that the target's name be taken into account?
Yes, sounds like a good idea to me!
No activity in a year, and still in UNCONFIRMED state ... how can we progress this?