This commit is contained in:
aaron 2024-11-25 01:07:20 +00:00 committed by admin
parent 0e04031208
commit edacdcc30d

View file

@ -1,7 +1,7 @@
Has anyone done something where devices may not have a direct connection to other git-annex devices, but where they can push out a request for a file? Basically, something that allows them to post file requests that other devices then pickup and relay to a shared endpoint that can be populated with the requested file? I'm currently thinking of a situation where a cloud node might be 'expensive' and purges itself once some other devices contain the file; but at a later point in time a mobile device (without the file or a direct connection to devices containing the file) may connect to the cloud node and request the file.
## Possible behavior
The requestor could populate a 'git-annex-requests' file at the root of the repositor with contents similar to the following:
The requestor could populate a 'git-annex-requests' file at the root of the repository with contents similar to the following:
```text
file-shasum, requester-id, (optional endpoint1), (optional endpoint2),...
```