Commit graph

37263 commits

Author SHA1 Message Date
Joey Hess
82448bdf39
fix a annex.pidlock issue
That made eg git-annex get of an unlocked file hang until the
annex.pidlocktimeout and then fail.

This fix should be fully thread safe no matter what else git-annex is
doing.

Only using runsGitAnnexChildProcess in the one place it's known to be a
problem. Could audit for all places where git-annex runs itself as a child
and add it to all of them, later.
2020-06-17 15:30:59 -04:00
Joey Hess
9583b267f5
confirmed fix 2020-06-17 12:12:41 -04:00
Joey Hess
34875a5ca1
remove old ghci hack
cabal repl
2020-06-17 11:38:27 -04:00
Joey Hess
7de3f8de11
updates for new cabal
The old make fast machinery doesn't work at all with it, but it seems
actually reasonably fast now to just disable optimisation, so made make
dev do that. And it sticks once used, which is handy.

Removed hdevtools hack, which won't work. There are ide integrations
that really solve the problem that hack was working around.

Misc fixes for dist-newstyle location.
2020-06-17 11:35:34 -04:00
Joey Hess
b072b71c27
one more bugfix to external special remote creds
The creds are passedthrough in this case, so check for such first to
avoid a crash when getRemoteConfigValue sees a type it was not
expecting.
2020-06-16 18:28:26 -04:00
Joey Hess
5c0dc7dc0b
fix a further bug 2020-06-16 18:14:36 -04:00
Joey Hess
ad81feb053
fix implicit embedcreds regression
Fix bug that made creds not be stored in git when a special remote was
initialized with gpg encryption, but without an explicit embedcreds=yes.

(Yet nother regression introduced in version 7.20200202.7. 5th so far.)
2020-06-16 18:00:19 -04:00
Joey Hess
a1d4c8e4ec
external: SETCREDS include creds in externalConfigChanges
This makes the creds get saved, since only things recorded there will be
saved.

IIRC, unparsedRemoteConfig was not originally available when I
implemented this; now that it is things get a bit simpler.

More could probably be simplified, is externalConfigChanges needed at
all?

This does not entirely fix the bugs though, because creds are only
embedded when embedcreds=yes, but not when encryption=pubkey is used
without embedcreds=yes.
2020-06-16 17:24:24 -04:00
Joey Hess
9fb549b3f1
fix strictness issue
Recent changes to Utility.Gpg exposed a strictness bug in how Creds
uses it.
2020-06-16 17:09:34 -04:00
Joey Hess
4773713cc9
analysis of regression and fix related less serious regression 2020-06-16 15:16:36 -04:00
Joey Hess
5b8933b914
comment 2020-06-16 15:16:35 -04:00
Joey Hess
cd15f6fa48
remove debug print 2020-06-16 14:43:06 -04:00
Joey Hess
9e0bafd70b
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-16 14:38:27 -04:00
Joey Hess
3d53cbc614
comment 2020-06-16 14:38:02 -04:00
yarikoptic
d7f05a328a Added a comment 2020-06-16 18:30:07 +00:00
Joey Hess
7a63260a8f
ignore cabal new-build file 2020-06-16 14:26:28 -04:00
Joey Hess
d4d0951c07
followup and break out todo item to prioritize 2020-06-16 14:25:51 -04:00
Joey Hess
3922f34f8e
comment 2020-06-16 14:16:02 -04:00
Joey Hess
ae90210295
response 2020-06-16 14:01:25 -04:00
Joey Hess
f0f1a23404
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-16 13:55:07 -04:00
Joey Hess
c4f2c56f5e
checkpresentkey: fix behavior to match documentation
checkpresentkey: When no remote is specified, try all remotes, not only
ones that the location log says contain the key. This is what the
documentation has always said it did.

Still try the logged remotes first, because they are far more likely to
have the key.
2020-06-16 13:54:26 -04:00
Joey Hess
f3010afbf6
improve docs and close incorrect bug report 2020-06-16 13:45:00 -04:00
Joey Hess
a76b1ba3d6
local git remote autoinit improvements
* Improve display of problems auto-initializing or upgrading local git
  remotes.
* When a local git remote cannot be initialized because it has no
  git-annex branch or a .noannex file, avoid displaying a message about it.
2020-06-16 13:24:00 -04:00
Joey Hess
9f61cb94c0
comment 2020-06-16 12:53:10 -04:00
gb@4a49bb1afcf3d183bba8f07297b0395808768c6c
784d9032c2 Added a comment: Is IA.BAK still active? 2020-06-16 16:51:40 +00:00
Joey Hess
e360cc10cd
comment 2020-06-16 12:34:21 -04:00
https://dead-doomer.livejournal.com/
fc909493e5 Added a comment 2020-06-16 16:31:32 +00:00
https://dead-doomer.livejournal.com/
11a15eee2d Added a comment: How do I specify a merge command if I don't need separate branches? 2020-06-16 16:17:48 +00:00
https://dead-doomer.livejournal.com/
273a4b283e removed 2020-06-16 16:15:24 +00:00
Joey Hess
1f70ea119b
comment 2020-06-16 12:11:36 -04:00
https://dead-doomer.livejournal.com/
d370aff8dc Added a comment: How do I specify a merge command if I don't need separate branches? 2020-06-16 16:11:30 +00:00
Joey Hess
41952204ce
S3: The REDUCED_REDUNDANCY storage class is no longer cheaper
So stop documenting it, and stop offering it as a choice in the assistant.

Removed the code that parses it into S3.ReducedRedundancy, because
S3.OtherStorageClass with the value will work just the same and avoids a
special case for a deprecated this.
2020-06-16 12:04:29 -04:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
6dac582f06 Mark as done 2020-06-15 11:44:20 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
1e0dd34566 Added a comment 2020-06-15 11:42:41 +00:00
calmofthestorm
7c7f28ab79 Added a comment: Thanks, this does exactly what I want 2020-06-15 07:25:30 +00:00
calmofthestorm
d912685417 2020-06-15 05:25:37 +00:00
https://dead-doomer.livejournal.com/
a55f145ca8 Added a comment 2020-06-15 05:23:31 +00:00
Ilya_Shlyakhter
fe1f8a2e96 Added a comment 2020-06-15 04:38:04 +00:00
https://dead-doomer.livejournal.com/
1c12c22100 2020-06-15 01:38:42 +00:00
rst@aed0aded638b9b7cb3ef3c9aa5ee0a544042f0cf
6b3c0407d4 2020-06-13 02:25:55 +00:00
Ilya_Shlyakhter
c003237871 Added a comment: separate processes for parallel transfers 2020-06-12 15:47:28 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
70ac351da2 2020-06-12 13:04:54 +00:00
yarikoptic
e8edbe1ff3 Added a comment: stalls 2020-06-12 03:40:54 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
cd326962c8 Added a comment 2020-06-11 22:51:09 +00:00
Joey Hess
e5ec6609c0
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-11 17:47:16 -04:00
Joey Hess
69efc2c26b
comment 2020-06-11 17:36:17 -04:00
yarikoptic
c2f84a76bc Added a comment 2020-06-11 21:13:38 +00:00
Joey Hess
c8ff3e082e
add debug logging wrapper for withCreateProcess 2020-06-11 16:43:24 -04:00
Joey Hess
b60b8ecc78
clarify 2020-06-11 16:20:18 -04:00
Joey Hess
4e778ef849
response 2020-06-11 16:14:17 -04:00