Commit graph

38400 commits

Author SHA1 Message Date
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4
02d3e58610 Added a comment 2020-10-23 05:37:41 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
990ed1055a Added a comment 2020-10-23 02:00:09 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
83a718dff2 2020-10-23 01:53:33 +00:00
yarikoptic
1c242ca5fd initial report on a failing test on windows about storeKey when already present 2020-10-23 01:49:02 +00:00
Joey Hess
83e570c0cb
this protocol is not draft for some time 2020-10-22 19:55:29 -04:00
Joey Hess
4d063f12c6
turns out this was fixed in 2014 2020-10-22 19:54:26 -04:00
Joey Hess
2f96e15eda
Merge branch 'master' of ssh://git-annex.branchable.com 2020-10-22 19:24:38 -04:00
Joey Hess
9ed32ce62b
urk 2020-10-22 19:23:48 -04:00
yarikoptic
c24480c061 Added a comment: windows build with magic 2020-10-22 19:32:55 +00:00
jwodder
731a982f1b Added a comment 2020-10-22 18:13:40 +00:00
Joey Hess
577af1b679
rename to avoid windows stupididy about legal filenames 2020-10-22 13:58:20 -04:00
Joey Hess
8f3d34da30
add 2020-10-22 13:55:47 -04:00
Joey Hess
5941737074
add 2020-10-22 13:55:41 -04:00
Joey Hess
b62e004c2c
update chunk log after speculated chunks are verified to be present
Only done in checkPresentChunks, although retrieveChunks could also do
it. Does not seem necessary though, because git-annex never retrives
content without first checking if it's present AFAICR. And really this will
only be needed when using fsck. Puttting it here, rather than in fsck
avoids breaking an abstraction boundary, and is nice and inexpensive.
2020-10-22 13:37:09 -04:00
Joey Hess
dad4be97c2
speculatively use remote's configured chunk size as a fallback
When a special remote has chunking enabled, but no chunk sizes are
recorded (or the recorded ones are not found), speculatively try chunks
using the configured chunk size.

This makes eg, git-annex fsck --from remote be able to fix up the
location log of a file that the git-annex branch does not indicate is
stored on the remote.

Note that fsck does *not* fix up the chunk log to indicate the chunk
size. So, changing the chunk config of the remote after that will still
prevent accessing the chunks stored on it. Maybe fsck should, but I
wanted to start with this and see if it's needed.
2020-10-22 13:11:06 -04:00
Joey Hess
b3345eb4ab
close 2020-10-22 12:03:13 -04:00
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
3b740ac4dc Added a comment: cannot find this mentioned Windows build :| 2020-10-21 20:46:37 +00:00
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
a9cec7a810 2020-10-21 20:44:23 +00:00
edward
c20be8d09b Fix a broken link 2020-10-21 19:22:57 +00:00
Lukey
d7b95e363e Added a comment 2020-10-21 19:10:01 +00:00
ericm
4816cfc104 2020-10-21 18:18:25 +00:00
Joey Hess
b7835701c8
Merge branch 'master' of ssh://git-annex.branchable.com 2020-10-21 10:32:24 -04:00
Joey Hess
02d5466c23
devblog 2020-10-21 10:32:08 -04:00
Joey Hess
0133b7e5a8
move: Improve resuming a move that was interrupted after the object was transferred
In cases where numcopies checks prevented the resumed move from dropping
the object from the source repository, it now relies on a log of recent
moves to replicate the behavior of the interrupted command.

Performance: Probably noticable impact, since it has to add to the log,
check the log, and remove from the log. Seems worth it to avoid this
annoying edge case. The log functions are pretty well optimised to avoid
unncessary work.

An performance improvement to make later would be to avoid cleanup doing
anything if it's not written to the log file, and has confirmed that the
log file does not contain the log line.

This commit was sponsored by Jake Vosloo on Patreon.
2020-10-21 10:31:56 -04:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
9f69a68ed7 removed 2020-10-21 07:51:58 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
fd30262fb3 Added a comment 2020-10-21 07:51:37 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
bdc7f63c21 Added a comment 2020-10-21 07:51:13 +00:00
yarikoptic
8f261113f3 report/idea on minting chunked keys to try from special remote 2020-10-20 23:31:22 +00:00
Joey Hess
363acfb55b
more log file actions
Which will be needed soon.

And use more ByteStrings for speed.

This commit was sponsored by Graham Spencer on Patreon.
2020-10-20 16:51:03 -04:00
Joey Hess
62d630272e
improve name 2020-10-20 15:06:55 -04:00
yarikoptic
fa686784f1 Added a comment 2020-10-20 16:39:15 +00:00
kyle
7c78321770 Added a comment 2020-10-20 15:59:26 +00:00
ericm
ad86a25c58 Added a comment 2020-10-20 13:45:10 +00:00
achilleas
fb2bd67f76 New bug report 2020-10-20 12:51:55 +00:00
yarikoptic
b6f70c2876 Added a comment 2020-10-20 12:33:29 +00:00
yarikoptic
1a5fc2667f Added a comment 2020-10-20 12:29:19 +00:00
Joey Hess
7036d0a4c1
add, import: Fix a reversion in 7.20191009 that broke handling of --largerthan and --smallerthan
This commit was sponsored by Jochen Bartl on Patreon.
2020-10-19 15:36:18 -04:00
Joey Hess
b390a4012c
bug 2020-10-19 15:24:38 -04:00
Joey Hess
f8b0be1f93
comment 2020-10-19 15:04:52 -04:00
Joey Hess
b9c02b29fe
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-10-19 14:57:30 -04:00
Joey Hess
15ea0e6c0a
design done 2020-10-19 14:57:02 -04:00
Joey Hess
5009c1ce68
update 2020-10-19 14:49:16 -04:00
Joey Hess
72644d919a
fix build warning 2020-10-19 14:48:21 -04:00
ericm
9d70cd5def 2020-10-19 18:33:57 +00:00
Joey Hess
c337b58caf
more thoughts 2020-10-19 14:19:41 -04:00
Joey Hess
c3e5417c17
don't try to remove pre-commit-annex and post-update-annex-hooks
Those are not installed by git-annex but by the user, and so removal
will never find the default content, and so if the user did install
them, it would display a misleading message.

Seems better, since the user installed them, to let the user remove them
if they want to.
2020-10-19 13:13:49 -04:00
Joey Hess
b2c5c99506
comment 2020-10-19 13:12:07 -04:00
Joey Hess
f1398a1a92
comment 2020-10-19 13:04:03 -04:00
Joey Hess
bdb6d8581c
comment 2020-10-19 12:37:40 -04:00
Joey Hess
3c6cfacb19
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-10-19 12:19:33 -04:00