summaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-20 15:08:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-20 15:08:15 -0400
commit133b4581d109c6c245c0fdbc9059157b81f610c1 (patch)
tree7430c8f34eaf79220075ee2b14c26a4210f54875 /doc/design
parentf6d4786b860c92dffd855a90a070212324ff69dc (diff)
parente8ccf0bd1127fe487dc279cf764dfbc0d4787275 (diff)
Merge branch 'master' into assistant
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/assistant/blog/day_40__dbus/comment_1_43ed2a79629868b018ec9f54a32bcacc._comment12
-rw-r--r--doc/design/assistant/syncing.mdwn8
2 files changed, 18 insertions, 2 deletions
diff --git a/doc/design/assistant/blog/day_40__dbus/comment_1_43ed2a79629868b018ec9f54a32bcacc._comment b/doc/design/assistant/blog/day_40__dbus/comment_1_43ed2a79629868b018ec9f54a32bcacc._comment
new file mode 100644
index 000000000..3670e7dd5
--- /dev/null
+++ b/doc/design/assistant/blog/day_40__dbus/comment_1_43ed2a79629868b018ec9f54a32bcacc._comment
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
+ nickname="Richard"
+ subject="dbus vs polling"
+ date="2012-07-19T17:38:40Z"
+ content="""
+I am running KDE, dbus, and I like to mount drives by hand; all that without bothering to set up /etc/fstab... Often from CLI so I don't even see the notifications for new drives.
+
+Especially while on the road, I will use no KDE, but just a tty or three. Still, dbus will be running.
+
+Long story short, I would need polling for the assistant to work flawlessly in all use cases.
+"""]]
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index 12dc0aa3e..f8ad3c13f 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -10,9 +10,15 @@ all the other git clones, at both the git level and the key/value level.
on remotes, and transfer. But first, need to ensure that when a remote
receives content, and updates its location log, it syncs that update
out.
+* When MountWatcher detects a newly mounted drive, rescan git remotes
+ in order to get ones on the drive, and do a git sync and file transfers
+ to sync any repositories on it.
## longer-term TODO
+* Test MountWatcher on KDE, and add whatever dbus events KDE emits when
+ drives are mounted.
+* Test MountWatcher on Gnome (should work ok) and LXDE (dunno).
* git-annex needs a simple speed control knob, which can be plumbed
through to, at least, rsync. A good job for an hour in an
airport somewhere.
@@ -23,8 +29,6 @@ all the other git clones, at both the git level and the key/value level.
* Add a hook, so when there's a change to sync, a program can be run
and do its own signaling.
* --debug will show often unnecessary work being done. Optimise.
-* It would be nice if, when a USB drive is connected,
- syncing starts automatically. Use dbus on Linux?
* This assumes the network is connected. It's often not, so the
[[cloud]] needs to be used to bridge between LANs.
* Configurablity, including only enabling git syncing but not data transfer;