summaryrefslogtreecommitdiff
path: root/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_gi...
diff options
context:
space:
mode:
authorGravatar trenta3 <trenta3@web>2017-02-05 15:52:55 +0000
committerGravatar admin <admin@branchable.com>2017-02-05 15:52:55 +0000
commit67fbb645a3316c48e89be7f5369dbe86fac34cee (patch)
treeeaea84fb5ecd8c4a163eb13a9bfb73fc9453aa52 /doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn
parent6eeec7cc1a1ebfa661edf54e27defe44fa2e7f1a (diff)
Added feature request for local state variables in special remote protocol
Diffstat (limited to 'doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn')
-rw-r--r--doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn b/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn
new file mode 100644
index 000000000..bb7345123
--- /dev/null
+++ b/doc/bugs/special_remote_protocol__58___adding_local_state_variables___40__not_under_git__41__.mdwn
@@ -0,0 +1,13 @@
+### Please describe the feature request.
+It would be useful in the special remote protocol to add commands to store or retrieve local key / value pairs (not stored under git, but only in local files). At the time of writing it seems to me that there are no ways for a special remote to store key / value pairs that are not so relevant to be stored in the git-annex branch but may be of great relevance for other uses (such as optimization).
+
+More on my specific use of the feature: Resumable uploads
+Use case: while uploading a file to a remote which allow resumable uploads (giving you a token to resume at each uploaded chunk), the network connection may drop. The special remote then may need to store the token value under a local file in order to try resume the upload at a later time.
+
+Since the token is not relevant to the story of the git-annex branch (not regarding the user or the repository itself) but of great relevance for optimization (and may also expire after some time) the addition of commands such as SETCONFIG and GETCONFIG (maybe with names like SETLOCALCONFIG and GETLOCALCONFIG) seems natural to me. They could be also useful to save other optimization values (settings that may need to vary from a repository to another one).
+
+### What version of git-annex are you using? On what operating system?
+git-annex 6.20170101 on Debian stretch (from debian archives)
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+I'm using (and enjoying) it a lot :)