git-annex/debian
Joey Hess cf260d9a15
Fix storing of filenames of v6 unlocked files when the filename is not representable in the current locale.
This is a mostly backwards compatable change. I broke backwards
compatability in the case where a filename starts with double-quote.
That seems likely to be very rare, and v6 unlocked files are a new feature
anyway, and fsck needs to fix missing associated file mappings anyway. So,
I decided that is good enough.

The encoding used is to just show the String when it contains a problem
character. While that adds some overhead to addAssociatedFile and
removeAssociatedFile, those are not called very often. This approach has
minimal decode overhead, because most filenames won't be encoded that way,
and it only has to look for the leading double-quote to skip the expensive
read. So, getAssociatedFiles remains fast.

I did consider using ByteString instead, but getting a FilePath converted
with all chars intact, even surrigates, is difficult, and it looks like
instance PersistField ByteString uses Text, which I don't trust for problem
encoded data. It would probably be slower too, and it would make the
database less easy to inspect manually.
2016-02-14 16:37:25 -04:00
..
patches Make git-annex-standalone.deb include the git-annex html documentation, desktop file, and base completion file, same as the regular git-annex.deb. 2015-11-10 13:21:05 -04:00
tests Debian: Run the builtin test suite as an autopkgtest. 2013-08-15 15:49:19 +02:00
cabal-wrapper support building with BUILDER=stack to use stack instead of cabal 2015-12-28 14:18:47 -04:00
changelog Fix storing of filenames of v6 unlocked files when the filename is not representable in the current locale. 2016-02-14 16:37:25 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control annex.largefiles: Add support for mimetype=text/* etc, when git-annex is linked with libmagic. 2016-02-03 16:29:34 -04:00
copyright credit Ian Lynagh 2016-01-20 16:07:46 -04:00
create-standalone-changelog use BuildVersion in debian, which fixes windows build 2015-04-21 16:42:54 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
git-annex.lintian-overrides merge lintian overrides from debian 2015-08-15 11:45:37 -04:00
NEWS prep release 2013-10-02 16:13:45 -04:00
rules move -j1 setting to BUILDEROPTIONS, set in debian/rules file 2016-02-05 13:56:27 -04:00