Commit graph

37834 commits

Author SHA1 Message Date
Ilya_Shlyakhter
b46776917d Added a comment 2020-08-28 01:02:50 +00:00
cardoso-neto
2d1b198420 Added a comment 2020-08-28 00:20:31 +00:00
Ilya_Shlyakhter
22dc07e68f Added a comment: understanding why standalone conda package gets preferred 2020-08-27 15:32:09 +00:00
Joey Hess
02a35c9cee
comment 2020-08-26 13:09:47 -04:00
Joey Hess
5c1b91f8d3
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-26 13:06:14 -04:00
Joey Hess
b68f214312
Display a message when git-annex has to wait for a pid lock file held by another process 2020-08-26 13:05:34 -04:00
Joey Hess
b24ba92231
refactor out Annex.PidLock 2020-08-26 12:29:13 -04:00
yarikoptic
a325beef64 Added a comment: dreaming of everyone using CoW FSs 2020-08-26 01:26:29 +00:00
Joey Hess
6547bfe324
comment 2020-08-25 17:43:50 -04:00
Joey Hess
7bdb0cdc0d
add gitAnnexChildProcess and use instead of incorrect use of runsGitAnnexChildProcess
Fixes reversion in 8.20200617 that made annex.pidlock being enabled result
in some commands stalling, particularly those needing to autoinit.

Renamed runsGitAnnexChildProcess to make clearer where it should be
used.

Arguably, it would be better to have a way to make any process git-annex
runs have the env var set. But then it would need to take the pid lock
when running any and all processes, and that would be a problem when
git-annex runs two processes concurrently. So, I'm left doing it ad-hoc
in places where git-annex really does run a child process, directly
or indirectly via a particular git command.
2020-08-25 14:57:49 -04:00
Joey Hess
6b0532e532
wording 2020-08-25 14:47:17 -04:00
Joey Hess
348eaf7b6c
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-25 14:31:43 -04:00
Joey Hess
ca3fb4b1d2
analysis 2020-08-25 14:31:15 -04:00
kyle
6363b888af Added a comment 2020-08-25 17:51:43 +00:00
Joey Hess
2b6fc17f70
fix comment format 2020-08-25 13:40:52 -04:00
Joey Hess
d3f3e8f587
document that annex.thin beats annex.hardlink 2020-08-25 13:34:37 -04:00
Joey Hess
2ab574a72f
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-25 13:01:03 -04:00
Joey Hess
2ca1ff62dc
addurl --file youtube-dl reversion fix
addurl: Fix reversion in 7.20190322 that made --file not be honored when
youtube-dl was used to download media.

8758f9c561 was on the right track, but missed that | otherwise prevented
the code it added from being used.

Also, refactored out a common function.

This commit was sponsored by Graham Spencer on Patreon.
2020-08-25 12:56:45 -04:00
yarikoptic
4daf4ea06f Added a comment: pidlock to blame! 2020-08-25 16:27:11 +00:00
kyle
d20ab86b41 Added a comment 2020-08-25 15:20:46 +00:00
yarikoptic
9ae3c552ed initial report on hardlink in thin mode 2020-08-25 15:07:21 +00:00
kyle
b60723184d Added a comment: comment: works on my end 2020-08-25 15:02:45 +00:00
yarikoptic
c8e9db9fdc Added a comment 2020-08-25 15:01:19 +00:00
yarikoptic
b04378ea6a initial report on get being stuck 2020-08-25 14:47:38 +00:00
yarikoptic
29402dd78b initial report on gpgtmp .nfs busy files 2020-08-25 03:12:16 +00:00
Joey Hess
27329f0bb1
stack.yaml: Updated to lts-16.10
Needs stack version 2.3 to build, which has only recently made it into
debian unstable.

This commit was sponsored by Jake Vosloo on Patreon.
2020-08-24 14:11:37 -04:00
kyle
335aae2668 Added a comment 2020-08-20 20:34:26 +00:00
cardoso-neto
1fd55a89c7 Added a comment 2020-08-20 20:08:07 +00:00
cardoso-neto
c550663512 Added a comment: Rationale behind deleting and readding the symlinks on a move or rename 2020-08-20 18:36:47 +00:00
kyle
aab3a552f9 Added a comment: thanks 2020-08-19 17:54:11 +00:00
Joey Hess
d00ce82418
fix hang if external program is not available
startExternal' throws an exception, which left the externalAsync TMVar
empty, so the next try to use it would hang.
2020-08-19 12:20:07 -04:00
Joey Hess
168bf5e0c5
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-18 15:47:49 -04:00
kyle
ce59265a61 2020-08-18 17:44:01 +00:00
gitannex@56d80e101087518fccc08f4420216c4f61f80b7f
67cad93f82 2020-08-18 15:10:33 +00:00
Joey Hess
4c58433c48
avoid using MonadFail in ParseDuration
There's no instance for Either String, so that makes it not as useful as
it could be, so instead just return an Either String.
2020-08-15 15:53:35 -04:00
michal.kotowski1@1c7e62558e00f6965c27223d9dcff021fbc44eed
1740c4ef65 2020-08-15 19:01:57 +00:00
Joey Hess
ad64079b44
fix some warnings 2020-08-15 14:33:18 -04:00
Joey Hess
653652fdde
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-14 16:01:39 -04:00
Joey Hess
95d9a3cf8a
Merge branch 'asyncexternal' 2020-08-14 16:00:49 -04:00
Joey Hess
f241a3cd3d
Display warning when external special remote does not start up properly, or is not usable
I'm sure this used to work, but somewhere along the line something or
things (getCost and getAvailability I think, probably others)
started catching the exception and not displaying it. So, show warnings.
2020-08-14 15:38:31 -04:00
Joey Hess
05b2b46a82
async extension done 2020-08-14 15:24:34 -04:00
cardoso-neto
5a24dbc96e Added a comment: Having cutting edge packages with conda is not that straighforward. 2020-08-14 18:55:18 +00:00
Joey Hess
198b709561
switch to TMVars for thread safety when using the async extension
TVars were not updated atomically, which was ok when each thread got its
own External that was the only thing using these TVars. But, with the
async extension, several External instances can share the same var, so
it needs to be a TMVar to avoid read/write conflicts.

In particular, this makes PREPARE only be sent once.
2020-08-14 14:50:09 -04:00
Joey Hess
7da2d4dd2d
one jobid per thread
And, relay ERROR on to all listening threads.
2020-08-14 14:24:46 -04:00
Ilya_Shlyakhter
935b10d32d Added a comment 2020-08-14 02:59:12 +00:00
Joey Hess
72561563d9
rethought the async protocol some more
Moving jobid generation to the git-annex side lets it be simplified a
lot.

Note that it will also be possible to generate one jobid per connection,
rather than a new job per request. That will make overflow not an issue,
and will avoid some work, and will simplify some of the code.
2020-08-13 20:18:06 -04:00
cardoso-neto
9932a13ff9 Added a comment: Ugly message when installing git-annex through conda 2020-08-14 00:08:29 +00:00
Joey Hess
59cbb42ee2
async proto fully tested and working
Including with a concurrent capable remote program.

However, this is not quite ready to merge, there's a TODO in the code.
2020-08-13 16:22:11 -04:00
Joey Hess
7546e686a2
async proto basically working
Simplified the protocol by removing END-ASYNC.

There's a STM crash when a non-async protocol message is sent, which
needs to be fixed.
2020-08-13 15:52:12 -04:00
Joey Hess
0900bb2ca9
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-12 16:27:40 -04:00