Commit graph

37292 commits

Author SHA1 Message Date
Franky
549c9b1e0b 2020-06-18 22:54:03 +00:00
Franky
3385d7bbeb 2020-06-18 22:50:22 +00:00
Franky
a27798c35f 2020-06-18 22:48:59 +00:00
yarikoptic
775c1cb032 Added a comment 2020-06-18 19:17:27 +00:00
Joey Hess
4c44deb2cd
improve cabal v2 use
cabal exec in v2 puts the built binary in PATH, so can just ask where it
is that way, and symlink it

And cabal exec hothasktags simplifies running that, because it sets up
most of the necessary environment.

The tags and TAGS targets now need cabal v2 to work.
2020-06-18 13:56:03 -04:00
Joey Hess
22ac56fece
test suite passing 2020-06-18 13:55:32 -04:00
Joey Hess
d5451afc8f
fix deadlock
Fix a deadlock that could occur after git-annex got an unlocked file,
causing the command to hang indefinitely.

Known to happen on vfat filesystems, possibly others.

Note that a deadlock is still theoretically possible, if anything
smudge --clean does causes it to run the git queue for some other
reason.

Apparently that doesn't happen, but will need to keep an eye on it.
2020-06-18 12:56:29 -04:00
Joey Hess
82381211fa
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-18 12:26:30 -04:00
Joey Hess
45cc727263
ignore cabal.project.local~
cabal creates this if it overwrites the file
2020-06-18 12:25:47 -04:00
Franky
852dae987f Added a comment 2020-06-18 16:17:39 +00:00
Joey Hess
348821c9cf
analysis of deadlock 2020-06-18 12:10:54 -04:00
mzimann
2044487158 Added a comment: push doc-only changes 2020-06-18 15:54:52 +00:00
Joey Hess
0f43efa15b
tail the find in dist-newstyle
unfortunately old builds for old versions can linger in there
2020-06-18 11:37:43 -04:00
Joey Hess
572369ced2
clean dist-newstyle 2020-06-17 17:44:38 -04:00
Joey Hess
d46490c17f
add news item for git-annex 8.20200617 2020-06-17 16:00:23 -04:00
Joey Hess
48a88d822d
releasing package git-annex version 8.20200617 2020-06-17 15:59:34 -04:00
Joey Hess
3464fa12c7
meh 2020-06-17 15:58:39 -04:00
Joey Hess
762fd5ae5d
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-17 15:35:27 -04:00
strmd
8c8e61ca1d Added a comment 2020-06-17 19:34:13 +00:00
Joey Hess
96f6aa39dd
add runsGitAnnexChildProcess calls
This is all the calls to git-annex that seem capable of possibly locking
the same pidlock as their parent. Except possibly for some in the
assistant.
2020-06-17 15:31:03 -04:00
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
Franky
bc3f9999b0 2020-06-17 19:07:00 +00:00
Franky
d72d76c06f 2020-06-17 19:01:44 +00:00
Franky
e98f9f7684 2020-06-17 19:00:36 +00:00
Franky
af5369bc92 2020-06-17 18:58:51 +00: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
Ilya_Shlyakhter
4956891300 Added a comment: building the standalone distribution 2020-06-17 14:22:34 +00:00
https://dead-doomer.livejournal.com/
4794416b9c Added a comment 2020-06-17 06:42:53 +00:00
https://dead-doomer.livejournal.com/
a98b03b674 Added a comment 2020-06-17 02:41:51 +00:00
https://dead-doomer.livejournal.com/
2524a84a15 Corrected the first command to match what is actually on the file system 2020-06-17 01:17:25 +00:00
https://dead-doomer.livejournal.com/
08bc046416 Added a comment 2020-06-17 01:13:46 +00: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