Joey Hess
d032b0885d
use MatchingKey when a Key is known
...
This fixes a bug where a file that was not preferred content could be
transferred to a remote. This happened when the file got deleted after
the sync started running.
The only time checkMatcher is run without a Key is in calls to
checkFileMatcher, which are only done by add, addurl, import, and
smudge --clean. Those won't be affected by this kind of race. Anything
else that might be precaching and have a similar race as sync will also
be fixed, but I don't know if it actually affected anything other than
sync.
As well as fixing a bug, this also probably makes sync and --auto faster
by avoiding the redundant key lookup.
This commit was sponsored by Graham Spencer on Patreon.
2020-11-09 15:17:22 -04:00
Joey Hess
d84371ff73
reproduced
2020-11-09 14:35:51 -04:00
Joey Hess
cefae2e257
close
2020-11-09 13:50:16 -04:00
Joey Hess
acc7a172ae
update link
2020-11-09 13:46:17 -04:00
Joey Hess
661499732a
comment
2020-11-09 12:38:44 -04:00
Joey Hess
dd52d8ebdc
update after RawFilePath transition
2020-11-09 12:12:25 -04:00
jochen.keil@38b1f86ab65128dab3e62e726403ceee4f5141bf
7df2979d98
Added a comment
2020-11-09 13:15:41 +00:00
https://christian.amsuess.com/chrysn
c592105924
Make change log entry readable on the wiki (previous copy-paste from (debian?) changelog garbled itemization)
2020-11-08 18:14:48 +00:00
Lukey
73bf45a163
Added a comment
2020-11-08 08:25:36 +00:00
yarikoptic
62820a4c30
Added a comment
2020-11-07 23:59:52 +00:00
Joey Hess
c64e95045d
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-07 14:10:19 -04:00
Joey Hess
028d4517c7
enable extensions needed by new version of persistent
...
Needed in order to use mkPersist in
persistent version 2.11.0.1
persistent-template version 2.9.1.0
2020-11-07 14:09:17 -04:00
Joey Hess
3f08c34073
bug
2020-11-07 10:58:43 -04:00
yarikoptic
ea9d3f7d2f
FTBFS
2020-11-07 00:45:06 +00:00
Joey Hess
907a0bcad6
avoid providing filename with NUL to quickcheck properties
...
instance Arbitrary [Char] allows that, and it's not a legal part of a
filename so can break processing them.
Noticed when prop_view_roundtrips failed.
The instance Arbitrary AssociatedFile avoids this problem.
This commit was sponsored by Mark Reidenbach on Patreon.
2020-11-06 15:15:33 -04:00
Joey Hess
1db49497e0
finished this stage of the RawFilePath conversion
...
This commit was sponsored by Denis Dzyubenko on Patreon.
2020-11-06 14:10:58 -04:00
jcjgraf
d8e8d145e1
Added a comment
2020-11-06 14:57:52 +00:00
Lukey
1b02a81346
Added a comment
2020-11-06 14:14:18 +00:00
Joey Hess
2c8cf06e75
more RawFilePath conversion
...
Converted file mode setting to it, and follow-on changes.
Compiles up through 369/646.
This commit was sponsored by Ethan Aubin.
2020-11-05 18:45:37 -04:00
Lukey
9d598265e4
2020-11-05 18:41:25 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
4245fe144e
Added a comment
2020-11-05 17:55:31 +00:00
Joey Hess
9b0dde834e
convert getFileSize to RawFilePath
...
Lots of nice wins from this in avoiding unncessary work, and I think
nothing got slower.
This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2020-11-05 11:32:57 -04:00
jcjgraf
b7e8a75b8c
2020-11-05 13:31:04 +00:00
a@92214b2eae95307f511e06845d2cb5b5931b00a3
0431c2d067
Added a comment: Re: Moving S3 special remote
2020-11-05 03:44:52 +00:00
Joey Hess
2670af9d5a
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-04 14:40:34 -04:00
Joey Hess
f9fc26f05a
Merge branch 'master' into rawfilepath
2020-11-04 14:21:44 -04:00
Joey Hess
5a1e73617d
finished this stage of the RawFilePath conversion
...
Finally compiles again, and test suite passes.
This commit was sponsored by Brock Spratlen on Patreon.
2020-11-04 14:20:37 -04:00
Joey Hess
4bcb4030a5
more RawFilePath conversion
...
580/645
This commit was sponsored by Jack Hill on Patreon.
2020-11-03 18:34:27 -04:00
a@92214b2eae95307f511e06845d2cb5b5931b00a3
937f84a9ea
2020-11-03 16:38:19 +00:00
Joey Hess
eacfb58eca
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-03 11:53:52 -04:00
Joey Hess
0cf77eb41c
add news item for git-annex 8.20201103
2020-11-03 11:53:33 -04:00
Joey Hess
2dabd4cc2d
releasing package git-annex version 8.20201103
2020-11-03 11:53:11 -04:00
Joey Hess
78178d4c33
clean build warning
2020-11-03 11:36:48 -04:00
Joey Hess
eb42cd4d46
more RawFilePath conversion
...
535/645
This commit was sponsored by Brett Eisenberg on Patreon.
2020-11-03 10:11:04 -04:00
Joey Hess
664bec4297
comment
2020-11-02 22:34:04 -04:00
yarikoptic
7e24b2587e
Added a comment
2020-11-03 02:12:17 +00:00
yarikoptic
2c88c5e258
initial formal report on drop
2020-11-03 02:02:41 +00:00
yarikoptic
7f4e511613
Added a comment
2020-11-02 21:04:35 +00:00
yarikoptic
5b4d5f6d64
Added a comment
2020-11-02 20:37:47 +00:00
Joey Hess
55400a03d3
more RawFilePath conversion
...
This commit was sponsored by Luke Shumaker on Patreon.
2020-11-02 16:31:28 -04:00
Joey Hess
b724236b35
remove unused imports
2020-11-02 15:36:11 -04:00
Joey Hess
49475eb3d9
rename 2 bug report titles that are too long due to pasting enormous error messages into title entry
...
So the repo can be cloned on windows.
2020-11-02 15:25:10 -04:00
Joey Hess
e926305221
add maxlength=50 to ikiwiki template used for page title entry
2020-11-02 15:21:24 -04:00
Joey Hess
c2056c1caf
test case for view
...
For reversion fixed in 9252f86b2e
This commit was sponsored by Ethan Aubin
2020-11-02 15:06:55 -04:00
Joey Hess
40679616ed
comment
2020-11-02 15:01:17 -04:00
Joey Hess
15e08bd572
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-02 14:47:57 -04:00
Joey Hess
9252f86b2e
view: Fix a reversion in 8.20200522 that broke entering or changing views.
...
Commit 2dc7b5186a
messed up indentation.
This commit was sponsored by Noam Kremen on Patreon.
2020-11-02 14:47:08 -04:00
Joey Hess
c41be0d3bd
Merge branch 'master' into rawfilepath
2020-11-02 14:35:46 -04:00
yarikoptic
79874325b8
a plea for more --debug output
2020-11-02 18:04:20 +00:00
Joey Hess
efdb13fca3
comment
2020-11-02 13:55:30 -04:00