Commit graph

40108 commits

Author SHA1 Message Date
Joey Hess
d3e49b210a
git-annex-config: Allow setting annex.securehashesonly
Which has otherwise been supported since 2019, but was missing from the
list of allowed repo-global configs.

Reordered the list to match the order in the git-annex-config man page, to
make them easy to cross-compare.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2021-04-26 13:50:37 -04:00
Joey Hess
28f5f7515c
response and close 2021-04-26 13:34:00 -04:00
Joey Hess
eece106c87
comment 2021-04-26 13:22:53 -04:00
Joey Hess
4375c5c837
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-26 13:13:13 -04:00
Joey Hess
8e24fb3507
update 2021-04-26 13:12:51 -04:00
ntraut9@6c7c5e5bfddb591c28ab8222f1de9cb56840a69e
5f13b26e63 Added a comment 2021-04-26 16:40:15 +00:00
ntraut9@6c7c5e5bfddb591c28ab8222f1de9cb56840a69e
75bd8462c5 Added a comment 2021-04-26 16:01:02 +00:00
https://launchpad.net/~r0lf
5738756254 Added a comment 2021-04-26 13:05:15 +00:00
https://launchpad.net/~r0lf
369de4d20e removed 2021-04-26 13:03:46 +00:00
https://launchpad.net/~r0lf
4f24df2150 Added a comment 2021-04-26 13:03:20 +00:00
https://launchpad.net/~r0lf
08a8dc25d6 Added a comment 2021-04-26 12:22:43 +00:00
https://launchpad.net/~r0lf
becf1dcfe6 2021-04-26 11:58:13 +00:00
felix.hagemann@b76e9ea0928cf33dacffc37ec3dbecf33171a8a5
df77e3d56b Added a comment: Still happening 2021-04-25 16:20:05 +00:00
Lukey
ac3e1c5972 Added a comment 2021-04-25 11:53:29 +00:00
ijc@c69abafeb65fa2e784811fc549e9976a5cf4b903
414d3325ea 2021-04-25 10:15:28 +00:00
lucasleblow@82e8f9921fb2e69327ce533bc128180600761839
c86f1688e3 2021-04-25 03:30:18 +00:00
Ilya_Shlyakhter
4688c7bc18 Added a comment: sparse checkouts to hide non-present files 2021-04-24 22:00:14 +00:00
https://launchpad.net/~r0lf
1b19140488 Added a comment: try to find a better solution 2021-04-24 11:03:28 +00:00
https://launchpad.net/~r0lf
facc70580d removed 2021-04-24 10:41:15 +00:00
https://launchpad.net/~r0lf
cd053a2d47 Added a comment: try to find a better solution 2021-04-24 10:40:18 +00:00
https://launchpad.net/~r0lf
41a42c5f0e removed 2021-04-24 10:39:21 +00:00
https://launchpad.net/~r0lf
4f8ae886d2 Added a comment 2021-04-24 10:38:37 +00:00
https://launchpad.net/~r0lf
43177539e7 2021-04-24 10:17:46 +00:00
Joey Hess
4b9da9fd56
remove misleading para
moving journal-private to journal risks losing other lines from the log
files
2021-04-23 16:01:12 -04:00
Joey Hess
34c2d13dce
add note to git-annex-log man page about when information is not available 2021-04-23 14:53:38 -04:00
Joey Hess
bfa2db9222
done 2021-04-23 14:48:45 -04:00
Joey Hess
2b264b3edf
initremote --private 2021-04-23 14:47:46 -04:00
Joey Hess
141a4e9750
consistent name for config
annex.private is a bit ambiguous about what kind of privacy, but
it keeps the name symmetric with remote.foo.annex-private.
2021-04-23 14:39:57 -04:00
Joey Hess
32138b8cd8
implement annex.privateremote and remote.name.private configs
The slightly unusual parsing in Types.GitConfig avoids the need to look
at the remote list to get configs of remotes. annexPrivateRepos combines
all the configs, and will only be calculated once, so it's nice and
fast.

privateUUIDsKnown and regardingPrivateUUID now need to read from the
annex mvar, so are not entirely free. But that overhead can be optimised
away, as seen in getJournalFileStale. The other call sites didn't seem
worth optimising to save a single MVar access. The feature should have
impreceptable speed overhead when not being used.
2021-04-23 14:21:57 -04:00
Joey Hess
0e830b6bb5
make remoteKeyToRemoteName safer
If it's passed a ConfigKey such as annex.version, avoid returning
an empty remote name and return Nothing instead. Also, foo.bar.baz is
not treated as a remote named "bar".
2021-04-23 13:29:21 -04:00
Joey Hess
5cb05c43c9
fix build after merge 2021-04-23 13:26:10 -04:00
Joey Hess
d5a05655b4
Merge branch 'master' into hiddenannex 2021-04-23 13:06:33 -04:00
Joey Hess
a8b5a048c0
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-23 12:37:28 -04:00
Joey Hess
0547884eb2
importfeed: fix bug while also speeding up 12x!
* Fix bug that could make git-annex importfeed not see recently recorded
  state when configured with annex.alwayscommit=false.
* importfeed: Made "checking known urls" phase run 12 times faster.

The massive speedup is because it no longer queries for metadata
accompanying each url. Instead it processes the whole git-annex branch and
checks all metadata files for feed item ids, and uses any it finds.

This could result in a behavior change, in an unlikely situation: If a feed
id is recorded in a key's metadata, but the url gets removed, the old code
would not see that item id and would re-download it if it finds an url for
it in a feed, while the new code will see the item id. I don't think
the old behavior was intentional, and it may be that the new behavior is
better. Not gonna worry about this.
2021-04-23 12:36:56 -04:00
Joey Hess
b689f17062
refactoring 2021-04-23 11:44:10 -04:00
fooness
0eb0995a26 removed 2021-04-23 15:39:28 +00:00
Joey Hess
657d55c401
convert withKnownUrls to use overBranchFileContents
This only partly fixes importfeed to see journalled files, since it
separately cats metadata directly from the branch. Held off on a
changelog for a bug fix until that's dealt with.
2021-04-23 11:32:25 -04:00
Joey Hess
da0a696c96
Revert "reorder another test"
This reverts commit 3e63f00f63.
2021-04-23 01:01:29 -04:00
Joey Hess
bb4f2af602
windows needs to die 2021-04-23 00:38:18 -04:00
Joey Hess
e623b0fd87
close old bug 2021-04-23 00:25:22 -04:00
Joey Hess
37541c6d27
rename forum post that breaks windows checkout
at least sometimes, not on the autobuilder. I think git treats the ...
as a possible path traveral or something
2021-04-22 19:15:43 -04:00
Joey Hess
27a29c99fe
update 2021-04-22 12:52:32 -04:00
Joey Hess
3e63f00f63
reorder another test
continuing to try to narrow down cause of failure on windows
2021-04-22 10:03:35 -04:00
Joey Hess
7b465515e6
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-22 09:40:25 -04:00
Atemu
07a7d33364 Added a comment 2021-04-22 10:01:01 +00:00
Joey Hess
dc37a5d1eb
update 2021-04-21 23:42:00 -04:00
pat
0b51e86f4f Added a comment 2021-04-21 22:33:55 +00:00
Joey Hess
7482c17897
comment 2021-04-21 17:30:27 -04:00
Joey Hess
4af9b3381c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-21 17:19:25 -04:00
Joey Hess
7cb96bc3e3
alternative 2021-04-21 17:18:47 -04:00