summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-06 11:06:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-06 11:06:27 -0400
commita368cc976a47230d0d8d162845847ce4873c48ce (patch)
treea99f7d921714e87d95c50527ef6e20525493a35a /doc
parent5474c364bbb0f4a7d3084b5dde021585c1a2810b (diff)
thoughts
Diffstat (limited to 'doc')
-rw-r--r--doc/design/assistant/partial_content.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/design/assistant/partial_content.mdwn b/doc/design/assistant/partial_content.mdwn
index 5572811d4..f61d303a2 100644
--- a/doc/design/assistant/partial_content.mdwn
+++ b/doc/design/assistant/partial_content.mdwn
@@ -12,3 +12,25 @@ There needs to be a way for the user to browse files not on the gadget and
request they be transferred to it. This could be done as a browser in the
web app, or using a subdirectory full of placeholder files (not symlinks;
see [[Android]]) that start transfer of the real file when accessed.
+
+----
+
+Currently, Android uses the "source" repository type in some
+configurations. This makes files be removed as soon as they are sent
+somewhere else.
+
+A compromise that avoids needing UI might be to change "source" so it
+retained files for a while after they were created, even after they were
+uploaded elsewhere. For example, it could hold onto them for a day. This
+would allow the user time to do things with new files before they are
+removed from the android device.
+
+Once way to implement that would be a new preferred content expression like
+"age(1 day)". But this would need at least a daily full transfer scan to be
+run.
+
+Another way would be to have a way to make drops of files be deferred
+for a period of time. This approach would not need to be specific to the
+"source" repository type. And seems easy enough to do, just have a
+configuration setting for the time interval, and an ordered drop queue
+and a thread that waits as needed before dropping.