git-annex/Logs
Joey Hess 928e08904d
avoid two test failures with LANG=C
Log.Remote.prop_parse_show_Config failed on an input of fromList [("\28162","")]
in LANG=C, encodeBS "\28162" == "\STX=", while in UTF-8 locale,
encodeBS "\28162" == "\230\184\130". So in the C locale, the String
that's the parsed Map key ends up being encoded differently than it was
in the input Map.

Logs.Presence.Pure.prop_parse_build_log was failing in LANG=C because
the Arbitrary LogLine for some reason sometimes generated LogInfo values
containing \n or \r, despite using suchThat to prevent that. I don't
understand why at all, but switching the suchThat to filter the
ByteString instead of the String before conversion with encodeBS
somehow avoids the problem.

Both of these suggest something wonky with encodeBS in LANG=C, but
I *think* it's not a problem except for with test data generated by
Arbitrary.
2019-01-18 13:33:48 -04:00
..
Chunk attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Difference convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
MetaData follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
PreferredContent convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Presence avoid two test failures with LANG=C 2019-01-18 13:33:48 -04:00
SingleValue converting more log files to use Builder 2019-01-09 13:06:37 -04:00
Trust convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Activity.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Chunk.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Config.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Difference.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Export.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
File.hs defer updating unlocked files until after smudge filter 2018-10-25 15:08:20 -04:00
FsckResults.hs Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account. 2018-01-02 17:25:25 -04:00
Group.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Line.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Location.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00
MapLog.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
MetaData.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Multicast.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
NumCopies.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
PreferredContent.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
Presence.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00
Remote.hs avoid two test failures with LANG=C 2019-01-18 13:33:48 -04:00
RemoteState.hs attoparsec parsers for all new-format uuid-based logs 2019-01-10 13:30:36 -04:00
Schedule.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
SingleValue.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Smudge.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
Transfer.hs add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Transitions.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Trust.hs don't untrust appendonly exports 2018-08-30 11:48:04 -04:00
Unused.hs rename key2file and file2key 2019-01-14 13:03:35 -04:00
UUID.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
UUIDBased.hs convert old uuid-based log parsers to attoparsec 2019-01-10 16:34:20 -04:00
View.hs follow-on changes from MetaData type changes 2019-01-07 15:51:05 -04:00
Web.hs convert git-annex branch access to ByteStrings and Builders 2019-01-03 13:21:48 -04:00