Added adb special remote which allows exporting files to Android devices.
git annex testremote passes. exportree not implemented yet, although the documentation talks about it, since it will be the main way this remote will be used. The adb push/pull progress is displayed for now; it would be better to consume it and use it to update the git-annex progress bar. This commit was sponsored by andrea rota.
This commit is contained in:
parent
108068a8a2
commit
2927618d35
23 changed files with 297 additions and 19 deletions
|
@ -231,6 +231,8 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
, remoteAnnexTahoe :: Maybe FilePath
|
||||
, remoteAnnexBupSplitOptions :: [String]
|
||||
, remoteAnnexDirectory :: Maybe FilePath
|
||||
, remoteAnnexAndroidDirectory :: Maybe FilePath
|
||||
, remoteAnnexAndroidSerial :: Maybe String
|
||||
, remoteAnnexGCrypt :: Maybe String
|
||||
, remoteAnnexDdarRepo :: Maybe String
|
||||
, remoteAnnexHookType :: Maybe String
|
||||
|
@ -282,6 +284,8 @@ extractRemoteGitConfig r remotename = do
|
|||
, remoteAnnexTahoe = getmaybe "tahoe"
|
||||
, remoteAnnexBupSplitOptions = getoptions "bup-split-options"
|
||||
, remoteAnnexDirectory = notempty $ getmaybe "directory"
|
||||
, remoteAnnexAndroidDirectory = notempty $ getmaybe "androiddirectory"
|
||||
, remoteAnnexAndroidSerial = notempty $ getmaybe "androidserial"
|
||||
, remoteAnnexGCrypt = notempty $ getmaybe "gcrypt"
|
||||
, remoteAnnexDdarRepo = getmaybe "ddarrepo"
|
||||
, remoteAnnexHookType = notempty $ getmaybe "hooktype"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue