Commit graph

29757 commits

Author SHA1 Message Date
Joey Hess
062286135c
unused: When large files are checked right into git, avoid buffering their contents in memory.
This makes it a little bit slower since it has to check file size,
but worth it to fix a potential memory use problem.

This commit was sponsored by Fernando Jimenez on Patreon.
2017-01-31 19:09:37 -04:00
Joey Hess
9eb10caa27
Some optimisations to string splitting code.
Turns out that Data.List.Utils.split is slow and makes a lot of
allocations. Here's a much simpler single character splitter that behaves
the same (even in wacky corner cases) while running in half the time and
75% the allocations.

As well as being an optimisation, this helps move toward eliminating use of
missingh.

(Data.List.Split.splitOn is nearly as slow as Data.List.Utils.split and
allocates even more.)

I have not benchmarked the effect on git-annex, but would not be surprised
to see some parsing of eg, large streams from git commands run twice as
fast, and possibly in less memory.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2017-01-31 19:06:22 -04:00
mschiff
288a529d2a 2017-01-31 22:01:31 +00:00
mschiff
be899558f9 2017-01-31 22:00:58 +00:00
mschiff
3a6a96c1db 2017-01-31 21:58:54 +00:00
Joey Hess
dbaea98836
fix lack of laziness streaming large diffs
A commit last year that made a partial function use Maybe unfortunately
caused the whole input to need to be consumed, breaking streaming. So,
revert it.

This commit was sponsored by Nick Daly on Patreon.
2017-01-31 17:43:11 -04:00
Joey Hess
a130bc4f9b
add new modules to annoying list 2017-01-31 17:27:44 -04:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
ae84bfc9e5 Added a comment 2017-01-31 18:30:00 +00:00
Joey Hess
88e7d787e2
fix link 2017-01-31 13:25:37 -04:00
Joey Hess
8ee86a5cad
comment 2017-01-31 13:24:34 -04:00
Joey Hess
f0719897e0
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-31 13:11:54 -04:00
Joey Hess
ae2ff452a4
comment
This commit was sponsored by Brock Spratlen on Patreon.
2017-01-31 13:10:54 -04:00
Joey Hess
a1842d387b
comment
This commit was sponsored by Ole-Morten on Patreon.
2017-01-31 13:01:55 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
670f9a5116 2017-01-31 16:53:58 +00:00
Joey Hess
3fcfe2abd0
please answer questions 2017-01-31 12:53:55 -04:00
Joey Hess
b6556e50ad
response
This commit was sponsored by Andreas on Patreon.
2017-01-31 12:47:49 -04:00
Joey Hess
03bdb230b4
respond
This commit was sponsored by Bruno BEAUFILS on Patreon.
2017-01-31 12:41:09 -04:00
Joey Hess
cfe3d37dc3
fix formatting of comment 2017-01-31 12:32:03 -04:00
Joey Hess
5798013fb2
reproduced bug; started analysis
This commit was sponsored by Peter Hogg on Patreon.
2017-01-31 12:30:44 -04:00
Joey Hess
3300911b14
lts-7.18 finally!
esqueleto finally got fixed, thanks to @bitemyapp

Since XMPP was removed, the previous build failures related to it should
no longer be a problem either.

Meanwhile, lts-5.18 fails to build anymore on Debian due to linker
hardening breaking the version of ghc stack uses with that version.

This commit was sponsored by Francois Marier on Patreon.
2017-01-31 12:27:08 -04:00
Joey Hess
e5b733ba22
close 2017-01-31 11:25:38 -04:00
Joey Hess
a4192b5612
close old xmpp bug 2017-01-31 11:24:15 -04:00
alanz
ac45e758f4 spacing 2017-01-31 11:34:43 +00:00
alanz
e5adeba3ac Otherwise the USB remote cannot sync 2017-01-31 11:33:32 +00:00
Fabio
f8cb16b6a4 Added a comment 2017-01-30 22:26:46 +00:00
Joey Hess
5676d267b5
forgot to add this new source file 2017-01-30 17:36:45 -04:00
Joey Hess
eeb227aeb8
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-30 17:34:48 -04:00
Joey Hess
85b62fa798
devblog 2017-01-30 17:32:03 -04:00
Joey Hess
183f3f7a9c
make git annex config settings editable in vicfg
This commit was sponsored by Shane-o on Patreon.
2017-01-30 17:08:05 -04:00
Joey Hess
339464e847
config: New command for storing configuration in the git-annex branch.
Any config names can be set using this; git-annex commands will only look
at specific ones that make sense and are worth the overhead of querying the
branch.

This might also be useful for storing whatever other config-type stuff the
user might want to shove into the git-annex branch.

This commit was sponsored by Jochen Bartl on Patreon.
2017-01-30 16:46:38 -04:00
Joey Hess
26d23e38f1
vicfg: Include the numcopies configuation.
Docs say vicfg can configure everything from git-annex branch,
so it ought to configure numcopies.

Note that commenting out existing numcopies does not unset it.

This commit was sponsored by Thom May on Patreon.
2017-01-30 15:27:25 -04:00
Joey Hess
67ffb8bada
comment
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-01-30 14:10:21 -04:00
https://anarc.at/openid/
aa24a7347b Added a comment: usability... 2017-01-30 18:06:22 +00:00
Joey Hess
546a5692c3
response
This commit was sponsored by Thomas Hochstein on Patreon.
2017-01-30 13:52:08 -04:00
Joey Hess
6689dfae11
comment 2017-01-30 13:32:28 -04:00
Joey Hess
809ddd9df8
reusing repository uuid cannot result in data loss AFAIK
Avoiding such problems is one reason why git-annex does active
verification of other copies of a file when dropping.

You could argue that reusing the uuid of a trusted repository leads to
data loss, but that data loss doesn't really involve reusing the uuid,
but instead is caused by deleting a trusted repository. Using trusted
repositories without a great deal of care is a good way to blow off your
foot, of which deleting them is only the most obvious;
added some sections about that.

If reusing a repository uuid could result in data loss then I'd be on
board with making reinit run a fast fsck to update the location log, but
since it can't, I feel that is not worth forcing. Not a bad idea to run
fsck afterwards. Updated language about that.

This commit was sponsored by Jake Vosloo on Patreon.
2017-01-30 13:18:50 -04:00
Joey Hess
280442ca2c
Remove -j short option for --json-progress; that option was already taken for --json.
This commit was sponsored by Trenton Cronholm.
2017-01-30 12:46:42 -04:00
Joey Hess
ab867a7af9
responses 2017-01-30 12:42:02 -04:00
thomas.l.clune@39f0ca5621ddc6cbe4550be3ca9a22ec70edc9a6
75d7177b01 Added a comment: git-annex - many filesystems 2017-01-30 14:24:11 +00:00
Apichat
a603c6ed0b Added a comment: OMEMO to encrypt content end to end 2017-01-28 11:05:29 +00:00
Edward Betts
93cbed539f fix typo 2017-01-27 18:18:09 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
b17cdc8fb2 report on initial findings 2017-01-27 14:45:32 +00:00
konubinix
d256907889 Added a comment: Same here 2017-01-26 11:20:32 +00:00
konubinix
87ce119f2f Added a comment: Same here 2017-01-26 11:20:12 +00:00
konubinix
9046a54841 Added a comment: Same here 2017-01-26 11:19:51 +00:00
konubinix
60ac371fd0 Added a comment: Same here 2017-01-26 11:19:24 +00:00
konubinix
f1ad964ad8 Added a comment: Same here 2017-01-26 11:19:02 +00:00
jaylangseth@fa84aeedaf6dd96a51e93b012339ac09fb4dc135
b957509c39 2017-01-24 18:38:22 +00:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
6ce01ca9e5 2017-01-24 17:15:32 +00:00
Edward Betts
bc58a9402b fix typo 2017-01-24 10:43:33 +00:00