configuration and docs for tracking exports
Not yet handled by sync or assistant. This commit was sponsored by Nick Daly on Patreon.
This commit is contained in:
parent
a6268b79b2
commit
527f734492
6 changed files with 50 additions and 0 deletions
|
@ -199,6 +199,7 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
, remoteAnnexPush :: Bool
|
||||
, remoteAnnexReadOnly :: Bool
|
||||
, remoteAnnexVerify :: Bool
|
||||
, remoteAnnexExportTracking :: Maybe Git.Ref
|
||||
, remoteAnnexTrustLevel :: Maybe String
|
||||
, remoteAnnexStartCommand :: Maybe String
|
||||
, remoteAnnexStopCommand :: Maybe String
|
||||
|
@ -247,6 +248,8 @@ extractRemoteGitConfig r remotename = do
|
|||
, remoteAnnexPush = getbool "push" True
|
||||
, remoteAnnexReadOnly = getbool "readonly" False
|
||||
, remoteAnnexVerify = getbool "verify" True
|
||||
, remoteAnnexExportTracking = Git.Ref
|
||||
<$> notempty (getmaybe "export-tracking")
|
||||
, remoteAnnexTrustLevel = notempty $ getmaybe "trustlevel"
|
||||
, remoteAnnexStartCommand = notempty $ getmaybe "start-command"
|
||||
, remoteAnnexStopCommand = notempty $ getmaybe "stop-command"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue