summaryrefslogtreecommitdiff
path: root/doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_...
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawnx8kHW66N3BqmkVpgtXDlYMvr8TJ5VvfY <Yaroslav@web>2015-03-28 02:07:04 +0000
committerGravatar admin <admin@branchable.com>2015-03-28 02:07:04 +0000
commit90f1f28b638ea8c7edaa953fa5c8864f08038d92 (patch)
treebe86da308d4f983329c78773a52b573bdcad3aae /doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn
parent7de129cff392113dbc4f27bf186cb615977fd89d (diff)
Diffstat (limited to 'doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn')
-rw-r--r--doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn b/doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn
new file mode 100644
index 000000000..0db286999
--- /dev/null
+++ b/doc/bugs/Uses_suggested_by_CHECKURL-CONTENTS_filename_instead_of_explicitly_specified_one_in_addurl_--file_.mdwn
@@ -0,0 +1,24 @@
+### Please describe the problem.
+
+
+### What steps will reproduce the problem?
+
+Run with a custom external remote which provides CHECKURL-CONTENTS response with filename, and then run
+annex addurl --file=existing_file URL expecting to get that URL assigned to existing_file
+
+Alternatively, there is a small test repo
+<http://www.onerussian.com/tmp/tmpSqa8CH.tgz>
+with .git/bin/git-annex-remote-dl+archive under /tmp/tmpSqa8CH having what was supposed to be a replayable protocol (if you do
+
+ cd /tmp/tmplVoa6C; PATH=/tmp/tmplVoa6C/.git/bin:$PATH git annex --debug addurl --file test2.dat --relaxed dl+archive:SHA256E-s163--e424b6fef10c18b9aaa5bc773ef62a2632eaf1448ff3372d43557be4adca6419.tar.gz/a/d/test.dat
+
+But for this one, I guess since addurl command actually succeeds, it is no longer replayable (protocol of interactions diverges) but you will see all the interactions between my remote and annex in that file recorded for you. And you will see the test.dat uncommitted and with somewhat obscured URL-based key, although originally the call was
+
+ git annex --debug addurl --file test2.dat --relaxed dl+archive:SHA256E-s163--1f86ca26e1ca3cad3e8c8f1684d558b5e5f48d5928e0db45ab2e7d3be3d35307.tar.gz/a/d/test.dat
+
+from which I expected test2.dat get a new URL and that Filename remote spit out being ignored
+
+### What version of git-annex are you using? On what operating system?
+
+5.20150327+git27-g6af24b6-1
+