Commit graph

38450 commits

Author SHA1 Message Date
yarikoptic
07e9f43c63 todo/question on how to get full path to the key knowing metadata but having no file 2020-11-11 19:29:14 +00:00
Joey Hess
487f7f979e
bump filepath-bytestring dep 2020-11-11 11:49:19 -04:00
Joey Hess
15b75ef1b8
mixed up some of these long urls 2020-11-11 11:47:58 -04:00
Joey Hess
6911d27d42
fix build on windows 2020-11-11 08:51:42 -04:00
Joey Hess
326587a7d1
fix build on OSX more 2020-11-11 08:51:09 -04:00
Joey Hess
adcf95f3f2
updated github builds that datalad is doing 2020-11-11 08:50:18 -04:00
Joey Hess
9c9c74d824
update 2020-11-11 08:14:55 -04:00
Joey Hess
da80f75f3b
question 2020-11-11 07:53:42 -04:00
Joey Hess
bc1ac21885
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-10 12:15:04 -04:00
Joey Hess
92b7b1964d
add warning on add of annex link
Warn when adding a annex symlink or pointer file that uses a key that is
not known to the repository, to prevent confusion if the user has copied it
from some other repository.

This commit was sponsored by Jake Vosloo on Patreon.
2020-11-10 12:10:51 -04:00
jcjgraf
736a51112b Added a comment 2020-11-10 16:05:57 +00:00
Joey Hess
9e8eae20e2
comment 2020-11-10 11:53:45 -04:00
Joey Hess
4c1eb28c40
fix build on windows 2020-11-10 11:21:03 -04:00
Joey Hess
d22614d3db
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-10 11:16:56 -04:00
Joey Hess
278c672141
fix build on OSX 2020-11-10 11:16:39 -04:00
Joey Hess
c6604406b9
bump dep on filepath-bytestring
needed for makeRelative
2020-11-10 11:15:14 -04:00
jcjgraf
b05ba8aa5a Added a comment 2020-11-10 10:17:12 +00:00
Joey Hess
885974be99
add newtypes for QuickCheck to avoid LANG=C issues
All properties changed to use them, except for
prop_encode_c_decode_c_roundtrip, which already filtered to ascii
for other reasons.

A few modules had to be split out, because Setup does not build-depend
on QuickCheck.
2020-11-09 20:21:18 -04:00
Joey Hess
aad4129669
diagnosis 2020-11-09 19:10:41 -04:00
yarikoptic
098984574d fresh test failures + report that still there are FTBFS: I only wish git-annex development used some CI 2020-11-09 22:11:32 +00:00
Joey Hess
e81bb05b25
add debug in two unusual situations 2020-11-09 17:52:06 -04:00
Joey Hess
af9354f447
comment 2020-11-09 17:30:08 -04:00
jcjgraf
7e2b74d278 Added a comment 2020-11-09 20:41:00 +00:00
Joey Hess
0f28133778
followup 2020-11-09 15:45:39 -04:00
Joey Hess
cab33481c0
Merge branch 'master' of ssh://git-annex.branchable.com 2020-11-09 15:26:31 -04:00
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
jcjgraf
3e12f5872a Added a comment 2020-11-09 18:13:47 +00: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