Commit graph

36918 commits

Author SHA1 Message Date
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0
16f2ccfc7c bad edit
This reverts commit ce664ebc7b
2020-04-13 09:16:39 +00:00
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0
ce664ebc7b Best way to restore objects with correct names w/o git log present? 2020-04-13 09:13:51 +00:00
Ilya_Shlyakhter
995d327784 Added a comment 2020-04-13 00:53:59 +00:00
erewhon
4714d2cc5e 2020-04-12 19:28:38 +00:00
erewhon
f6e0345b07 2020-04-12 19:10:35 +00:00
Joey Hess
eedd73b846
fix reversion caused by earlier optimisation to git-annex branch reads
aeca7c2207 was predicated on the
assumption that updateTo would stage any journal files, but in one case
it did not actually do so. The test suite happened to expose the bug.
2020-04-10 15:25:22 -04:00
Joey Hess
df587ff068
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-10 14:46:59 -04:00
Joey Hess
86426036a0
optimise catfile interface with ByteString and Attoparsec
Around 3% total speedup.

Profiling git annex find --not --in web, it's now bytestring end-to-end,
and there is only a little added overhead in eg accessing the Annex
state MVar (3%). The rest of the runtime is spent reading symlinks, and
in attoparsec.

This feels like the end of the optimisation road, without a major change
like caching information for faster queries.
2020-04-10 14:18:52 -04:00
Joey Hess
2caf579718
cache annex index filename for 1.5% speedup to queries 2020-04-10 13:37:04 -04:00
christoph@62dc589e980f444024ff1a9808022914e056f386
893239ed8f rename bugs/fsck_lies_about_checksum__63__.mdwn to bugs/fsck_tells___39__ok__39___also_if_no_file_present.mdwn 2020-04-10 12:06:52 +00:00
christoph@62dc589e980f444024ff1a9808022914e056f386
5c8deb61e1 2020-04-10 12:04:29 +00:00
christoph@62dc589e980f444024ff1a9808022914e056f386
fec5b99901 2020-04-10 12:02:35 +00:00
Joey Hess
5e4423c058
new optimisation target 2020-04-09 14:13:00 -04:00
Joey Hess
aeca7c2207
Sped up query commands that read the git-annex branch by around 5%
The only price paid is one additional MVar read per write to the journal.
Presumably writing a journal file dominiates over a MVar read time by
several orders of magnitude.

--batch does not get the speedup because then it needs to notice when
another process has made a change. Also made the assistant and other damon
modes bypass the optimisation, which would not help them anyway.
2020-04-09 13:54:43 -04:00
Joey Hess
aba905152a
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-08 14:12:20 -04:00
Joey Hess
541803bb52
changelog for ByteString Ref 2020-04-08 14:10:29 -04:00
Joey Hess
89c3b20695
Merge branch 'bytestring-ref' 2020-04-08 14:10:24 -04:00
Joey Hess
3c369997fc
remove unused import 2020-04-08 14:04:58 -04:00
Chymera
02672e4734 2020-04-08 05:18:15 +00:00
yarikoptic
0209a8f55a Added a comment 2020-04-08 01:08:10 +00:00
Joey Hess
c0cd07c36b
Ref ByteString conversion done
Test suite passes.
2020-04-07 17:41:09 -04:00
Joey Hess
8b75da0521
comment 2020-04-07 14:49:08 -04:00
yarikoptic
5d076ee847 Added a comment 2020-04-07 18:25:46 +00:00
Joey Hess
0b91c0e314
comment 2020-04-07 13:46:10 -04:00
Joey Hess
6c81e0c8f1
ByteString Ref continued
Several nice speed wins I think.

At 340/633 files converted.
2020-04-07 13:27:11 -04:00
Joey Hess
d5d8259937
ByteString Ref continued
Attoparsec parser for diff-tree.

Changed fromRef back to producing a String, to avoid needing to convert
every use of it. However, this does mean I'm going to miss some
opportunities where fromRef is used and the result converted back to a
ByteString. Would be worth revisiting that at some point maybe.
2020-04-07 11:54:27 -04:00
kyle
c8829eedc0 Added a comment 2020-04-07 15:30:55 +00:00
yarikoptic
b7f9f3fdf5 initial remote 2020-04-06 21:35:32 +00:00
Joey Hess
279991604d
started converting Ref from String to ByteString
This should make code that reads shas and refs from git faster.

Does not compile yet, a lot needs to be done still.
2020-04-06 17:14:49 -04:00
kyle
909fcbaae5 bug: wanted=anything and deleted files 2020-04-06 16:51:44 +00:00
Joey Hess
6e9714612b
update 2020-04-05 18:35:34 -04:00
javkalas@30f67400375ff022347b37236b63786ecf79cd82
e9d138e717 Added a comment 2020-04-03 19:09:52 +00:00
Joey Hess
7ebc118776
adb: Better messages when the adb command is not installed
After a user completely ignored the display of the exception probably
because it didn't make sense..

This does make it a little bit slower since it checks adb is in path each
time before running it. Also, it might display a lot of warnings about it
not being installed.

This commit was sponsored by Ilya Shlyakhter on Patreon.
2020-04-02 10:48:28 -04:00
Joey Hess
23c1809aab
respond to confused user and close non-bug 2020-04-01 20:40:43 -04:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
3388f53391 2020-04-02 00:36:08 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
6d85c0932b 2020-04-02 00:33:24 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
318f157d16 2020-04-02 00:31:01 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
ae3d84e0b2 2020-04-02 00:30:13 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
a92892bb87 2020-04-02 00:22:34 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
df8c5b942b removed 2020-04-02 00:06:54 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
76693bceda removed 2020-04-02 00:06:22 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
78b6264a0a Added a comment 2020-04-01 23:37:55 +00:00
Joey Hess
8f297cb64f
remove old dead link 2020-04-01 15:44:15 -04:00
Joey Hess
acb356d75d
reorg more 2020-04-01 15:42:59 -04:00
Joey Hess
7d196c3e0d
move to right place and remove debian and hackage matrix embeds which have stopped working 2020-04-01 15:40:44 -04:00
Joey Hess
43d3948e52
added the datalad standalone build CI status badge 2020-04-01 15:38:40 -04:00
Joey Hess
9cb6c4b189
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-01 10:28:03 -04:00
xloem
ad483f5e23 2020-03-31 23:40:12 +00:00
thk
f4890ae642 2020-03-31 06:43:39 +00:00
thk
5df80188be Added a comment: Also problem with USB drives 2020-03-31 06:36:14 +00:00