summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 <https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4@web>2016-10-24 10:58:04 +0000
committerGravatar admin <admin@branchable.com>2016-10-24 10:58:04 +0000
commit36d72c2898a85183ebce43a180f24d2f9608c3ed (patch)
treeed2c15d0d75d74dbc00c0ffa40831d5053e4fb69
parentd3ae7cb598eb883ea8adb349b2366e0503b74930 (diff)
initial desire
-rw-r--r--doc/todo/Allow_for_TRANSFER-SUCCESS_to_report_also_a_URL_where_key_could_now_be_obtained_from.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/Allow_for_TRANSFER-SUCCESS_to_report_also_a_URL_where_key_could_now_be_obtained_from.mdwn b/doc/todo/Allow_for_TRANSFER-SUCCESS_to_report_also_a_URL_where_key_could_now_be_obtained_from.mdwn
new file mode 100644
index 000000000..25c27efbf
--- /dev/null
+++ b/doc/todo/Allow_for_TRANSFER-SUCCESS_to_report_also_a_URL_where_key_could_now_be_obtained_from.mdwn
@@ -0,0 +1,9 @@
+ATM, special remotes store content (keys) in a keystore which has no reflection of original files hierarchy.
+
+In many cases though it is plausible and reasonable to replicate original files hierarchy, e.g. when uploading path/file1.ext, have it stored on a remote also under such name with additional part of the path to allow for multiple versions, e.g. path/file1-Key[:5].ext (collision is possible but unlikely) or path/file1.ext/Key . This way we could replicate initial files hierarchy on a special remote, making it useful/usable without annex. I guess (didn't check yet) that File in TRANSFER STORE request points to original file location (not resolved key location), so we can have information about original sample location within special remote. Since it would be virtually impossible (or expensive to locate) to retrieve content solely by a Key, we could use URLs mechanism to associate given uploaded Key with a new custom URL (e.g. custom-schema:path-file1.ext/Key) so later this special remote could provide the content by claiming that url. Sure thing custom remote could just use 'addurl' call independently within a call to "TRANSFER" to it, but I wondered if may be protocol could be adjusted to support
+
+TRANSFER-SUCCESS STORE Key URL
+
+response when upon STORE success special remote provides a url under which content should be registered available from.
+
+[[!meta author=yoh]]