]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
4 years agoAdded a comment: thank you!
yarikoptic [Wed, 29 Dec 2021 02:00:48 +0000 (02:00 +0000)]
Added a comment: thank you!

4 years agoclose
Joey Hess [Tue, 28 Dec 2021 17:40:35 +0000 (13:40 -0400)]
close

4 years agohandle transitions with read-only unmerged git-annex branches
Joey Hess [Tue, 28 Dec 2021 17:23:32 +0000 (13:23 -0400)]
handle transitions with read-only unmerged git-annex branches

Capstone to this feature. Any transitions that have been performed on an
unmerged remote ref but not on the local git-annex branch, or vice-versa
have to be applied on the fly when reading files.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' into readonly-annex-merge
Joey Hess [Tue, 28 Dec 2021 17:03:27 +0000 (13:03 -0400)]
Merge branch 'master' into readonly-annex-merge

4 years agorefactoring
Joey Hess [Tue, 28 Dec 2021 16:15:51 +0000 (12:15 -0400)]
refactoring

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 27 Dec 2021 19:46:01 +0000 (15:46 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate on status
Joey Hess [Mon, 27 Dec 2021 19:45:22 +0000 (15:45 -0400)]
update on status

4 years agoprevent git-annex log with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 19:44:15 +0000 (15:44 -0400)]
prevent git-annex log with read-only unmerged git-annex branches

It would display incomplete information, which would differ from the
information displayed with write access. So refuse to display anything.

Sponsored-by: Dartmouth College's Datalad project
4 years agohandle Annex.Branch.files with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 19:28:31 +0000 (15:28 -0400)]
handle Annex.Branch.files with read-only unmerged git-annex branches

It would be difficult to make Annex.Branch.files query the unmerged
git-annex branches. Might be possible, similar to what was discussed in
7f6b2ca49cd6f6b6dd6cc9e96d0232a213a82e63 but again I decided to make it
not do anything in that situation to start with before adding such a
complicated thing.

git-annex info uses it when getting info about a repostory. The choices
were to make that fail with an error, or display the info it can, and
change the output slightly for the bits of info it cannot access. While
that is a behavior change, and I want to avoid any behavior changes due
to unmerged git-annex branches in a read-only repo, displaying a message
that is not a number seems unlikely to break anything that was consuming
a number, any worse than throwing an exception would. Probably.

Also git-annex unused --from origin is made to throw an error, but
it would fail later anyway when trying to write to the unused log files.

Sponsored-by: Dartmouth College's Datalad project
4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Mon, 27 Dec 2021 18:51:14 +0000 (18:51 +0000)]
Added a comment

4 years agohandle overBranchFileContents with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 18:30:51 +0000 (14:30 -0400)]
handle overBranchFileContents with read-only unmerged git-annex branches

This makes --all error out in that situation. Which is better than
ignoring information from the branches.

To really handle the branches right, overBranchFileContents would need
to both query all the branches and union merge file contents
(or perhaps not provide any file content), as well as diffing between
branches to find files that are only present in the unmerged branches.
And also, it would need to handle transitions..

Sponsored-by: Dartmouth College's Datalad project
4 years agodisable precaching git-annex branch when there are unmerged branches in a read-only...
Joey Hess [Mon, 27 Dec 2021 18:08:50 +0000 (14:08 -0400)]
disable precaching git-annex branch when there are unmerged branches in a read-only repo

The way precaching works, it can't merge in information from those
branches efficiently, so just disable it and fall back to
Annex.Branch.get in order to get the correct information.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' into readonly-annex-merge
Joey Hess [Mon, 27 Dec 2021 17:46:03 +0000 (13:46 -0400)]
Merge branch 'master' into readonly-annex-merge

4 years agoMerge remote-tracking branch 'origin/master'
Joey Hess [Mon, 27 Dec 2021 17:45:21 +0000 (13:45 -0400)]
Merge remote-tracking branch 'origin/master'

4 years agocomment
Joey Hess [Mon, 27 Dec 2021 17:44:49 +0000 (13:44 -0400)]
comment

4 years agoremove git-annex branch ref from unmerged refs list
Joey Hess [Mon, 27 Dec 2021 17:33:27 +0000 (13:33 -0400)]
remove git-annex branch ref from unmerged refs list

It's queried separately so it was causing extra work to include it.

4 years agomerge git-annex branch in memory in read-only repository
Joey Hess [Sun, 26 Dec 2021 18:28:42 +0000 (14:28 -0400)]
merge git-annex branch in memory in read-only repository

Improved support for using git-annex in a read-only repository, git-annex
branch information from remotes that cannot be merged into the git-annex
branch will now not crash it, but will be merged in memory.

To avoid this making git-annex behave one way in a read-only repository,
and another way when it can write, it's important that Annex.Branch.get
return the same thing (modulo log file compaction) in both cases.

This manages that mostly. There are some exceptions:

- When there is a transition in one of the remote git-annex branches
  that has not yet been applied to the local or other git-annex branches.
  Transitions are not handled.
- `git-annex log` runs git log on the git-annex branch, and so
  it will not be able to show information coming from the other, not yet
  merged branches.
- Annex.Branch.files only looks at files in the git-annex branch and not
  unmerged branches. This affects git-annex info output.
- Annex.Branch.hs.overBranchFileContents ditto. Affects --all and
  also importfeed (but importfeed cannot work in a read-only repo
  anyway).
- CmdLine.Seek.seekFilteredKeys when precaching location logs.
  Note use of Annex.Branch.fullname
- Database.ContentIdentifier.needsUpdateFromLog and updateFromLog

These warts make this not suitable to be merged yet.

This readonly code path is more expensive, since it has to query several
branches. The value does get cached, but still large queries will be
slower in a read-only repository when there are unmerged git-annex
branches.

When annex.merge-annex-branches=false, updateTo skips doing anything,
and so the read-only repository code does not get triggered. So a user who
is bothered by the extra work can set that.

Other writes to the repository can still result in permissions errors.
This includes the initial creation of the git-annex branch, and of course
any writes to the git-annex branch.

Sponsored-by: Dartmouth College's Datalad project
4 years agostatus
Joey Hess [Sun, 26 Dec 2021 18:33:32 +0000 (14:33 -0400)]
status

4 years agostatus
Joey Hess [Sun, 26 Dec 2021 18:33:32 +0000 (14:33 -0400)]
status

4 years agoretitle
Joey Hess [Sun, 26 Dec 2021 16:33:34 +0000 (12:33 -0400)]
retitle

4 years agocomment
Joey Hess [Sun, 26 Dec 2021 16:31:17 +0000 (12:31 -0400)]
comment

4 years agoimprove sync message in export edge case
Joey Hess [Thu, 23 Dec 2021 18:44:03 +0000 (14:44 -0400)]
improve sync message in export edge case

sync: Better error message when unable to export to a remote because
remote.name.annex-tracking-branch is configured to a ref that does not
exist.

It does not suggest how to fix the problem because there are several
possible solutions: Change the git config to point to something that does
exist, git add some files, or put files on the special remote that will be
imported and so populate the ref.

I considered just silently not doing anything, which is what it does
when annex-tracking-branch = master and nothing has been committed to
master yet. But it seems better to be explicit about it, since this is a
fairly confusing situation to find yourself in.

Sponsored-By: Max Thoursie on Patreon
4 years agocomment
Joey Hess [Thu, 23 Dec 2021 18:03:04 +0000 (14:03 -0400)]
comment

4 years agoresponse
Joey Hess [Wed, 22 Dec 2021 17:02:12 +0000 (13:02 -0400)]
response

4 years ago(no commit message)
tim@5431dd39464df207b7d46d3cf1bc74c82123ac68 [Sun, 19 Dec 2021 16:30:18 +0000 (16:30 +0000)]

4 years ago(no commit message)
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Fri, 17 Dec 2021 17:45:38 +0000 (17:45 +0000)]

4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Thu, 16 Dec 2021 23:41:56 +0000 (23:41 +0000)]
Added a comment

4 years agoAdded a comment
manishofyore@b68d21cd485417e84ea87876a9064f82714a08a1 [Thu, 16 Dec 2021 19:35:03 +0000 (19:35 +0000)]
Added a comment

4 years agocomment
Joey Hess [Thu, 16 Dec 2021 19:24:59 +0000 (15:24 -0400)]
comment

4 years agoAdded a comment
manishofyore@b68d21cd485417e84ea87876a9064f82714a08a1 [Thu, 16 Dec 2021 18:53:15 +0000 (18:53 +0000)]
Added a comment

4 years agocomment
Joey Hess [Thu, 16 Dec 2021 14:54:49 +0000 (10:54 -0400)]
comment

4 years agowording
Joey Hess [Tue, 14 Dec 2021 17:53:36 +0000 (13:53 -0400)]
wording

4 years agofix flush order reversion
Joey Hess [Tue, 14 Dec 2021 17:51:00 +0000 (13:51 -0400)]
fix flush order reversion

commit c2e46f470707681bf0398662afb047b1b48baec3 caused
the queue to possibly be flushed in the wrong order when
it contained a mix of different actions.

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 14 Dec 2021 17:27:11 +0000 (13:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoimprove git command queue flushing with time limit
Joey Hess [Tue, 14 Dec 2021 15:48:07 +0000 (11:48 -0400)]
improve git command queue flushing with time limit

So that eg, addurl of several large files that take time to download will
update the index for each file, rather than deferring the index updates to
the end.

In cases like an add of many smallish files, where a new file is being
added every few seconds. In that case, the queue will still build up a
lot of changes which are flushed at once, for best performance. Since
the default queue size is 10240, often it only gets flushed once at the
end, same as before. (Notice that updateQueue updated _lastchanged
when adding a new item to the queue without flushing it; that is
necessary to avoid it flushing the queue every 5 minutes in this case.)

But, when it takes more than a 5 minutes to add a file, the overhead of
updating the index immediately is probably small, so do it after each
file. This avoids git-annex potentially taking a very very long time
indeed to stage newly added files, which can be annoying to the user who
would like to get on with doing something with the files it's already
added, eg using git mv to rename them to a better name.

This is only likely to cause a problem if it takes say, 30 seconds to
update the index; doing an extra 30 seconds of work after every 5
minute file add would be less optimal. Normally, updating the index takes
significantly less time than that. On a SSD with 100k files it takes
less than 1 second, and the index write time is bound by disk read and
write so is not too much worse on a hard drive. So I hope this will not
impact users, although if it does turn out to, the time limit could be
made configurable.

A perhaps better way to do it would be to have a background worker
thread that wakes up every 60 seconds or so and flushes the queue.
That is made somewhat difficult because the queue can contain Annex
actions and so this would add a new source of concurrency issues.
So I'm trying to avoid that approach if possible.

Sponsored-by: Erik Bjäreholt on Patreon
4 years agoAdded a comment
manishofyore@b68d21cd485417e84ea87876a9064f82714a08a1 [Mon, 13 Dec 2021 23:12:53 +0000 (23:12 +0000)]
Added a comment

4 years agoclose
Joey Hess [Mon, 13 Dec 2021 17:13:54 +0000 (13:13 -0400)]
close

4 years agoclarify
Joey Hess [Mon, 13 Dec 2021 16:48:45 +0000 (12:48 -0400)]
clarify

4 years agocomment
Joey Hess [Mon, 13 Dec 2021 16:47:52 +0000 (12:47 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 13 Dec 2021 16:46:47 +0000 (12:46 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 13 Dec 2021 16:38:27 +0000 (12:38 -0400)]
comment

4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Sun, 12 Dec 2021 02:49:28 +0000 (02:49 +0000)]
Added a comment

4 years ago(no commit message)
tomdhunt [Fri, 10 Dec 2021 19:26:28 +0000 (19:26 +0000)]

4 years ago(no commit message)
tomdhunt [Fri, 10 Dec 2021 19:07:46 +0000 (19:07 +0000)]

4 years agoAdded a comment
yarikoptic [Thu, 9 Dec 2021 21:45:29 +0000 (21:45 +0000)]
Added a comment

4 years agorename forum/__91__Question__93___Mixing_.thin_and_.fat_repos__63__.mdwn to forum...
io42630 [Thu, 9 Dec 2021 21:05:46 +0000 (21:05 +0000)]
rename forum/__91__Question__93___Mixing_.thin_and_.fat_repos__63__.mdwn to forum/__91__Question__93___Mixing_.thin_and_default_repos__63__.mdwn

4 years ago(no commit message)
io42630 [Thu, 9 Dec 2021 21:02:28 +0000 (21:02 +0000)]

4 years ago(no commit message)
io42630 [Thu, 9 Dec 2021 21:01:05 +0000 (21:01 +0000)]

4 years agomoreinfo, sigh
Joey Hess [Thu, 9 Dec 2021 19:43:14 +0000 (15:43 -0400)]
moreinfo, sigh

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 9 Dec 2021 19:28:29 +0000 (15:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agofix error message
Joey Hess [Thu, 9 Dec 2021 19:25:59 +0000 (15:25 -0400)]
fix error message

Was "failed to generate a key" when key generation did not fail
(it never does anymore) but the actual problem was it failed to stat
the source file, perhaps due to it being deleted while the key was being
generated.

A user reported this, in a comment I followed up on in
262400fe0417f447ab48ab6be799c43d3222a233, although I don't know
what they did to trigger the error message.

4 years agoAdded a comment
yarikoptic [Thu, 9 Dec 2021 19:10:57 +0000 (19:10 +0000)]
Added a comment

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 19:07:34 +0000 (15:07 -0400)]
comment

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 19:01:54 +0000 (15:01 -0400)]
comment

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 18:59:36 +0000 (14:59 -0400)]
comment

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 18:43:10 +0000 (14:43 -0400)]
comment

4 years agoImprove error message display when autoinit fails
Joey Hess [Thu, 9 Dec 2021 18:38:12 +0000 (14:38 -0400)]
Improve error message display when autoinit fails

Due to eg, a permissions problem.

4 years agoconvert some error to giveup
Joey Hess [Thu, 9 Dec 2021 18:36:54 +0000 (14:36 -0400)]
convert some error to giveup

error has a backtrace, but these are non-internal errors, so a backtrace
is unlikely to be useful

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 17:57:25 +0000 (13:57 -0400)]
comment

4 years agocomment
Joey Hess [Thu, 9 Dec 2021 17:51:03 +0000 (13:51 -0400)]
comment

4 years agofix build on windows
Joey Hess [Thu, 9 Dec 2021 17:39:16 +0000 (13:39 -0400)]
fix build on windows

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 9 Dec 2021 17:38:32 +0000 (13:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoadd more lines for more informative extract
yarikoptic [Thu, 9 Dec 2021 16:32:03 +0000 (16:32 +0000)]
add more lines for more informative extract

4 years agoInitial report details from Manish on Windows
yarikoptic [Thu, 9 Dec 2021 16:30:44 +0000 (16:30 +0000)]
Initial report details from Manish on Windows

4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Thu, 9 Dec 2021 16:20:48 +0000 (16:20 +0000)]
Added a comment

4 years ago(no commit message)
jwodder [Thu, 9 Dec 2021 14:13:54 +0000 (14:13 +0000)]

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 9 Dec 2021 13:52:29 +0000 (09:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoimprove comments
Joey Hess [Wed, 8 Dec 2021 22:59:22 +0000 (18:59 -0400)]
improve comments

4 years agoAdded a comment
alt [Wed, 8 Dec 2021 20:01:33 +0000 (20:01 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Dec 2021 19:38:23 +0000 (15:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Wed, 8 Dec 2021 19:20:36 +0000 (15:20 -0400)]
comment

4 years agoFix build with ghc 9.0.1
Joey Hess [Wed, 8 Dec 2021 19:08:02 +0000 (15:08 -0400)]
Fix build with ghc 9.0.1

Continuing along the same lines as commit
2739adc25814633b18174982977e00e809cb789e, it seems that
while Remote -> Retriever expands to the same data type this changes
it to, ghc 9.0.1 refuses to consider them equiviant. I guess it has
something to do with the forall?

The rest of the build all succeeds, although the stack build then crashes:
Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.0.0/build/git-annex/git-annex ...
Completed 233 action(s).
Prelude.chr: bad argument: 2214592520
This issue seems likely to be about it:
https://github.com/commercialhaskell/stack/pull/5508
I'm building with stack from debian, version 2.3.3, so a newer stack
probably avoids that. Anyway, despite that stack problem,
the git-annex binary is built, and works.

The stack.yaml I used for this build was patched as follows:

diff --git a/stack.yaml b/stack.yaml
index 8dac87c15..62c4b5b9d 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,6 +1,6 @@
 flags:
   git-annex:
-    production: true
+    production: false
     assistant: true
     pairing: true
     torrentparser: true
@@ -14,7 +14,7 @@ flags:
     httpclientrestricted: true
 packages:
 - '.'
-resolver: lts-18.13
+resolver: nightly-2021-09-07
 extra-deps:
 - IfElse-0.85
 - aws-0.22

Sponsored-by: Graham Spencer on Patreon
4 years agoAdded a comment
yarikoptic [Wed, 8 Dec 2021 18:56:51 +0000 (18:56 +0000)]
Added a comment

4 years agoinitial report on crash on readonly non-inited annex
yarikoptic [Wed, 8 Dec 2021 18:56:14 +0000 (18:56 +0000)]
initial report on crash on readonly non-inited annex

4 years agocomment
Joey Hess [Wed, 8 Dec 2021 17:42:36 +0000 (13:42 -0400)]
comment

4 years agocomment
Joey Hess [Wed, 8 Dec 2021 17:18:13 +0000 (13:18 -0400)]
comment

4 years agocomment
Joey Hess [Wed, 8 Dec 2021 16:47:34 +0000 (12:47 -0400)]
comment

4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Wed, 8 Dec 2021 16:25:32 +0000 (16:25 +0000)]
Added a comment

4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Wed, 8 Dec 2021 00:46:40 +0000 (00:46 +0000)]
Added a comment

4 years agoinitial todo on more flexible credentials management mechanism
yarikoptic [Tue, 7 Dec 2021 18:34:58 +0000 (18:34 +0000)]
initial todo on more flexible credentials management mechanism

4 years agocomment
Joey Hess [Tue, 7 Dec 2021 17:03:45 +0000 (13:03 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 7 Dec 2021 17:00:47 +0000 (13:00 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Tue, 7 Dec 2021 17:00:28 +0000 (13:00 -0400)]
comment

4 years ago(no commit message)
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Tue, 7 Dec 2021 03:32:41 +0000 (03:32 +0000)]

4 years agofixed
Joey Hess [Mon, 6 Dec 2021 19:44:14 +0000 (15:44 -0400)]
fixed

4 years agoremove last trailing unresolved bit
Joey Hess [Mon, 6 Dec 2021 19:34:56 +0000 (15:34 -0400)]
remove last trailing unresolved bit

I think the lock file probing stuff is ok as it is for pid locks.
If not, let's wait until we have a test case, it would be easy to subtly
break it.

4 years agocomment
Joey Hess [Mon, 6 Dec 2021 19:13:54 +0000 (15:13 -0400)]
comment

4 years agoclose pid lock only once no threads use it
Joey Hess [Mon, 6 Dec 2021 19:01:39 +0000 (15:01 -0400)]
close pid lock only once no threads use it

This fixes a FD leak when annex.pidlock is set and -J is used. Also, it
fixes bugs where the pid lock file got deleted because one thread was
done with it, while another thread was still holding it open.

The LockPool now has two distinct types of resources,
one is per-LockHandle and is used for file Handles, which get closed
when the associated LockHandle is closed. The other one is per lock
file, and gets closed when no more LockHandles use that lock file,
including other shared locks of the same file.

That latter kind is used for the pid lock file, so it's opened by the
first thread to use a lock, and closed when the last thread closes a lock.

In practice, this means that eg git-annex get of several files opens and
closes the pidlock file a few times per file. While with -J5 it will open
the pidlock file, process a number of files, until all the threads happen to
finish together, at which point the pidlock file gets closed, and then
that repeats. So in either case, another process still gets a chance to
take the pidlock.

registerPostRelease has a rather intricate dance, there are fine-grained
STM locks, a STM lock of the pidfile itself, and the actual pidlock file
on disk that are all resolved in stages by it.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' into pidlockfinegrained
Joey Hess [Mon, 6 Dec 2021 17:00:40 +0000 (13:00 -0400)]
Merge branch 'master' into pidlockfinegrained

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 6 Dec 2021 16:53:43 +0000 (12:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoRevert "fix too early close of shared lock file"
Joey Hess [Mon, 6 Dec 2021 16:48:37 +0000 (12:48 -0400)]
Revert "fix too early close of shared lock file"

This reverts commit 66b2536ea0aa5c88f5b744eeace3322a8a4a10b6.

I misunderstood commit ac56a5c2a056d3df1314a0a0cc16d276ddefb661
and caused a FD leak when pid locking is not used.

A LockHandle contains an action that will close the underlying lock
file, and that action is run when it is closed. In the case of a shared
lock, the lock file is opened once for each LockHandle, and only
the one for the LockHandle that is being closed will be closed.

4 years ago(no commit message)
alt [Mon, 6 Dec 2021 15:56:56 +0000 (15:56 +0000)]

4 years ago(no commit message)
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Sun, 5 Dec 2021 20:37:48 +0000 (20:37 +0000)]

4 years agoupdate
Joey Hess [Sun, 5 Dec 2021 12:11:41 +0000 (08:11 -0400)]
update

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 3 Dec 2021 22:42:05 +0000 (18:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate comment to current status
Joey Hess [Fri, 3 Dec 2021 22:41:51 +0000 (18:41 -0400)]
update comment to current status

4 years agocomment
Joey Hess [Fri, 3 Dec 2021 22:41:34 +0000 (18:41 -0400)]
comment

4 years agoAdded a comment
yarikoptic [Fri, 3 Dec 2021 21:41:53 +0000 (21:41 +0000)]
Added a comment

4 years agofine-grained locking when annex.pidlock is enabled
Joey Hess [Fri, 3 Dec 2021 21:20:21 +0000 (17:20 -0400)]
fine-grained locking when annex.pidlock is enabled

This locking has been missing from the beginning of annex.pidlock.
It used to be possble, when two threads are doing conflicting things,
for both to run at the same time despite using locking. Seems likely
that nothing actually had a problem, but it was possible, and this
eliminates that possible source of failure.

Sponsored-by: Dartmouth College's Datalad project
4 years agocomment
Joey Hess [Fri, 3 Dec 2021 20:40:58 +0000 (16:40 -0400)]
comment