9286769d2c
This is groundwork for making special remotes like borg be skipped by sync when on an offline drive. Added AVAILABILITY UNAVAILABLE reponse and the UNAVAILABLERESPONSE extension to the external special remote protocol. The extension is needed because old git-annex, if it sees that response, will display a warning message. (It does continue as if the remote is globally available, which is acceptable, and the warning is only displayed at initremote due to remote.name.annex-availability caching, but still it seemed best to make this a protocol extension.) The remote.name.annex-availability git config is no longer used any more, and is documented as such. It was only used by external special remotes to cache the availability, to avoid needing to start the external process every time. Now that availability is queried as an Annex action, the external is only started by sync (and the assistant), when they actually check availability. Sponsored-by: Nicholas Golder-Manning on Patreon |
||
---|---|---|
.. | ||
adjusted_branches | ||
assistant | ||
balanced_preferred_content | ||
encryption | ||
exporting_trees_to_special_remotes | ||
external_backend_protocol | ||
external_special_remote_protocol | ||
git-remote-daemon | ||
iabackup | ||
metadata | ||
new_repo_versions | ||
p2p_protocol | ||
requests_routing | ||
adjusted_branches.mdwn | ||
assistant.mdwn | ||
balanced_preferred_content.mdwn | ||
caching_database.mdwn | ||
encryption.mdwn | ||
exporting_trees_to_special_remotes.mdwn | ||
external_backend_protocol.mdwn | ||
external_special_remote_protocol.mdwn | ||
gcrypt.mdwn | ||
git-remote-daemon.mdwn | ||
iabackup.mdwn | ||
importing_trees_from_special_remotes.mdwn | ||
metadata.mdwn | ||
new_repo_versions.mdwn | ||
p2p_protocol.mdwn | ||
preferred_content.mdwn | ||
requests_routing.mdwn | ||
roadmap.mdwn |