git-annex/Types
Joey Hess 9286769d2c
let Remote.availability return Unavilable
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
2023-08-16 14:31:31 -04:00
..
ActionItem.hs --explain for preferred/required content matching 2023-07-26 14:50:04 -04:00
AdjustedBranch.hs
Availability.hs let Remote.availability return Unavilable 2023-08-16 14:31:31 -04:00
Backend.hs remove unused Key parameter from isCryptographicallySecure 2023-03-27 14:34:00 -04:00
Benchmark.hs
BranchState.hs
CatFileHandles.hs
CleanupActions.hs
Command.hs uninit: Support --json and --json-error-messages 2023-05-11 13:43:02 -04:00
Concurrency.hs
Creds.hs
Crypto.hs
DeferredParse.hs
DesktopNotify.hs
Difference.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Direction.hs improve concurrency of move/copy --from --to 2023-01-24 13:59:39 -04:00
Distribution.hs
Export.hs
FileMatcher.hs --explain for preferred/required content matching 2023-07-26 14:50:04 -04:00
GitConfig.hs let Remote.availability return Unavilable 2023-08-16 14:31:31 -04:00
Group.hs
Import.hs implement importChanges optimisaton (not used yet) 2023-05-31 16:01:34 -04:00
IndexFiles.hs
Key.hs Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
KeySource.hs
Link.hs
LockCache.hs
Messages.hs rename errorid to message-id 2023-04-26 12:53:30 -04:00
MetaData.hs
Mime.hs
NumCopies.hs
ProposedAccepted.hs
RefSpec.hs Typo: sansative -> sensitive 2023-03-17 15:14:50 -04:00
Remote.hs let Remote.availability return Unavilable 2023-08-16 14:31:31 -04:00
RemoteConfig.hs
RemoteState.hs
RepoVersion.hs
ScheduledActivity.hs
StallDetection.hs
StandardGroups.hs
StoreRetrieve.hs
Test.hs test: Add --test-debug option 2022-11-28 15:12:53 -04:00
Transfer.hs improve concurrency of move/copy --from --to 2023-01-24 13:59:39 -04:00
Transferrer.hs convert encode_c to ByteString 2023-04-07 17:10:49 -04:00
TransferrerPool.hs
Transitions.hs
TrustLevel.hs
Upgrade.hs
UrlContents.hs
UUID.hs expire, trust et al, dead, describe: Support --json and --json-error-messages 2023-05-05 15:33:30 -04:00
VectorClock.hs
View.hs add directory to views for files that lack specified metadata 2023-02-07 16:28:46 -04:00
WorkerPool.hs improve concurrency of move/copy --from --to 2023-01-24 13:59:39 -04:00