summaryrefslogtreecommitdiff
path: root/doc/design/assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-07 11:12:11 -0600
committerGravatar Joey Hess <joey@kitenet.net>2012-07-07 11:12:11 -0600
commit3247415c56fcb3b7ed7914e44cae640c6443abc0 (patch)
tree0e811c92ee54cdbb5de0ca371499b2d85e8f24b3 /doc/design/assistant
parenteb9063c0d1bf34a339516c8ecbfbff8dd2f83e25 (diff)
update; split out hard todo
Diffstat (limited to 'doc/design/assistant')
-rw-r--r--doc/design/assistant/inotify.mdwn22
-rw-r--r--doc/design/assistant/syncing.mdwn7
2 files changed, 13 insertions, 16 deletions
diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn
index 7b600090a..fd81366d4 100644
--- a/doc/design/assistant/inotify.mdwn
+++ b/doc/design/assistant/inotify.mdwn
@@ -18,6 +18,17 @@ available!
I may need to fork off multiple watcher processes to handle this.
See [[bugs/Issue_on_OSX_with_some_system_limits]].
+## todo
+
+* Run niced and ioniced? Seems to make sense, this is a background job.
+* configurable option to only annex files meeting certian size or
+ filename criteria
+* option to check files not meeting annex criteria into git directly,
+ automatically
+* honor .gitignore, not adding files it excludes (difficult, probably
+ needs my own .gitignore parser to avoid excessive running of git commands
+ to check for ignored files)
+
## beyond Linux
I'd also like to support OSX and if possible the BSDs.
@@ -65,17 +76,6 @@ I'd also like to support OSX and if possible the BSDs.
* Windows has a Win32 ReadDirectoryChangesW, and perhaps other things.
-## todo
-
-- Run niced and ioniced? Seems to make sense, this is a background job.
-- configurable option to only annex files meeting certian size or
- filename criteria
-- option to check files not meeting annex criteria into git directly,
- automatically
-- honor .gitignore, not adding files it excludes (difficult, probably
- needs my own .gitignore parser to avoid excessive running of git commands
- to check for ignored files)
-
## the races
Many races need to be dealt with by this code. Here are some of them.
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index 2871ec216..98749d244 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -10,7 +10,8 @@ all the other git clones, at both the git level and the key/value level.
them. Also, enqueue Downloads for any files we're missing.
* The TransferWatcher does not notice ongoing transfers, because inotify is
waiting for the info file to be closed, but that never happens, it's left
- open to keep it locked.
+ open to keep it locked. May need to separate the transfer info files
+ into an info file, and a lock file.
## longer-term TODO
@@ -32,10 +33,6 @@ all the other git clones, at both the git level and the key/value level.
only uploading new files but not downloading, and only downloading
files in some directories and not others. See for use cases:
[[forum/Wishlist:_options_for_syncing_meta-data_and_data]]
-* Running external commands from one thread blocks all of them until
- it completes. Try to switch to haskell's threaded runtime, which I
- think fixes this. Failing that, make sure all network accessing
- commands are run by separate processes or something.
## data syncing