git-annex.git
21 months agoremove stack-lts-18.13.yaml
Joey Hess [Mon, 21 Oct 2024 15:33:07 +0000 (11:33 -0400)]
remove stack-lts-18.13.yaml

windows autobuilder fixed to use stack.yaml

21 months agocomment
Joey Hess [Mon, 21 Oct 2024 15:32:02 +0000 (11:32 -0400)]
comment

21 months agocomment
Joey Hess [Mon, 21 Oct 2024 15:24:50 +0000 (11:24 -0400)]
comment

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 21 Oct 2024 14:41:51 +0000 (10:41 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agoresponse
Joey Hess [Mon, 21 Oct 2024 14:40:51 +0000 (10:40 -0400)]
response

21 months ago(no commit message)
git-annex@3fb6b72405b924a12d8319f01d0fdb908a3c551e [Mon, 21 Oct 2024 14:14:18 +0000 (14:14 +0000)]

21 months ago(no commit message)
git-annex@3fb6b72405b924a12d8319f01d0fdb908a3c551e [Mon, 21 Oct 2024 14:12:31 +0000 (14:12 +0000)]

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 21 Oct 2024 14:03:32 +0000 (10:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agop2phttp: Allow unauthenticated users to lock content by default
Joey Hess [Mon, 21 Oct 2024 14:02:12 +0000 (10:02 -0400)]
p2phttp: Allow unauthenticated users to lock content by default

* p2phttp: Allow unauthenticated users to lock content by default.
* p2phttp: Added --unauth-nolocking option to prevent unauthenticated
  users from locking content.

The rationalle for this is that locking is not really a write operation, so
makes sense to allow in a repository that only allows read-only access. Not
supporting locking in that situation will prevent the user from dropping
content from a special remote they control in cases where the other copy of
the content is on the p2phttp server.

Also, when p2phttp is configured to also allow authenticated access,
lockcontent was resulting in a password prompt for users who had no way to
authenticate. And there is no good way to distinguish between the two types
of users client side.

--unauth-nolocking anticipates that this might be abused, and seems better
than disabling unauthenticated access entirely if a server is being
attacked. It may be that rate limiting locking by IP address or similar
would be an effective measure in such a situation. Or just limiting the
number of locks by anonymous users that can be live at any one time. Since
the impact of such an DOS attempt is limited to preventing dropping content
from the server, it seems not a very appealing target anyway.

21 months ago(no commit message)
git-annex@3fb6b72405b924a12d8319f01d0fdb908a3c551e [Mon, 21 Oct 2024 13:10:52 +0000 (13:10 +0000)]

21 months agocomment
Joey Hess [Sat, 19 Oct 2024 21:53:28 +0000 (17:53 -0400)]
comment

21 months agotag
Joey Hess [Sat, 19 Oct 2024 21:13:26 +0000 (17:13 -0400)]
tag

21 months agoadd GITMANIFEST to parseKeyVariety
Joey Hess [Sat, 19 Oct 2024 21:12:23 +0000 (17:12 -0400)]
add GITMANIFEST to parseKeyVariety

git-remote-annex: Fix bug that prevented using it with external special
remotes, leading to protocol error messages involving "GITMANIFEST".

21 months agocomment
Joey Hess [Sat, 19 Oct 2024 20:43:35 +0000 (16:43 -0400)]
comment

21 months agoAdded a comment
yarikoptic [Fri, 18 Oct 2024 20:31:21 +0000 (20:31 +0000)]
Added a comment

21 months agoAdded a comment
matrss [Fri, 18 Oct 2024 16:56:46 +0000 (16:56 +0000)]
Added a comment

21 months agocomments
Joey Hess [Fri, 18 Oct 2024 16:04:48 +0000 (12:04 -0400)]
comments

21 months agoclarification on 403
Joey Hess [Fri, 18 Oct 2024 15:05:41 +0000 (11:05 -0400)]
clarification on 403

21 months agocomment
Joey Hess [Fri, 18 Oct 2024 14:28:49 +0000 (10:28 -0400)]
comment

21 months agofix build on windows
Joey Hess [Fri, 18 Oct 2024 14:17:07 +0000 (10:17 -0400)]
fix build on windows

Utility.OpenFile is posix only

21 months agoAdded a comment
yarikoptic [Fri, 18 Oct 2024 13:10:38 +0000 (13:10 +0000)]
Added a comment

21 months agoreport on windows FTBFS
yarikoptic [Fri, 18 Oct 2024 13:04:49 +0000 (13:04 +0000)]
report on windows FTBFS

21 months agoAdded a comment
yarikoptic [Fri, 18 Oct 2024 13:01:25 +0000 (13:01 +0000)]
Added a comment

21 months agocomment
Joey Hess [Fri, 18 Oct 2024 00:56:31 +0000 (20:56 -0400)]
comment

21 months agoAllow enabling the servant build flag with older versions of stm
Joey Hess [Fri, 18 Oct 2024 00:55:31 +0000 (20:55 -0400)]
Allow enabling the servant build flag with older versions of stm

Allowing building with ghc 9.0.2 (debian stable).

Updated patch covering all uses of writeTMVar.

21 months agoremoved
yarikoptic [Thu, 17 Oct 2024 22:08:32 +0000 (22:08 +0000)]
removed

21 months agoAdded a comment
yarikoptic [Thu, 17 Oct 2024 21:44:50 +0000 (21:44 +0000)]
Added a comment

21 months agoAdded a comment
yarikoptic [Thu, 17 Oct 2024 21:44:17 +0000 (21:44 +0000)]
Added a comment

21 months agoAdded a comment
yarikoptic [Thu, 17 Oct 2024 21:44:04 +0000 (21:44 +0000)]
Added a comment

21 months agoTag with project ID
mih [Thu, 17 Oct 2024 20:26:08 +0000 (20:26 +0000)]
Tag with project ID

21 months agoAdded a comment
yarikoptic [Thu, 17 Oct 2024 18:37:57 +0000 (18:37 +0000)]
Added a comment

21 months agocomment
Joey Hess [Thu, 17 Oct 2024 18:05:20 +0000 (14:05 -0400)]
comment

21 months agoAllow enabling the servant build flag with older versions of stm
Joey Hess [Thu, 17 Oct 2024 17:44:38 +0000 (13:44 -0400)]
Allow enabling the servant build flag with older versions of stm

Allowing building with ghc 9.0.2 (debian stable).

21 months agoAdded a comment
yarikoptic [Thu, 17 Oct 2024 17:04:07 +0000 (17:04 +0000)]
Added a comment

21 months agop2phttp combining unauth and auth options
Joey Hess [Thu, 17 Oct 2024 15:10:28 +0000 (11:10 -0400)]
p2phttp combining unauth and auth options

p2phttp: Support serving unauthenticated users while requesting
authentication for operations that need it. Eg, --unauth-readonly can be
combined with --authenv.

Drop locking currently needs authentication so it will prompt for that.
That still needs to be addressed somehow.

21 months agoresponse
Joey Hess [Thu, 17 Oct 2024 14:10:26 +0000 (10:10 -0400)]
response

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 17 Oct 2024 14:06:25 +0000 (10:06 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agoadd IMN7 to projects and tag a relevant issue
Joey Hess [Thu, 17 Oct 2024 14:06:08 +0000 (10:06 -0400)]
add IMN7 to projects and tag a relevant issue

21 months agocomment
Joey Hess [Thu, 17 Oct 2024 14:01:31 +0000 (10:01 -0400)]
comment

21 months agoquestion about Servant
yarikoptic [Thu, 17 Oct 2024 13:57:43 +0000 (13:57 +0000)]
question about Servant

21 months ago(no commit message)
matrss [Thu, 17 Oct 2024 09:39:56 +0000 (09:39 +0000)]

21 months agoMake VURL a proper list item
matrss [Thu, 17 Oct 2024 09:18:04 +0000 (09:18 +0000)]
Make VURL a proper list item

21 months agoinitial report on divergence in behavior on ACL
yarikoptic [Wed, 16 Oct 2024 19:13:08 +0000 (19:13 +0000)]
initial report on divergence in behavior on ACL

21 months agoAdded a comment
yarikoptic [Wed, 16 Oct 2024 18:58:04 +0000 (18:58 +0000)]
Added a comment

21 months agomake freeze/thaw relative paths
yarikoptic [Wed, 16 Oct 2024 18:51:45 +0000 (18:51 +0000)]
make freeze/thaw relative paths

21 months agoinitial report on freeze/thaw exit code ignorance
yarikoptic [Wed, 16 Oct 2024 18:34:06 +0000 (18:34 +0000)]
initial report on freeze/thaw exit code ignorance

21 months agoAdded a comment
matrss [Wed, 16 Oct 2024 12:09:02 +0000 (12:09 +0000)]
Added a comment

21 months agostreaming uploads
Joey Hess [Tue, 15 Oct 2024 20:02:19 +0000 (16:02 -0400)]
streaming uploads

21 months agoinitial report on not all files being saved
yarikoptic [Tue, 15 Oct 2024 18:15:16 +0000 (18:15 +0000)]
initial report on not all files being saved

21 months agoremove change that was accidentially committed
Joey Hess [Tue, 15 Oct 2024 17:30:52 +0000 (13:30 -0400)]
remove change that was accidentially committed

21 months agocomment
Joey Hess [Tue, 15 Oct 2024 17:27:27 +0000 (13:27 -0400)]
comment

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 15 Oct 2024 16:27:01 +0000 (12:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agoworking in streamproxy branch
Joey Hess [Tue, 15 Oct 2024 16:26:53 +0000 (12:26 -0400)]
working in streamproxy branch

21 months agoimplement openFileBeingWritten
Joey Hess [Tue, 15 Oct 2024 15:56:42 +0000 (11:56 -0400)]
implement openFileBeingWritten

This bypasses the usual haskell file locking used to prevent opening a
file for read that is being written to.

This is unfortunately a bit of a hack. But it seems fairly unlikely to
get broken by changes to ghc. I hope. Using fdToHandle' will also work.

This does not work on windows because it uses openFd from posix. It
would probably be possible to implement it for windows too, just opening
the FD using the Win32 library instead. However, whether windows will
allow reading from a file that is also being written to I don't know,
and since in the git-annex case the writer could be another process (eg
external special remote), that might be doing its own locking in
windows, that seems a can of worms I'd prefer not to open.

21 months agoupdate
Joey Hess [Tue, 15 Oct 2024 14:31:42 +0000 (10:31 -0400)]
update

21 months agoAdded a comment
matrss [Mon, 14 Oct 2024 12:21:54 +0000 (12:21 +0000)]
Added a comment

21 months agoAdded a comment
matrss [Mon, 14 Oct 2024 12:01:40 +0000 (12:01 +0000)]
Added a comment

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 12 Oct 2024 14:57:52 +0000 (10:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agoAdded a comment: [FR] Remote Settings for All Clones
Spencer [Wed, 9 Oct 2024 23:10:17 +0000 (23:10 +0000)]
Added a comment: [FR] Remote Settings for All Clones

22 months agoAdded a comment: Support for importtree
annex@9cc004f218c318a28099ff2645959be0fcbc6d94 [Wed, 9 Oct 2024 06:42:40 +0000 (06:42 +0000)]
Added a comment: Support for importtree

22 months ago(no commit message)
matrss [Tue, 8 Oct 2024 07:22:39 +0000 (07:22 +0000)]

22 months ago(no commit message)
Spencer [Tue, 8 Oct 2024 03:58:55 +0000 (03:58 +0000)]

22 months ago(no commit message)
Spencer [Tue, 8 Oct 2024 03:31:05 +0000 (03:31 +0000)]

22 months agoCorrection: rclonelayout=`lower` is not synonymous with the directory remote, `direct...
Spencer [Mon, 7 Oct 2024 21:26:42 +0000 (21:26 +0000)]
Correction: rclonelayout=`lower` is not synonymous with the directory remote, `directory` is.

22 months agoAdded a comment: How to Clone?
Spencer [Mon, 7 Oct 2024 20:00:24 +0000 (20:00 +0000)]
Added a comment: How to Clone?

22 months agotried a blind alley on streaming special remote download via proxy
Joey Hess [Mon, 7 Oct 2024 17:54:04 +0000 (13:54 -0400)]
tried a blind alley on streaming special remote download via proxy

This didn't work. In case I want to revisit, here's what I tried.

diff --git a/Annex/Proxy.hs b/Annex/Proxy.hs
index 48222872c1..e4e526d3dd 100644
--- a/Annex/Proxy.hs
+++ b/Annex/Proxy.hs
@@ -26,16 +26,21 @@ import Logs.UUID
 import Logs.Location
 import Utility.Tmp.Dir
 import Utility.Metered
+import Utility.ThreadScheduler
+import Utility.OpenFd
 import Git.Types
 import qualified Database.Export as Export

 import Control.Concurrent.STM
 import Control.Concurrent.Async
+import Control.Concurrent.MVar
 import qualified Data.ByteString as B
+import qualified Data.ByteString as BS
 import qualified Data.ByteString.Lazy as L
 import qualified System.FilePath.ByteString as P
 import qualified Data.Map as M
 import qualified Data.Set as S
+import System.IO.Unsafe

 proxyRemoteSide :: ProtocolVersion -> Bypass -> Remote -> Annex RemoteSide
 proxyRemoteSide clientmaxversion bypass r
@@ -240,21 +245,99 @@ proxySpecialRemote protoversion r ihdl ohdl owaitv oclosedv mexportdb = go
  writeVerifyChunk iv h b
  storetofile iv h (n - fromIntegral (B.length b)) bs

- proxyget offset af k = withproxytmpfile k $ \tmpfile -> do
+ proxyget offset af k = withproxytmpfile k $ \tmpfile ->
+ let retrieve = tryNonAsync $ Remote.retrieveKeyFile r k af
+ (fromRawFilePath tmpfile) nullMeterUpdate vc
+ in case fromKey keySize k of
+ Just size | size > 0 -> do
+ cancelv <- liftIO newEmptyMVar
+ donev <- liftIO newEmptyMVar
+ streamer <- liftIO $ async $
+ streamdata offset tmpfile size cancelv donev
+ retrieve >>= \case
+ Right _ -> liftIO $ do
+ putMVar donev ()
+ wait streamer
+ Left err -> liftIO $ do
+ putMVar cancelv ()
+ wait streamer
+ propagateerror err
+ _ -> retrieve >>= \case
+ Right _ -> liftIO $ senddata offset tmpfile
+ Left err -> liftIO $ propagateerror err
+   where
  -- Don't verify the content from the remote,
  -- because the client will do its own verification.
- let vc = Remote.NoVerify
- tryNonAsync (Remote.retrieveKeyFile r k af (fromRawFilePath tmpfile) nullMeterUpdate vc) >>= \case
- Right _ -> liftIO $ senddata offset tmpfile
- Left err -> liftIO $ propagateerror err
+ vc = Remote.NoVerify

+ streamdata (Offset offset) f size cancelv donev = do
+ sendlen offset size
+ waitforfile
+ x <- tryNonAsync $ do
+ fd <- openFdWithMode f ReadOnly Nothing defaultFileFlags
+ h <- fdToHandle fd
+ hSeek h AbsoluteSeek offset
+ senddata' h (getcontents size)
+ case x of
+ Left err -> do
+ throwM err
+ Right res -> return res
+   where
+ -- The file doesn't exist at the start.
+ -- Wait for some data to be written to it as well,
+ -- in case an empty file is first created and then
+ -- overwritten. When there is an offset, wait for
+ -- the file to get that large. Note that this is not used
+ -- when the size is 0.
+ waitforfile = tryNonAsync (fromIntegral <$> getFileSize f) >>= \case
+ Right sz | sz > 0 && sz >= offset -> return ()
+ _ -> ifM (isEmptyMVar cancelv)
+ ( do
+ threadDelaySeconds (Seconds 1)
+ waitforfile
+ , do
+ return ()
+ )
+
+ getcontents n h = unsafeInterleaveIO $ do
+ isdone <- isEmptyMVar donev <||> isEmptyMVar cancelv
+ c <- BS.hGet h defaultChunkSize
+ let n' = n - fromIntegral (BS.length c)
+ let c' = L.fromChunks [BS.take (fromIntegral n) c]
+ if BS.null c
+ then if isdone
+ then return mempty
+ else do
+ -- Wait for more data to be
+ -- written to the file.
+ threadDelaySeconds (Seconds 1)
+ getcontents n h
+ else if n' > 0
+ then do
+ -- unsafeInterleaveIO causes
+ -- this to be deferred until
+ -- data is read from the lazy
+ -- ByteString.
+ cs <- getcontents n' h
+ return $ L.append c' cs
+ else return c'
+
  senddata (Offset offset) f = do
  size <- fromIntegral <$> getFileSize f
- let n = max 0 (size - offset)
- sendmessage $ DATA (Len n)
+ sendlen offset size
  withBinaryFile (fromRawFilePath f) ReadMode $ \h -> do
  hSeek h AbsoluteSeek offset
- sendbs =<< L.hGetContents h
+ senddata' h L.hGetContents
+
+ senddata' h getcontents = do
+ sendbs =<< getcontents h
  -- Important to keep the handle open until
  -- the client responds. The bytestring
  -- could still be lazily streaming out to
@@ -272,6 +355,11 @@ proxySpecialRemote protoversion r ihdl ohdl owaitv oclosedv mexportdb = go
  Just FAILURE -> return ()
  Just _ -> giveup "protocol error"
  Nothing -> return ()
+
+ sendlen offset size = do
+ let n = max 0 (size - offset)
+ sendmessage $ DATA (Len n)
+

 {- Check if this repository can proxy for a specified remote uuid,
  - and if so enable proxying for it. -}

22 months agoadditional question of spaces in URL
Spencer [Mon, 7 Oct 2024 19:10:19 +0000 (19:10 +0000)]
additional question of spaces in URL

22 months ago(no commit message)
Spencer [Mon, 7 Oct 2024 19:02:17 +0000 (19:02 +0000)]

22 months ago(no commit message)
matrss [Mon, 7 Oct 2024 14:40:19 +0000 (14:40 +0000)]

22 months agoAdded a comment
matrss [Mon, 7 Oct 2024 14:12:23 +0000 (14:12 +0000)]
Added a comment

22 months agoupdate
Joey Hess [Mon, 7 Oct 2024 14:06:12 +0000 (10:06 -0400)]
update

22 months ago(no commit message)
matrss [Mon, 7 Oct 2024 13:59:56 +0000 (13:59 +0000)]

22 months agoAdded a comment
sng@353ca358075d9aa328f60a5439a3cee10f8301fe [Sun, 6 Oct 2024 21:42:13 +0000 (21:42 +0000)]
Added a comment

22 months ago(no commit message)
matrss [Wed, 2 Oct 2024 15:07:54 +0000 (15:07 +0000)]

22 months ago(no commit message)
matrss [Wed, 2 Oct 2024 14:51:58 +0000 (14:51 +0000)]

22 months ago(no commit message)
matrss [Wed, 2 Oct 2024 14:42:37 +0000 (14:42 +0000)]

22 months agofiling an issue on yt-dlp not used for some reason
yarikoptic [Tue, 1 Oct 2024 21:01:40 +0000 (21:01 +0000)]
filing an issue on yt-dlp not used for some reason

22 months agoadd news item for git-annex 10.20240927
Joey Hess [Mon, 30 Sep 2024 23:16:06 +0000 (19:16 -0400)]
add news item for git-annex 10.20240927

22 months agoreleasing package git-annex version 10.20240927
Joey Hess [Mon, 30 Sep 2024 23:15:57 +0000 (19:15 -0400)]
releasing package git-annex version 10.20240927

22 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 30 Sep 2024 21:36:45 +0000 (17:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

22 months agofix build with old random
Joey Hess [Mon, 30 Sep 2024 21:36:19 +0000 (17:36 -0400)]
fix build with old random

getStdGen used to be an IO not a MonadIO action

22 months ago(no commit message)
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da [Mon, 30 Sep 2024 20:54:14 +0000 (20:54 +0000)]

22 months agofix build with random-1.2
Joey Hess [Mon, 30 Sep 2024 18:56:06 +0000 (14:56 -0400)]
fix build with random-1.2

getStdGen worked with that version but initStdGen is newer. For our
purposes, they are equivilant.

22 months agofix build with old base
Joey Hess [Mon, 30 Sep 2024 15:02:08 +0000 (11:02 -0400)]
fix build with old base

i386ancient has a base too old for NE.singleton

22 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 27 Sep 2024 19:31:31 +0000 (15:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

22 months agoRevert "remove stack-lts-18.13.yaml"
Joey Hess [Fri, 27 Sep 2024 19:30:51 +0000 (15:30 -0400)]
Revert "remove stack-lts-18.13.yaml"

This reverts commit b0546e8bde5a46767a405fbbc7a3907127533de8.

https://github.com/datalad/git-annex/issues/204 is still not fixed yet

22 months agoupdate version for release
Joey Hess [Fri, 27 Sep 2024 14:01:44 +0000 (10:01 -0400)]
update version for release

22 months agoremoved
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 27 Sep 2024 12:18:59 +0000 (12:18 +0000)]
removed

22 months agoAdded a comment: corruption using git-annex-remote-rclone
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 27 Sep 2024 12:18:41 +0000 (12:18 +0000)]
Added a comment: corruption using git-annex-remote-rclone

22 months agoAdded a comment: corruption using git-annex-remote-rclone
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 27 Sep 2024 07:39:06 +0000 (07:39 +0000)]
Added a comment: corruption using git-annex-remote-rclone

22 months agoremove stack-lts-18.13.yaml
Joey Hess [Thu, 26 Sep 2024 22:46:12 +0000 (18:46 -0400)]
remove stack-lts-18.13.yaml

windows autobuilder should have been fixed by now

(offline so didn't check)

22 months agoremove read of the heads
Joey Hess [Thu, 26 Sep 2024 22:43:59 +0000 (18:43 -0400)]
remove read of the heads

and one tail

Removed head from Utility.PartialPrelude in order to avoid the build
warning with recent ghc versions as well.

22 months agouse NonEmpty for dirHashes
Joey Hess [Thu, 26 Sep 2024 22:15:00 +0000 (18:15 -0400)]
use NonEmpty for dirHashes

This avoids 4 uses of head.

22 months agoGit: use NonEmpty in fullconfig
Joey Hess [Thu, 26 Sep 2024 21:54:36 +0000 (17:54 -0400)]
Git: use NonEmpty in fullconfig

This is a nice win. Avoids partial functions, by encoding at the type
level the fact that fullconfig is never an empty list.

22 months agoavoid head
Joey Hess [Thu, 26 Sep 2024 21:53:00 +0000 (17:53 -0400)]
avoid head

While in some sense this is better, the use of NE.fromList is still
partial.

22 months agoavoid head
Joey Hess [Thu, 26 Sep 2024 21:52:19 +0000 (17:52 -0400)]
avoid head

Recent ghc has a deprecation warning on it.

This is not an improvement though. I know these cannot fail, but I can't
prove it to ghc.

22 months agoavoid head
Joey Hess [Thu, 26 Sep 2024 21:49:41 +0000 (17:49 -0400)]
avoid head

Seems like generate works fine to generate a single arbitrary value, I
dunno why I used sample' originally.

22 months agoremove slightly unsafe use of head
Joey Hess [Thu, 26 Sep 2024 21:21:22 +0000 (17:21 -0400)]
remove slightly unsafe use of head

If git rev-parse somehow didn't output anything, git-annex would crash
here.

22 months agosim: document interruption and concurrency issues
Joey Hess [Thu, 26 Sep 2024 16:26:47 +0000 (12:26 -0400)]
sim: document interruption and concurrency issues

Does not seem worth doing a lot of locking and detection of these
problems.

22 months agosim: Add metadata command
Joey Hess [Thu, 26 Sep 2024 16:20:37 +0000 (12:20 -0400)]
sim: Add metadata command

Only really needed for completeness, preferred content expressions can
match against metadata.