add remote.<name>.annex-config-uuid
for use by sameas remotes
This commit is contained in:
parent
06c04ffe29
commit
17afefd63f
2 changed files with 7 additions and 0 deletions
|
@ -246,6 +246,7 @@ data RemoteGitConfig = RemoteGitConfig
|
||||||
, remoteAnnexRetry :: Maybe Integer
|
, remoteAnnexRetry :: Maybe Integer
|
||||||
, remoteAnnexRetryDelay :: Maybe Seconds
|
, remoteAnnexRetryDelay :: Maybe Seconds
|
||||||
, remoteAnnexAllowUnverifiedDownloads :: Bool
|
, remoteAnnexAllowUnverifiedDownloads :: Bool
|
||||||
|
, remoteAnnexConfigUUID :: Maybe UUID
|
||||||
|
|
||||||
{- These settings are specific to particular types of remotes
|
{- These settings are specific to particular types of remotes
|
||||||
- including special remotes. -}
|
- including special remotes. -}
|
||||||
|
@ -308,6 +309,7 @@ extractRemoteGitConfig r remotename = do
|
||||||
<$> getmayberead "retrydelay"
|
<$> getmayberead "retrydelay"
|
||||||
, remoteAnnexAllowUnverifiedDownloads = (== Just "ACKTHPPT") $
|
, remoteAnnexAllowUnverifiedDownloads = (== Just "ACKTHPPT") $
|
||||||
getmaybe ("security-allow-unverified-downloads")
|
getmaybe ("security-allow-unverified-downloads")
|
||||||
|
, remoteAnnexConfigUUID = toUUID <$> getmaybe "config-uuid"
|
||||||
, remoteAnnexShell = getmaybe "shell"
|
, remoteAnnexShell = getmaybe "shell"
|
||||||
, remoteAnnexSshOptions = getoptions "ssh-options"
|
, remoteAnnexSshOptions = getoptions "ssh-options"
|
||||||
, remoteAnnexRsyncOptions = getoptions "rsync-options"
|
, remoteAnnexRsyncOptions = getoptions "rsync-options"
|
||||||
|
|
|
@ -1268,6 +1268,11 @@ Remotes are configured using these settings in `.git/config`.
|
||||||
|
|
||||||
git-annex caches UUIDs of remote repositories here.
|
git-annex caches UUIDs of remote repositories here.
|
||||||
|
|
||||||
|
* `remote.<name>.annex-config-uuid`
|
||||||
|
|
||||||
|
Used for some special remotes, points to a different special remote
|
||||||
|
configuration to use.
|
||||||
|
|
||||||
* `remote.<name>.annex-retry`, `annex.retry`
|
* `remote.<name>.annex-retry`, `annex.retry`
|
||||||
|
|
||||||
Configure retries of failed transfers on a per-remote and general
|
Configure retries of failed transfers on a per-remote and general
|
||||||
|
|
Loading…
Reference in a new issue