From a368cc976a47230d0d8d162845847ce4873c48ce Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 6 May 2013 11:06:27 -0400 Subject: thoughts --- doc/design/assistant/partial_content.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/design/assistant/partial_content.mdwn') 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. -- cgit v1.2.3