Commit graph

33908 commits

Author SHA1 Message Date
Joey Hess
24d6ec40dc
Merge branch 'master' of ssh://git-annex.branchable.com 2019-01-01 16:42:29 -04:00
Joey Hess
fdc90d7214
devblog 2019-01-01 16:41:59 -04:00
Joey Hess
894716512d
add a UUIDDesc type containing a ByteString
Groundwork for handling uuid.log using ByteString
2019-01-01 16:17:54 -04:00
andrew
d849ee579f Added a comment 2019-01-01 20:02:58 +00:00
andrew
e0533176c1 2019-01-01 19:49:07 +00:00
Joey Hess
b781fbcccf
update copyright year 2019-01-01 15:37:40 -04:00
andrew
faffe4c8b9 Added a comment 2019-01-01 19:36:35 +00:00
andrew
38a7d7e779 Added a comment 2019-01-01 19:00:08 +00:00
Joey Hess
b3c69eaaf8
strict bytestring encoders and decoders
Only had lazy ones before.

Already sped up a few parts of the code.
2019-01-01 14:55:15 -04:00
andrew
87af69903d Added a comment 2019-01-01 18:47:59 +00:00
Joey Hess
9cc6d5549b
convert UUID from String to ByteString
This should make == comparison of UUIDs somewhat faster, and perhaps a
few other operations around maps of UUIDs etc.

FromUUID/ToUUID are used to convert String, which is still used for all
IO of UUIDs. Eventually the hope is those instances can be removed,
and all git-annex branch log files etc use ByteString throughout, for a
real speed improvement.

Note the use of fromRawFilePath / toRawFilePath -- while a UUID usually
contains only alphanumerics and so could be treated as ascii, it's
conceivable that some git-annex repository has been initialized using
a UUID that is not only not a canonical UUID, but contains high unicode
or invalid unicode. Using the filesystem encoding avoids any problems
with such a thing. However, a NUL in a UUID seems extremely unlikely,
so I didn't use encodeBS / decodeBS to avoid their extra overhead in
handling NULs.

The Read/Show instance for UUID luckily serializes the same way for
ByteString as it did for String.
2019-01-01 14:45:33 -04:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
508396879b Added a comment 2019-01-01 18:17:21 +00:00
Joey Hess
1f52e5c5cb
response 2019-01-01 12:31:18 -04:00
Joey Hess
f4bde87525
fix layout 2019-01-01 12:31:03 -04:00
Joey Hess
d34f078856
mention annex.thin for unlock 2019-01-01 12:23:40 -04:00
Joey Hess
a3493a8e64
response 2019-01-01 12:21:43 -04:00
Joey Hess
2ae7ea02ad
followup 2019-01-01 12:16:20 -04:00
Joey Hess
b5174b7253
compiler toolchain being broken in freebsd update is not a bug in git-annex 2019-01-01 12:09:40 -04:00
Joey Hess
bb1fec9c9f
Merge branch 'master' of ssh://git-annex.branchable.com 2019-01-01 12:06:40 -04:00
Joey Hess
2e069eb9f6
use putBucket to future-proof
New fields can be added to PutBucket in the future.
2018-12-31 13:09:20 -04:00
flpgdt@f64318f00d9e1c9535e11f5d27c80c1d799cce00
8cdf87215e Added a comment 2018-12-31 16:53:50 +00:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
6b44492690 Added a comment 2018-12-31 16:41:09 +00:00
michael@ff03af62c7fd492c75066bda2fbf02370f5431f4
25cc890be1 Added a comment: Import --clean-duplicates 2018-12-31 10:40:04 +00:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
aa05390e72 removed 2018-12-31 08:16:59 +00:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
9012939346 Added a comment: Why so slow 2018-12-31 04:06:34 +00:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
8fa69f0b96 Added a comment: Why so slow 2018-12-31 04:06:08 +00:00
andrew
68a07151ef Added a comment 2018-12-30 23:29:16 +00:00
andrew
b7f66c20ac 2018-12-30 23:24:43 +00:00
andrew
5bfa629c6a Added a comment 2018-12-30 23:23:47 +00:00
andrew
cb4f55b64c 2018-12-30 22:13:27 +00:00
andrew
279573b601 2018-12-30 22:12:55 +00:00
andrew
a7b4eb5255 Added a comment 2018-12-30 22:12:09 +00:00
andrew
b3436da0f5 Added a comment 2018-12-30 21:58:55 +00:00
Chymera
c6a322566e 2018-12-30 20:50:49 +00:00
Chymera
2bc58a6786 Added a comment 2018-12-30 20:47:00 +00:00
Joey Hess
6512b40bac
importfeed: Better error message when downloading the feed fails
It used to display the "bad feed content" message indicating there were no
enclosures found, which was misleading when the http request for the feed
failed.

This commit was sponsored by Ewen McNeill on Patreon.
2018-12-30 16:14:55 -04:00
Joey Hess
f943138508
avoid unnecessary monad 2018-12-30 15:59:15 -04:00
Joey Hess
84e71dae2e
comment typo 2018-12-30 15:51:20 -04:00
Joey Hess
3fdc6fdfa9
remove unused import 2018-12-30 15:18:49 -04:00
Joey Hess
1b44426805
avoid conflicting definitions of Template type
When both modules are imported and then re-exported.
2018-12-30 15:03:31 -04:00
Joey Hess
5480b3a9af
fix bogus ghc 8.6.3 build warning
ghc warned that the guards did not cover all values of h, but they
clearly do, and when rewritten as a case statement the warning goes
away.

Probably a ghc bug, but I kind of prefer the case statement over the
guards anyway.
2018-12-30 14:43:27 -04:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
538cb2f77d 2018-12-30 16:56:59 +00:00
Joey Hess
5bd618a1f6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-12-30 12:30:09 -04:00
Joey Hess
a26514d67e
Fix doubled progress display when downloading an url when -J is used.
downloadUrl uses meteredFile, which sets up one progress meter,
and Remote.Web also uses metered, so two progress meters are displayed for
the same download.

Reversion introduced with the http-conduit switch in
c34152777b -- I don't know why the extra
call to metered was added there.

When -J is not used, the extra progress meter didn't display,
but an extra blank line did get output, which is also fixed.

This commit was sponsored by John Pellman on Patreon.
2018-12-30 12:29:49 -04:00
https://wentasah.mojeid.cz/#iQiZsiSMeH
2f8c5bd4c9 2018-12-30 00:35:20 +00:00
Joey Hess
260ac417dd
update logo 2018-12-29 13:44:39 -04:00
johannes@f7951ad4aa9c858952712114847f969dde63b172
c0bdab03ff Added a comment: Option to disable filename encyprtion 2018-12-29 01:13:21 +00:00
duncan_bayne
4eb86176e6 Made blog link an actual link. 2018-12-27 21:52:24 +00:00
duncan_bayne
b11bf6f605 Add version numbers 2018-12-27 21:51:14 +00:00
duncan_bayne
46a2ef38a5 2018-12-27 21:49:52 +00:00