From 595d13020b4004b1813cc3bc31ed1a8edf2fe511 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 31 May 2012 15:25:26 -0400 Subject: updates --- doc/design/assistant/android.mdwn | 13 ++++++++++++- doc/design/assistant/inotify.mdwn | 4 +++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'doc/design') diff --git a/doc/design/assistant/android.mdwn b/doc/design/assistant/android.mdwn index a33029b9d..90dc55179 100644 --- a/doc/design/assistant/android.mdwn +++ b/doc/design/assistant/android.mdwn @@ -14,6 +14,14 @@ available in the App Store. * git (not all git commands are needed, but core plumbing and a few like `git-add` are.) +### Android specific features + +The app should be aware of power status, and avoid expensive background +jobs when low on battery or run flat out when plugged in. + +The app should be aware of network status, and avoid expensive data +transfers when not on wifi. This may need to be configurable. + ### FAT sucks The main media partition will use some awful FAT filesystem format from @@ -26,10 +34,13 @@ handle all of git's filenames.) Possible approaches to this follow. Keep only a bare git repo on Android. The app would then need to include a file browser to access the files in there, and adding a file would move -it into the repo. +it into the repo. Not ideal. +Could be improved some by registering git-annex as a file handling app on +Android, allowing you to "send to" git-annex. + #### implement git smudge filters See [[todo/smudge]]. diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn index be38ef13c..6bb810a75 100644 --- a/doc/design/assistant/inotify.mdwn +++ b/doc/design/assistant/inotify.mdwn @@ -8,7 +8,9 @@ useful, it needs to: - notice deleted files and stage the deletion (tricky; there's a race with add..) - notice renamed files, auto-fix the symlink, and stage the new file location -- periodically auto-commit staged changes +- periodically auto-commit staged changes (avoid autocommitting when + lots of changes are coming in) +- tunable delays before adding new files, etc - honor .gitignore, not adding files it excludesa Also to do: -- cgit v1.2.3