DATA-PRESENT working for exporttree=yes remotes
authorJoey Hess <joeyh@joeyh.name>
Wed, 30 Oct 2024 17:51:58 +0000 (13:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 30 Oct 2024 17:55:47 +0000 (13:55 -0400)
commit126daf949d4a2cf6351026882f56b4b0338f1d94
tree128d0553232adc700242f15fdfc1119b62277d49
parent54dc1d6f6e188f589a64db6ec3e4752debd2419e
DATA-PRESENT working for exporttree=yes remotes

Since the annex-tracking-branch is pushed first, git-annex has already
updated the export database when the DATA-PRESENT arrives. Which means
that just using checkPresent is enough to verify that there is some file
on the special remote in the export location for the key.

So, the simplest possible implementation of this happened to work!

(I also tested it with chunked specialremotes, which also works, as long
as the chunk size used is the same as the configured chunk size. In that
case, the lack of a chunk log is not a problem. Doubtful this will ever
make sense to use with a chunked special remote though, that gets pretty
deep into re-implementing git-annex.)

Updated the client side upload tip with a missing step, and reorged for clarity.
Annex/Proxy.hs
doc/tips/client_side_upload_to_a_special_remote.mdwn
doc/todo/git-annex_proxies.mdwn