]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
7 years agouse ByteStrings when reading annex symlinks and pointers
Joey Hess [Mon, 14 Jan 2019 19:19:20 +0000 (15:19 -0400)]
use ByteStrings when reading annex symlinks and pointers

Now there's a ByteString used all the way from disk to Key.

The main complication in this conversion was the use of fromInternalGitPath
in several places to munge things on Windows. The things that used that
were changed to parse the ByteString using either path separator.

Also some code that had read from files to a String lazily was changed
to read a minimal strict ByteString.

7 years agoconvert to ByteString
Joey Hess [Mon, 14 Jan 2019 18:02:47 +0000 (14:02 -0400)]
convert to ByteString

7 years agouse fileKey here
Joey Hess [Mon, 14 Jan 2019 17:22:33 +0000 (13:22 -0400)]
use fileKey here

This doesn't change behavior in any way worth mentioning, but it's the
right thing to do.

7 years agorest of the deserializeKey renameing
Joey Hess [Mon, 14 Jan 2019 17:17:47 +0000 (13:17 -0400)]
rest of the deserializeKey renameing

7 years agoavoid creating work tree files in subdirectories in an edge case
Joey Hess [Mon, 14 Jan 2019 17:07:18 +0000 (13:07 -0400)]
avoid creating work tree files in subdirectories in an edge case

A keyName could contain "/", though this is unlikely and certianly only
ever could happen with WORM keys.

The change to addunused to escape that is no problem at all.

The change to VariantFile to escape it means that different versions of
git-annex could resolve a merge conflict differently in this case, which
is unfortunate. There would be different .variant files used, so the two
resolutions would themselves merge together without additional
conflicts, but the user would have to clean up the extra .variant
files.

7 years agorename key2file and file2key
Joey Hess [Mon, 14 Jan 2019 17:03:35 +0000 (13:03 -0400)]
rename key2file and file2key

What these generate is not really suitable to be used as a filename,
which is why keyFile and fileKey further escape it. These are just
serializing Keys.

Also removed a quickcheck test that was very unlikely to test anything
useful, since it relied on random chance creating something that looks
like a serialized key. The other test is sufficient for testing what
that was intended to test anyway.

7 years agoavoid unnecessary conversion from and back to ByteString
Joey Hess [Mon, 14 Jan 2019 16:40:13 +0000 (12:40 -0400)]
avoid unnecessary conversion from and back to ByteString

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 13 Jan 2019 18:03:12 +0000 (14:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agoAdded a comment
guzik.sergey@9391b6c15e4938a539e36fbe5bab71df07111d2e [Sun, 13 Jan 2019 14:50:44 +0000 (14:50 +0000)]
Added a comment

7 years ago(no commit message)
jonas [Sun, 13 Jan 2019 12:34:15 +0000 (12:34 +0000)]

7 years ago(no commit message)
jonas [Sun, 13 Jan 2019 12:28:21 +0000 (12:28 +0000)]

7 years ago(no commit message)
reed [Sat, 12 Jan 2019 21:34:36 +0000 (21:34 +0000)]

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 12 Jan 2019 17:38:52 +0000 (13:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agoslight optimisation more
Joey Hess [Fri, 11 Jan 2019 23:56:31 +0000 (19:56 -0400)]
slight optimisation more

7 years agoAdded a comment
Ilya_Shlyakhter [Fri, 11 Jan 2019 22:23:06 +0000 (22:23 +0000)]
Added a comment

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 11 Jan 2019 21:25:56 +0000 (17:25 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agoroadmap update
Joey Hess [Fri, 11 Jan 2019 21:25:37 +0000 (17:25 -0400)]
roadmap update

7 years agodevblog
Joey Hess [Fri, 11 Jan 2019 21:25:28 +0000 (17:25 -0400)]
devblog

7 years agocomment
Joey Hess [Fri, 11 Jan 2019 20:54:07 +0000 (16:54 -0400)]
comment

7 years agoupdate re field ordering
Joey Hess [Fri, 11 Jan 2019 20:51:54 +0000 (16:51 -0400)]
update re field ordering

7 years agomake everything build again after ByteString Key changes
Joey Hess [Fri, 11 Jan 2019 20:34:04 +0000 (16:34 -0400)]
make everything build again after ByteString Key changes

7 years agoconvert key2file and file2key to use builder and attoparsec
Joey Hess [Fri, 11 Jan 2019 20:33:42 +0000 (16:33 -0400)]
convert key2file and file2key to use builder and attoparsec

The new parser is significantly stricter than the old one:

The old file2key allowed the fields to come in any order,
but the new one requires the fixed order that git-annex has always used.
Hopefully this will not cause any breakage.

And the old file2key allowed eg SHA1-m1-m2-m3-m4-m5-m6--xxxx
while the new does not allow duplication of fields. This could potentially
improve security, because allowing lots of extra junk like that in a key
could potentially be used in a SHA1 collision attack, although the current
attacks need binary data and not this kind of structured numeric data.

Speed improved of course, and fairly substantially, in microbenchmarks:

benchmarking old/key2file
time                 2.264 μs   (2.257 μs .. 2.273 μs)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 2.265 μs   (2.260 μs .. 2.275 μs)
std dev              21.17 ns   (13.06 ns .. 39.26 ns)

benchmarking new/key2file'
time                 1.744 μs   (1.741 μs .. 1.747 μs)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 1.745 μs   (1.742 μs .. 1.751 μs)
std dev              13.55 ns   (9.099 ns .. 21.89 ns)

benchmarking old/file2key
time                 6.114 μs   (6.102 μs .. 6.129 μs)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 6.118 μs   (6.106 μs .. 6.143 μs)
std dev              55.00 ns   (30.08 ns .. 100.2 ns)

benchmarking new/file2key'
time                 1.791 μs   (1.782 μs .. 1.801 μs)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 1.792 μs   (1.785 μs .. 1.804 μs)
std dev              32.46 ns   (20.59 ns .. 50.82 ns)
variance introduced by outliers: 19% (moderately inflated)

7 years agouse ByteString in Key for speed
Joey Hess [Fri, 11 Jan 2019 17:55:00 +0000 (13:55 -0400)]
use ByteString in Key for speed

This is an easy win for parseKeyVariety:

benchmarking old/parseKeyVariety
time                 1.515 μs   (1.512 μs .. 1.517 μs)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 1.515 μs   (1.513 μs .. 1.517 μs)
std dev              6.417 ns   (4.992 ns .. 8.113 ns)

benchmarking new/parseKeyVariety
time                 54.97 ns   (54.70 ns .. 55.40 ns)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 55.42 ns   (55.05 ns .. 56.03 ns)
std dev              1.562 ns   (969.5 ps .. 2.442 ns)
variance introduced by outliers: 44% (moderately inflated)

For formatKeyVariety, using a Builder is marginally worse than building a
String... (This is with criterion evaluating fully to nf not whnf)

benchmarking old/formatKeyVariety
time                 434.3 ns   (428.0 ns .. 440.4 ns)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 430.6 ns   (428.2 ns .. 433.9 ns)
std dev              9.166 ns   (6.932 ns .. 11.94 ns)
variance introduced by outliers: 27% (moderately inflated)

benchmarking Builder/formatKeyVariety
time                 526.5 ns   (524.7 ns .. 528.8 ns)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 526.1 ns   (524.9 ns .. 528.5 ns)
std dev              5.687 ns   (3.762 ns .. 8.000 ns)

Manually building the ByteString was better, but still slightly slower than String,
due to innefficient need to S.pack . show the HashSize:

benchmarking formatKeyVariety
time                 459.5 ns   (455.8 ns .. 463.2 ns)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 459.9 ns   (457.4 ns .. 466.6 ns)
std dev              11.65 ns   (6.860 ns .. 21.41 ns)
variance introduced by outliers: 35% (moderately inflated)

So I cheated and made parseKeyVariety cache the original ByteString,
for formatKeyVariety to use instead of re-building it. Final benchmark:

benchmarking new/formatKeyVariety
time                 50.64 ns   (50.57 ns .. 50.73 ns)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 51.05 ns   (50.60 ns .. 52.71 ns)
std dev              2.790 ns   (259.6 ps .. 5.916 ns)
variance introduced by outliers: 75% (severely inflated)

benchmarking new/parseKeyVariety
time                 71.88 ns   (71.54 ns .. 72.24 ns)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 71.97 ns   (71.69 ns .. 72.47 ns)
std dev              1.249 ns   (910.7 ps .. 1.791 ns)
variance introduced by outliers: 22% (moderately inflated)

7 years agoAdded a comment: get dry-run-ish option
git-annex.branchable.com@1c3a8a83c15a19620a0a1a2e653d7c662fc8fe50 [Fri, 11 Jan 2019 16:18:13 +0000 (16:18 +0000)]
Added a comment: get dry-run-ish option

7 years ago(no commit message)
guzik.sergey@9391b6c15e4938a539e36fbe5bab71df07111d2e [Fri, 11 Jan 2019 10:40:22 +0000 (10:40 +0000)]

7 years agoAdded a comment
6yearold@36d59212c29d2959d6532d6db7928f01541bcf83 [Fri, 11 Jan 2019 06:28:32 +0000 (06:28 +0000)]
Added a comment

7 years agoAdded a comment: it's fixed
alogic0@d8fbd9f5b547237a650aa1d5605c2d3592496916 [Fri, 11 Jan 2019 00:54:02 +0000 (00:54 +0000)]
Added a comment: it's fixed

7 years agodevblog
Joey Hess [Thu, 10 Jan 2019 21:24:51 +0000 (17:24 -0400)]
devblog

7 years agoadd missing case
Joey Hess [Thu, 10 Jan 2019 21:17:37 +0000 (17:17 -0400)]
add missing case

7 years agoconvert transitions.log to attoparsec and bytestring-builder
Joey Hess [Thu, 10 Jan 2019 21:13:30 +0000 (17:13 -0400)]
convert transitions.log to attoparsec and bytestring-builder

Not likely to be any speed gain here, but this completes porting every
log file over.

And, it let me get rid of code copied from ghc and modified, so
simplifying the licensing.

7 years agoconvert old uuid-based log parsers to attoparsec
Joey Hess [Thu, 10 Jan 2019 18:39:36 +0000 (14:39 -0400)]
convert old uuid-based log parsers to attoparsec

This preserves the workaround for the old bug that caused NoUUID items
to be stored in the log, prefixing log lines with " ". It's now handled
implicitly, by using takeWhile1 (/= ' ') to get the uuid.

There is a behavior change from the old parser, which split the value
into words and then recombined it. That meant that "foo  bar" and "foo\tbar"
came out as "foo bar". That behavior was not documented, and seems
surprising; it meant that after a git-annex describe here "foo  bar",
you wouldn't get that same string back out when git-annex displayed repo
descriptions.

Otoh, some other parsers relied on the old behavior, and the attoparsec
rewrites had to deal with the issue themselves...

For group.log, there are some edge cases around the user providing a
group name with a leading or trailing space. The old parser would ignore
such excess whitespace. The new parser does too, because the alternative
is to refuse to parse something like " group1  group2 " due to excess
whitespace, which would be even more confusing behavior.

The only git-annex branch log file that is not converted to attoparsec
and bytestring-builder now is transitions.log.

7 years agoattoparsec parsers for all new-format uuid-based logs
Joey Hess [Thu, 10 Jan 2019 17:23:42 +0000 (13:23 -0400)]
attoparsec parsers for all new-format uuid-based logs

There should be some speed gains here, especially for chunk and remote
state logs, which are queried once per key.

Now only old-format uuid-based logs still need to be converted to attoparsec.

7 years agoRemove redundant endOfInput
Joey Hess [Thu, 10 Jan 2019 16:42:59 +0000 (12:42 -0400)]
Remove redundant endOfInput

parseLogLines consumes till endOfInput

7 years agonewtype Group to ByteString
Joey Hess [Wed, 9 Jan 2019 19:00:43 +0000 (15:00 -0400)]
newtype Group to ByteString

This may speed up queries for things in groups, due to Eq and Ord being faster.

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 9 Jan 2019 18:22:35 +0000 (14:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agomarginally faster VectorClock Builder
Joey Hess [Wed, 9 Jan 2019 18:17:00 +0000 (14:17 -0400)]
marginally faster VectorClock Builder

show of a POSIXTime is 7-bit ascii, so no need to use the filesystem
encoding on it

7 years agosimplification now that all logs use Builder
Joey Hess [Wed, 9 Jan 2019 18:10:05 +0000 (14:10 -0400)]
simplification now that all logs use Builder

7 years agoconvert all per-uuid log files to use Builder
Joey Hess [Wed, 9 Jan 2019 18:00:35 +0000 (14:00 -0400)]
convert all per-uuid log files to use Builder

Mostly didn't push the ByteStrings down very deep, but all of these log
files are not written to frequently at all, so slight remaining
innefficiency doesn't matter.

In Logs.UUID, removed the fixBadUUID code that cleaned up after a bug in
git-annex versions 3.20111105-3.20111110. In the unlikely event that a repo was
last touched by that ancient git-annex version, the descriptions of remotes
would appear missing when used with this version of git-annex. That is such minor
breakage, and so unlikely to still be a problem for any repos, that it was not
worth forward-porting that code to ByteString.

7 years agosimplify Show instance by deriving
Joey Hess [Wed, 9 Jan 2019 17:13:31 +0000 (13:13 -0400)]
simplify Show instance by deriving

7 years agofix format of show instance
Joey Hess [Wed, 9 Jan 2019 17:12:25 +0000 (13:12 -0400)]
fix format of show instance

It's only used to show test suite failures..

7 years agoconverting more log files to use Builder
Joey Hess [Wed, 9 Jan 2019 17:06:37 +0000 (13:06 -0400)]
converting more log files to use Builder

Probably not any particular speedup in this, since most of these logs
are not written to often. Possibly chunk log writing is sped up, but
writes to chunk logs are interleaved with expensive data transfers to
remotes, so unlikely to be a noticiable speedup.

7 years agoAdded a comment: Known issue
duncan_bayne [Wed, 9 Jan 2019 09:17:20 +0000 (09:17 +0000)]
Added a comment: Known issue

7 years agoAdded a comment: Bug raised
duncan_bayne [Tue, 8 Jan 2019 21:13:38 +0000 (21:13 +0000)]
Added a comment: Bug raised

7 years agoadded suggestion to support MD5E keys that omit file size, and/or support attaching...
Ilya_Shlyakhter [Tue, 8 Jan 2019 20:12:38 +0000 (20:12 +0000)]
added suggestion to support MD5E keys that omit file size, and/or support attaching checksums to URL/WORM keys in metadata

7 years agoposted a question about the "here" remote
Ilya_Shlyakhter [Tue, 8 Jan 2019 19:47:05 +0000 (19:47 +0000)]
posted a question about the "here" remote

7 years agoFormat post with code blocks for readability
aaron@784fd85903b38afc8a44d117ba95e3dcce0bd230 [Mon, 7 Jan 2019 21:54:10 +0000 (21:54 +0000)]
Format post with code blocks for readability

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 7 Jan 2019 20:36:53 +0000 (16:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agodevblog
Joey Hess [Mon, 7 Jan 2019 20:36:34 +0000 (16:36 -0400)]
devblog

7 years agosign my name at the end
aaron@784fd85903b38afc8a44d117ba95e3dcce0bd230 [Mon, 7 Jan 2019 20:19:55 +0000 (20:19 +0000)]
sign my name at the end

7 years agoAsk question about progress info
aaron@784fd85903b38afc8a44d117ba95e3dcce0bd230 [Mon, 7 Jan 2019 20:17:39 +0000 (20:17 +0000)]
Ask question about progress info

7 years agoremove unused import
Joey Hess [Mon, 7 Jan 2019 20:15:13 +0000 (16:15 -0400)]
remove unused import

7 years agonew forum entry
https://christian.amsuess.com/chrysn [Mon, 7 Jan 2019 19:51:29 +0000 (19:51 +0000)]
new forum entry

7 years agofollow-on changes from MetaData type changes
Joey Hess [Mon, 7 Jan 2019 19:51:05 +0000 (15:51 -0400)]
follow-on changes from MetaData type changes

Including writing and parsing the metadata log files with
bytestring-builder and attoparsec.

7 years agoswitch MetaValue to ByteString and MetaField to Text
Joey Hess [Mon, 7 Jan 2019 18:18:24 +0000 (14:18 -0400)]
switch MetaValue to ByteString and MetaField to Text

MetaField was already limited to alphanumerics, so it makes sense to use
Text for it.

Note that technically a UUID can contain invalid UTF-8, and so
remoteMetaDataPrefix's use of T.pack . fromUUID could replace non-UTF8
values with '?' or whatever. In practice, a UUID is usually also text,
I only kept open the possibility of it containing invalid UTF-8 to avoid
breaking parsing of strange UUIDs in git-annex branch files. So, I
decided to let this edge case slip by.

Have not updated the rest of the code base yet for this change, as the
change took 2.5 hours longer than I expected to get working properly.

7 years agosupport for ByteStrings
Joey Hess [Mon, 7 Jan 2019 16:29:25 +0000 (12:29 -0400)]
support for ByteStrings

7 years agoone more SNAFU with webdav
anarcat [Sun, 6 Jan 2019 19:35:15 +0000 (19:35 +0000)]
one more SNAFU with webdav

7 years agofix typo and triage
anarcat [Sun, 6 Jan 2019 19:23:36 +0000 (19:23 +0000)]
fix typo and triage

7 years agoAdded a comment
timeless-ventricle [Sun, 6 Jan 2019 12:24:50 +0000 (12:24 +0000)]
Added a comment

7 years agoAdded a comment: thanks!
anarcat [Sun, 6 Jan 2019 04:12:03 +0000 (04:12 +0000)]
Added a comment: thanks!

7 years agoAdded a comment
Chymera [Sun, 6 Jan 2019 01:25:10 +0000 (01:25 +0000)]
Added a comment

7 years agoAdded a comment: bump
anarcat [Sat, 5 Jan 2019 23:06:05 +0000 (23:06 +0000)]
Added a comment: bump

7 years agocorrect ghc version number
Joey Hess [Sat, 5 Jan 2019 20:07:53 +0000 (16:07 -0400)]
correct ghc version number

7 years agoSupport being built with ghc 8.0.1 (MonadFail)
Joey Hess [Sat, 5 Jan 2019 15:54:06 +0000 (11:54 -0400)]
Support being built with ghc 8.0.1 (MonadFail)

Tested on an older ghc by enabling MonadFailDesugaring globally.

In TransferQueue, the lack of a MonadFail for STM exposed what would
normally be a bug in the pattern matching, although in this case an
earlier check that the queue was not empty avoided a pattern match
failure.

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 5 Jan 2019 15:27:49 +0000 (11:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agoupdate
Joey Hess [Sat, 5 Jan 2019 15:27:04 +0000 (11:27 -0400)]
update

7 years agobuild cleanrly when benchmark flag is not enabled
Joey Hess [Sat, 5 Jan 2019 12:09:28 +0000 (08:09 -0400)]
build cleanrly when benchmark flag is not enabled

7 years agodo union merge on bytestrings
Joey Hess [Sat, 5 Jan 2019 12:06:47 +0000 (08:06 -0400)]
do union merge on bytestrings

My concern with using bytestring for this is the file needs to be split
into lines, and the encoding is not known. It's safe to split a utf-8
encoded file on the \n byte; only newlines get encoded to that byte in utf-8.
And this code already assumes utf-8 or ascii encoding, because it used
the filesystem encoding.

7 years agoAdded a comment
Chymera [Fri, 4 Jan 2019 23:05:43 +0000 (23:05 +0000)]
Added a comment

7 years agoAdded a comment
Chymera [Fri, 4 Jan 2019 21:08:54 +0000 (21:08 +0000)]
Added a comment

7 years ago(no commit message)
Chymera [Fri, 4 Jan 2019 21:02:16 +0000 (21:02 +0000)]

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 4 Jan 2019 19:12:02 +0000 (15:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agodevblog
Joey Hess [Fri, 4 Jan 2019 19:11:16 +0000 (15:11 -0400)]
devblog

7 years ago(no commit message)
pthomasdelaney@9b04608ad7e837fde64ab60a285a7b7254b5bb26 [Fri, 4 Jan 2019 18:23:45 +0000 (18:23 +0000)]

7 years agoUpdated Densho description , formerly "Japanese American Legacy Project", and total...
geoffrey.jost [Fri, 4 Jan 2019 17:55:54 +0000 (17:55 +0000)]
Updated Densho description , formerly "Japanese American Legacy Project", and total collection size.

7 years agonew improved benchmark command that can benchmark anything git-annex does
Joey Hess [Fri, 4 Jan 2019 17:43:53 +0000 (13:43 -0400)]
new improved benchmark command that can benchmark anything git-annex does

7 years agoAdded a comment
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60 [Fri, 4 Jan 2019 16:11:12 +0000 (16:11 +0000)]
Added a comment

7 years agoexplicitly default benchmark build flag to false
Joey Hess [Fri, 4 Jan 2019 15:24:16 +0000 (11:24 -0400)]
explicitly default benchmark build flag to false

7 years agoAdded a comment
andrew [Fri, 4 Jan 2019 12:49:51 +0000 (12:49 +0000)]
Added a comment

7 years agoformat
Joey Hess [Fri, 4 Jan 2019 04:37:53 +0000 (00:37 -0400)]
format

7 years agoAdded a comment
Chymera [Fri, 4 Jan 2019 03:52:22 +0000 (03:52 +0000)]
Added a comment

7 years agoAdded a comment
andrew [Thu, 3 Jan 2019 23:48:03 +0000 (23:48 +0000)]
Added a comment

7 years agoAdded a comment
Chymera [Thu, 3 Jan 2019 22:56:25 +0000 (22:56 +0000)]
Added a comment

7 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 3 Jan 2019 20:12:32 +0000 (16:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

7 years agoupdate
Joey Hess [Thu, 3 Jan 2019 20:12:02 +0000 (16:12 -0400)]
update

7 years agodevblog
Joey Hess [Thu, 3 Jan 2019 20:11:57 +0000 (16:11 -0400)]
devblog

7 years agoremoved
Chymera [Thu, 3 Jan 2019 19:43:53 +0000 (19:43 +0000)]
removed

7 years agoAdded a comment
Chymera [Thu, 3 Jan 2019 19:43:24 +0000 (19:43 +0000)]
Added a comment

7 years agoAdded a comment
Chymera [Thu, 3 Jan 2019 19:40:22 +0000 (19:40 +0000)]
Added a comment

7 years agoAdded a comment
Chymera [Thu, 3 Jan 2019 19:33:02 +0000 (19:33 +0000)]
Added a comment

7 years agoattoparsec parser for presence logs
Joey Hess [Thu, 3 Jan 2019 19:27:29 +0000 (15:27 -0400)]
attoparsec parser for presence logs

7 years agoAdded a comment: NTFS Make it clear that it'll not work with annex.thin
colin.brosseau@d444b2b3412af38b85f7b4b340b9c44a412b5698 [Thu, 3 Jan 2019 18:04:58 +0000 (18:04 +0000)]
Added a comment: NTFS Make it clear that it'll not work with annex.thin

7 years agoconvert git-annex branch access to ByteStrings and Builders
Joey Hess [Thu, 3 Jan 2019 17:21:48 +0000 (13:21 -0400)]
convert git-annex branch access to ByteStrings and Builders

Most of the individual logs are not converted yet, only presense logs
have an efficient ByteString Builder implemented so far. The rest
convert to and from String.

7 years agoconvert Git.HashObject to use ByteStrings
Joey Hess [Thu, 3 Jan 2019 17:19:59 +0000 (13:19 -0400)]
convert Git.HashObject to use ByteStrings

Both lazy and strict, because sometimes it's more efficient to build a
small strict bytestring, and other times better to lazily stream.

7 years agoimport Utility.FileSystemEncoding in Common
Joey Hess [Thu, 3 Jan 2019 15:37:02 +0000 (11:37 -0400)]
import Utility.FileSystemEncoding in Common

7 years agoAdded a comment: (better formating..)
ka7 [Thu, 3 Jan 2019 14:15:21 +0000 (14:15 +0000)]
Added a comment: (better formating..)

7 years agoAdded a comment: got it
ka7 [Thu, 3 Jan 2019 14:10:19 +0000 (14:10 +0000)]
Added a comment: got it

7 years agoAdded a comment
CandyAngel [Thu, 3 Jan 2019 12:29:41 +0000 (12:29 +0000)]
Added a comment

7 years ago(no commit message)
ka7 [Thu, 3 Jan 2019 11:17:31 +0000 (11:17 +0000)]

7 years agocomment typo
Joey Hess [Thu, 3 Jan 2019 04:22:05 +0000 (00:22 -0400)]
comment typo

7 years agoAdded a comment
andrew [Thu, 3 Jan 2019 01:32:28 +0000 (01:32 +0000)]
Added a comment