Greetings,
I'm setting up git-annex as the store for a darktable environment. I have to assume that all of the backup and client machines can not necessarily see each-other. Let's call them: client1 client2 backup usb (incr. backup - in case a client can't reach the gdrive) gitlab (upstream - do I need to group this as well - if so, what) gdrive (again, labeled as a backup so it will take everything)
They all can reach both a gitlab repo (I know they don't support annex anymore) and a special remote for the large files (gdrive via the rclone remote to allow me to use a team drive)
So either client1 or client2 will create or update content. git-annex assistant on the client will sync that to gitlab and gdrive (I assume).
The question is, will git-annex assistant on backup and the other client check to see if there have been updates to the gitlab upstream? If so, how often? If not, should I git-annex schedule a git-annex-sync on each client and backup to force it?
Thx Christopher
Recent versions of git-annex have a git-lfs special remote, and gitlab does support git-lfs, so git-annex can store data on it. That does not answer your question, just wanted to mention it.
For the assistant to quickly notice changes, it needs to be able to talk to a git-annex-shell on the remote's server. As a fallback, it does poll remotes periodically that don't have git-annex on them. That's done once per hour, and also when network connection changes are detected.
If you need to poll more frequently, you can install a cron job that does a git pull.