Commit graph

42343 commits

Author SHA1 Message Date
Joey Hess
eb3582459c
improve wording 2022-09-13 15:28:57 -04:00
Joey Hess
f399974022
comment 2022-09-13 15:13:06 -04:00
Joey Hess
56bc032c19
update to work with modern git 2022-09-13 15:09:02 -04:00
Joey Hess
9d9e3d6d1a
comment 2022-09-13 15:07:58 -04:00
Joey Hess
939276b4df
comment 2022-09-13 14:58:45 -04:00
Joey Hess
eefc026370
fix reversion on skipping dead keys in --all/bare
Fix a reversion that made dead keys not be skipped when operating on all
keys via --all or in a bare repo. (Introduced in version 8.20200720)

Also, improved the documentation of git-annex-dead, it does not only apply
to fsck --all.

Also, made git-annex fsck, when run on a file whose key is dead, display
that. Before, it displayed that only when run with --all, but with this
fix, it skips dead keys with --all. But it can still be run on a file that
uses a dead key, and displaying "This key is dead" explains to the user
why it does not consider missing content for it to be a problem.

Sponsored-by: k0ld on Patreon
2022-09-13 14:38:13 -04:00
Joey Hess
b7f13181ad
comment 2022-09-13 14:17:01 -04:00
Joey Hess
97825216b2
Merge branch 'master' of ssh://git-annex.branchable.com 2022-09-13 14:13:31 -04:00
Joey Hess
d722681a10
comment 2022-09-13 14:13:19 -04:00
yarikoptic
57543f11a8 Added a comment 2022-09-13 18:02:35 +00:00
Ilya_Shlyakhter
8b85521b41 Added a comment: re: many small files 2022-09-13 17:28:29 +00:00
Ilya_Shlyakhter
bce66e1bc5 Added a comment: many small files 2022-09-13 17:20:45 +00:00
Joey Hess
a0379ac9af
Merge branch 'master' of ssh://git-annex.branchable.com 2022-09-13 13:19:24 -04:00
Joey Hess
ea6c733e45
comment 2022-09-13 13:19:18 -04:00
Ilya_Shlyakhter
4cbb3e5752 Added a comment: re: How to forget keys that get can't find 2022-09-13 17:16:52 +00:00
Joey Hess
4232eb1c1f
comment 2022-09-13 13:08:41 -04:00
Joey Hess
0648b6337b
comment 2022-09-13 12:49:49 -04:00
Joey Hess
e13444fb2b
comments 2022-09-13 12:46:05 -04:00
prancewit
733a74a7e8 Added a comment 2022-09-13 11:19:54 +00:00
Atemu
15a23ace3d Added a comment 2022-09-13 09:53:48 +00:00
prancewit
0b3da75e62 2022-09-12 19:06:11 +00:00
pat
07b7a2c668 Added a comment 2022-09-11 17:11:36 +00:00
Ilya_Shlyakhter
e7f0fa759f Added a comment: re: How to forget keys that get can't find? 2022-09-11 16:43:47 +00:00
pat
9d6feb42a6 2022-09-10 21:39:59 +00:00
pat
e52c4f69b4 2022-09-10 21:19:42 +00:00
pat
901c89b287 2022-09-10 21:07:30 +00:00
pat
cc97119880 2022-09-10 21:04:30 +00:00
pat
244827ebc6 2022-09-10 21:00:18 +00:00
pat
7edb7cd491 2022-09-10 20:59:30 +00:00
pat
12a8af17bf 2022-09-10 20:15:52 +00:00
pat
d104ac5a87 2022-09-10 20:14:51 +00:00
jgoerzen
e92dfbce72 Added a comment 2022-09-10 00:38:17 +00:00
jgoerzen
0d265841d4 Added a comment 2022-09-10 00:37:45 +00:00
jgoerzen
29a80ceed1 2022-09-10 00:37:09 +00:00
jgoerzen
aee5e0c6fc Added a comment 2022-09-10 00:32:57 +00:00
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9
cc053c820e Added a comment 2022-09-09 20:46:31 +00:00
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9
a2dd58e9d4 Added a comment 2022-09-09 20:45:13 +00:00
Joey Hess
483e85fe5f
Merge branch 'master' of ssh://git-annex.branchable.com 2022-09-09 16:08:13 -04:00
Joey Hess
d2c842e9a1
don't force use of conduit in withUrlOptionsPromptingCreds
Use curl for downloads from git remotes when annex.url-options and other
git configs are set.

If the url needs a password, curl will fail, and git credential will not be
used to prompt for it. But the user can set --netrc in url-options and
put the password in the netrc file.

This also means that url-options settings like -4 will take effect.
That was the case before commit 1883f7ef8f
forced conduit to be used.
2022-09-09 16:07:32 -04:00
HiDefender
914729d8e4 Added a comment: Using git-annex on NTFS with WSL2 2022-09-09 19:24:56 +00:00
Joey Hess
247c0e59cf
comment 2022-09-09 15:15:54 -04:00
Joey Hess
511e711bed
close 2022-09-09 14:53:26 -04:00
Joey Hess
c2184e2295
Merge branch 'master' of ssh://git-annex.branchable.com 2022-09-09 14:46:55 -04:00
Joey Hess
c62fe5e9a8
avoid redundant prompt for http password in git-annex get that does autoinit
autoEnableSpecialRemotes runs a subprocess, and if the uuid for a git
remote has not been probed yet, that will do a http get that will prompt
for a password. And then the parent process will subsequently prompt
for a password when getting annexed files from the remote.

So the solution is for autoEnableSpecialRemotes to run remoteList before
the subprocess, which will probe for the uuid for the git remote in the
same process that will later be used to get annexed files.

But, Remote.Git imports Annex.Init, and Remote.List imports Remote.Git,
so Annex.Init cannot import Remote.List. Had to pass remoteList into
functions in Annex.Init to get around this dependency loop.
2022-09-09 14:43:43 -04:00
Joey Hess
9621beabc4
cache credentials in memory when doing http basic auth to a git remote
When accessing a git remote over http needs a git credential prompt for a
password, cache it for the lifetime of the git-annex process, rather than
repeatedly prompting.

The git-lfs special remote already caches the credential when discovering
the endpoint. And presumably commands like git pull do as well, since they
may download multiple urls from a remote.

The TMVar CredentialCache is read, so two concurrent calls to
getBasicAuthFromCredential will both prompt for a credential.
There would already be two concurrent password prompts in such a case,
and existing uses of `prompt` probably avoid it. Anyway, it's no worse
than before.
2022-09-09 14:20:32 -04:00
jgoerzen
7e6b2de2c5 2022-09-09 17:28:06 +00:00
yarikoptic
9811a02b67 Added a comment 2022-09-09 16:51:47 +00:00
Joey Hess
adb2f5cc00
comment 2022-09-09 12:39:28 -04:00
Joey Hess
28fc8d491f
comment 2022-09-09 12:30:46 -04:00
yarikoptic
22a311ef46 reporting flaky tests on ndoli 2022-09-08 15:01:50 +00:00