diff options
Diffstat (limited to 'doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__')
9 files changed, 0 insertions, 390 deletions
diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_1_5e9dfaa4dd781f231954c5c1cf88c418._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_1_5e9dfaa4dd781f231954c5c1cf88c418._comment deleted file mode 100644 index 389442738..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_1_5e9dfaa4dd781f231954c5c1cf88c418._comment +++ /dev/null @@ -1,7 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="comment 1" - date="2016-01-19T19:48:10Z" - content=""" -not sure if of help, but I think it happens for the first 'addurl --batch' process invocation, not just for the first url (in my examples above I didn't have persistent --batch'ed process), since in the results of my batched runs (single addurl --batch process) I have not just a single file but many added to annex instead of git. (previously used a sequence of add/find/addurl which now replaced with a batched addurl) -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_2_4587641f1f2b358dfaa43ac69d4ade49._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_2_4587641f1f2b358dfaa43ac69d4ade49._comment deleted file mode 100644 index d0acd0fdd..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_2_4587641f1f2b358dfaa43ac69d4ade49._comment +++ /dev/null @@ -1,37 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="comment 2" - date="2016-01-19T19:50:25Z" - content=""" -and actually has nothing to do with custom special remotes -- the same for regular url: - -[[!format sh \"\"\" -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ git annex addurl --file svgtune_0.2.0.orig.tar.gz http://http.debian.net/debian/pool/main/s/svgtune/svgtune_0.2.0.orig.tar.gz -addurl svgtune_0.2.0.orig.tar.gz (downloading http://http.debian.net/debian/pool/main/s/svgtune/svgtune_0.2.0.orig.tar.gz ...) -/tmp/123/.git/annex/tmp/URL-s5121--http&c%%http.debian. 100%[===============================================================================================================================>] 5.00K --.-KB/s in 0s -ok -(recording state in git...) - -$ git annex initremote datalad-archives externaltype=dl+archive type=external autoenable=true encryption=none -initremote datalad-archives ok -(recording state in git...) - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"success\":true} - -$ ls -l README2.rst -lrwxrwxrwx 1 yoh yoh 188 Jan 19 14:49 README2.rst -> .git/annex/objects/9p/28/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2_.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch -{\"command\":\"addurl\",\"file\":\"README2_.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"note\":\"non-large file; adding content to git repository\",\"success\":true} - -$ ls -l README2_.rst --rw------- 1 yoh yoh 13 Jan 19 14:34 README2_.rst - -\"\"\"]] -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_3_18b28edd16df0a54c27a9b905fe04d8c._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_3_18b28edd16df0a54c27a9b905fe04d8c._comment deleted file mode 100644 index 954a20bb8..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_3_18b28edd16df0a54c27a9b905fe04d8c._comment +++ /dev/null @@ -1,35 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="actually has smth to do with remotes " - date="2016-01-19T19:53:25Z" - content=""" -since if I don't initremote -- adds to git. If I initremote -- adds to annex: - -[[!format sh \"\"\" -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"note\":\"non-large file; adding content to git repository\",\"success\":true} - - - -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ git annex initremote datalad-archives externaltype=dl+archive type=external autoenable=true encryption=none -initremote datalad-archives ok -(recording state in git...) - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"success\":true} - -$ ls -l README2.rst -lrwxrwxrwx 1 yoh yoh 188 Jan 19 14:51 README2.rst -> .git/annex/objects/9p/28/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst - -\"\"\"]] -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment deleted file mode 100644 index 480d918fc..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment +++ /dev/null @@ -1,35 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="but works correct in direct mode" - date="2016-01-19T20:05:56Z" - content=""" -really sorry for spam ;) but here you go -- works correct in direct mode - -[[!format sh \"\"\" -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ git annex direct -commit -On branch master - -Initial commit - -nothing to commit -ok -direct ok - -$ git annex initremote datalad-archives externaltype=dl+archive type=external autoenable=true encryption=none -initremote datalad-archives ok -(recording state in git...) - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"success\":true} - -$ ls -l -total 4 --rw------- 1 yoh yoh 13 Jan 19 14:34 README2.rst -\"\"\"]] -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_511d7ec6a1c8ffb508eee17baadb6e2e._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_511d7ec6a1c8ffb508eee17baadb6e2e._comment deleted file mode 100644 index c80c83826..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_511d7ec6a1c8ffb508eee17baadb6e2e._comment +++ /dev/null @@ -1,11 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 4""" - date="2016-01-19T20:35:51Z" - content=""" -I don't see how git-annex would know if it's the "first run" or not. -Nor can I see any way that direct mode could influence the behavior here. - -Is there some way to reproduce this without having the datalad special -remote? -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_6_d15a9f5ae9fad0fd0d2009c819f4e3d7._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_6_d15a9f5ae9fad0fd0d2009c819f4e3d7._comment deleted file mode 100644 index 50d79ed6d..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_6_d15a9f5ae9fad0fd0d2009c819f4e3d7._comment +++ /dev/null @@ -1,141 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="comment 6" - date="2016-01-19T21:11:53Z" - content=""" -well -- I don't know any better other custom special remotes, so haven't tried to reproduce with any other. If you would like I could prepare for you environment on a box you could login to troubleshoot with datalad's custom remote (note that only initremote is needed to result in such a behavior... not sure what I could have done wrong to cause annex to fail). - -alternatively -- here is the --debug output, may be it would hint on smth - -[[!format sh \"\"\" -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ git annex initremote --debug datalad-archives externaltype=dl+archive type=external autoenable=true encryption=none -[2016-01-19 16:09:23.911888] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"git-annex\"] -[2016-01-19 16:09:23.914196] process done ExitSuccess -[2016-01-19 16:09:23.91428] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:23.916237] process done ExitSuccess -[2016-01-19 16:09:23.916407] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"log\",\"refs/heads/git-annex..2b377aa0e12121d5621cc6ede8bfe006890b00ed\",\"-n1\",\"--pretty=%H\"] -[2016-01-19 16:09:23.918635] process done ExitSuccess -[2016-01-19 16:09:23.919521] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"cat-file\",\"--batch\"] -initremote datalad-archives [2016-01-19 16:09:23.924202] chat: git-annex-remote-dl+archive [] -[2016-01-19 16:09:24.432143] git-annex-remote-dl+archive --> VERSION 1 -[2016-01-19 16:09:24.432297] git-annex-remote-dl+archive <-- INITREMOTE -[2016-01-19 16:09:24.432488] git-annex-remote-dl+archive --> INITREMOTE-SUCCESS -[2016-01-19 16:09:24.432566] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"config\",\"remote.datalad-archives.annex-externaltype\",\"dl+archive\"] -[2016-01-19 16:09:24.43465] process done ExitSuccess -[2016-01-19 16:09:24.434734] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:09:24.437638] process done ExitSuccess -[2016-01-19 16:09:24.437729] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"config\",\"remote.datalad-archives.annex-uuid\",\"736e80de-16b5-41ad-aae7-c969db8a1c99\"] -[2016-01-19 16:09:24.439756] process done ExitSuccess -[2016-01-19 16:09:24.43987] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:09:24.442899] process done ExitSuccess -ok -[2016-01-19 16:09:24.446346] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"hash-object\",\"-w\",\"--stdin-paths\",\"--no-filters\"] -[2016-01-19 16:09:24.447711] feed: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"update-index\",\"-z\",\"--index-info\"] -[2016-01-19 16:09:24.452416] process done ExitSuccess -[2016-01-19 16:09:24.452823] process done ExitSuccess -[2016-01-19 16:09:24.45293] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:24.456893] process done ExitSuccess -(recording state in git...) -[2016-01-19 16:09:24.458231] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"write-tree\"] -[2016-01-19 16:09:24.465603] process done ExitSuccess -[2016-01-19 16:09:24.465736] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"commit-tree\",\"217636cb51dae2dce3d442e514aa8f3f7093bd94\",\"--no-gpg-sign\",\"-p\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:24.471505] process done ExitSuccess -[2016-01-19 16:09:24.471664] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"update-ref\",\"refs/heads/git-annex\",\"a4997677d40f7e2996480dc8e75e169a6d45ac75\"] -[2016-01-19 16:09:24.47606] process done ExitSuccess - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch --debug -[2016-01-19 16:09:37.73796] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"git-annex\"] -[2016-01-19 16:09:37.740347] process done ExitSuccess -[2016-01-19 16:09:37.740429] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:37.742464] process done ExitSuccess -[2016-01-19 16:09:37.742932] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"log\",\"refs/heads/git-annex..a4997677d40f7e2996480dc8e75e169a6d45ac75\",\"-n1\",\"--pretty=%H\"] -[2016-01-19 16:09:37.745346] process done ExitSuccess -[2016-01-19 16:09:37.746071] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"cat-file\",\"--batch\"] -[2016-01-19 16:09:37.749415] chat: git-annex-remote-dl+archive [] -[2016-01-19 16:09:38.246814] git-annex-remote-dl+archive --> VERSION 1 -[2016-01-19 16:09:38.24697] git-annex-remote-dl+archive <-- PREPARE -[2016-01-19 16:09:38.247137] git-annex-remote-dl+archive --> PREPARE-SUCCESS -[2016-01-19 16:09:38.247213] git-annex-remote-dl+archive <-- GETCOST -[2016-01-19 16:09:38.247347] git-annex-remote-dl+archive --> COST 100 -[2016-01-19 16:09:38.24746] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"config\",\"remote.datalad-archives.annex-cost\",\"100.0\"] -[2016-01-19 16:09:38.249687] process done ExitSuccess -[2016-01-19 16:09:38.249769] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:09:38.252649] process done ExitSuccess -[2016-01-19 16:09:38.25275] git-annex-remote-dl+archive <-- GETAVAILABILITY -[2016-01-19 16:09:38.252957] git-annex-remote-dl+archive --> AVAILABILITY LOCAL -[2016-01-19 16:09:38.253262] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"config\",\"remote.datalad-archives.annex-availability\",\"LocallyAvailable\"] -[2016-01-19 16:09:38.255303] process done ExitSuccess -[2016-01-19 16:09:38.255381] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:09:38.258245] process done ExitSuccess -[2016-01-19 16:09:38.258442] git-annex-remote-dl+archive <-- CLAIMURL http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:09:38.258694] git-annex-remote-dl+archive --> DEBUG Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:09:38.258774] Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:09:38.258833] git-annex-remote-dl+archive --> CLAIMURL-FAILURE -[2016-01-19 16:09:38.259102] read: quvi [\"--version\"] -[2016-01-19 16:09:38.263925] process done ExitSuccess -[2016-01-19 16:09:38.264014] call: quvi [\"--verbosity\",\"mute\",\"--support\",\"http://www.onerussian.com/tmp/README2.rst\"] -[2016-01-19 16:09:38.279913] process done ExitFailure 65 -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\"[2016-01-19 16:09:38.328203] call: wget [\"-q\",\"--clobber\",\"-c\",\"-O\",\"/tmp/123/.git/annex/tmp/URL-s13--http&c%%www.onerussian.com%tmp%README2.rst\",\"http://www.onerussian.com/tmp/README2.rst\",\"--user-agent\",\"git-annex/6.20160118+gitgdaf852e-1~ndall+1\"] -[2016-01-19 16:09:38.339006] process done ExitSuccess -[2016-01-19 16:09:38.339259] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"] -[2016-01-19 16:09:38.339566] read: git [\"--version\"] -[2016-01-19 16:09:38.341398] process done ExitSuccess -,\"success\":true} -[2016-01-19 16:09:38.348957] feed: xargs [\"-0\",\"git\",\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"add\",\"--\"] -[2016-01-19 16:09:38.355416] process done ExitSuccess -[2016-01-19 16:09:38.357025] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"hash-object\",\"-w\",\"--stdin-paths\",\"--no-filters\"] -[2016-01-19 16:09:38.358861] feed: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"update-index\",\"-z\",\"--index-info\"] -[2016-01-19 16:09:38.364618] process done ExitSuccess -[2016-01-19 16:09:38.365219] process done ExitSuccess -[2016-01-19 16:09:38.365522] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:38.370635] process done ExitSuccess -[2016-01-19 16:09:38.37276] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"write-tree\"] -[2016-01-19 16:09:38.377745] process done ExitSuccess -[2016-01-19 16:09:38.378004] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"commit-tree\",\"3ac987f852fb7da72238dc2f0302516d0f4b5762\",\"--no-gpg-sign\",\"-p\",\"refs/heads/git-annex\"] -[2016-01-19 16:09:38.385222] process done ExitSuccess -[2016-01-19 16:09:38.385516] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"update-ref\",\"refs/heads/git-annex\",\"f6131f0ea950dd5fca05621630ac6baa91618ec2\"] -[2016-01-19 16:09:38.390555] process done ExitSuccess -[2016-01-19 16:09:38.460596] process done ExitSuccess - -$ ls -l README2.rst -lrwxrwxrwx 1 yoh yoh 188 Jan 19 16:09 README2.rst -> .git/annex/objects/9p/28/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst - -\"\"\"]] - -and here is without initremote -[[!format sh \"\"\" -$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init; -Initialized empty Git repository in /tmp/123/.git/ -init ok -(recording state in git...) - -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch --debug -[2016-01-19 16:10:35.785718] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"git-annex\"] -[2016-01-19 16:10:35.788168] process done ExitSuccess -[2016-01-19 16:10:35.788263] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:10:35.790242] process done ExitSuccess -[2016-01-19 16:10:35.790642] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"log\",\"refs/heads/git-annex..16ea90665454a987f901f72bb8b8ae54d0fed8d1\",\"-n1\",\"--pretty=%H\"] -[2016-01-19 16:10:35.7929] process done ExitSuccess -[2016-01-19 16:10:35.793753] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"cat-file\",\"--batch\"] -[2016-01-19 16:10:35.79694] read: quvi [\"--version\"] -[2016-01-19 16:10:35.802032] process done ExitSuccess -[2016-01-19 16:10:35.802139] call: quvi [\"--verbosity\",\"mute\",\"--support\",\"http://www.onerussian.com/tmp/README2.rst\"] -[2016-01-19 16:10:35.822736] process done ExitFailure 65 -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\"[2016-01-19 16:10:35.885269] call: wget [\"-q\",\"--clobber\",\"-c\",\"-O\",\"/tmp/123/.git/annex/tmp/URL-s13--http&c%%www.onerussian.com%tmp%README2.rst\",\"http://www.onerussian.com/tmp/README2.rst\",\"--user-agent\",\"git-annex/6.20160118+gitgdaf852e-1~ndall+1\"] -[2016-01-19 16:10:35.896785] process done ExitSuccess -[2016-01-19 16:10:35.897041] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"] -[2016-01-19 16:10:35.897383] read: git [\"--version\"] -[2016-01-19 16:10:35.899223] process done ExitSuccess -,\"note\":\"non-large file; adding content to git repository\",\"success\":true} -[2016-01-19 16:10:35.900358] feed: xargs [\"-0\",\"git\",\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"add\",\"--\"] -[2016-01-19 16:10:35.903945] process done ExitSuccess - -$ ls -l README2.rst --rw------- 1 yoh yoh 13 Jan 19 14:34 README2.rst -\"\"\"]] -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_7_d5493497d8f41073a44f888b596e796c._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_7_d5493497d8f41073a44f888b596e796c._comment deleted file mode 100644 index 4aeed9cb8..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_7_d5493497d8f41073a44f888b596e796c._comment +++ /dev/null @@ -1,99 +0,0 @@ -[[!comment format=mdwn - username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" - subject="comment 7" - date="2016-01-19T21:14:03Z" - content=""" -and here is the first and 2nd invocations which differ in --debug output and their end result -[[!format sh \"\"\" -$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch --debug -[2016-01-19 16:12:26.995558] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"git-annex\"] -[2016-01-19 16:12:26.997958] process done ExitSuccess -[2016-01-19 16:12:26.998035] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:12:27.000078] process done ExitSuccess -[2016-01-19 16:12:27.000635] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"log\",\"refs/heads/git-annex..d7ffcd26b0f991c83da0d59997a4b4d7bb6c9ff2\",\"-n1\",\"--pretty=%H\"] -[2016-01-19 16:12:27.003861] process done ExitSuccess -[2016-01-19 16:12:27.004656] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"cat-file\",\"--batch\"] -[2016-01-19 16:12:27.009211] chat: git-annex-remote-dl+archive [] -[2016-01-19 16:12:27.527475] git-annex-remote-dl+archive --> VERSION 1 -[2016-01-19 16:12:27.527623] git-annex-remote-dl+archive <-- PREPARE -[2016-01-19 16:12:27.527861] git-annex-remote-dl+archive --> PREPARE-SUCCESS -[2016-01-19 16:12:27.527931] git-annex-remote-dl+archive <-- GETCOST -[2016-01-19 16:12:27.528052] git-annex-remote-dl+archive --> COST 100 -[2016-01-19 16:12:27.528131] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"config\",\"remote.datalad-archives.annex-cost\",\"100.0\"] -[2016-01-19 16:12:27.530227] process done ExitSuccess -[2016-01-19 16:12:27.530302] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:12:27.533089] process done ExitSuccess -[2016-01-19 16:12:27.53319] git-annex-remote-dl+archive <-- GETAVAILABILITY -[2016-01-19 16:12:27.533378] git-annex-remote-dl+archive --> AVAILABILITY LOCAL -[2016-01-19 16:12:27.533669] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"config\",\"remote.datalad-archives.annex-availability\",\"LocallyAvailable\"] -[2016-01-19 16:12:27.535709] process done ExitSuccess -[2016-01-19 16:12:27.535862] read: git [\"config\",\"--null\",\"--list\"] -[2016-01-19 16:12:27.538559] process done ExitSuccess -[2016-01-19 16:12:27.538738] git-annex-remote-dl+archive <-- CLAIMURL http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:27.538935] git-annex-remote-dl+archive --> DEBUG Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:27.539007] Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:27.539081] git-annex-remote-dl+archive --> CLAIMURL-FAILURE -[2016-01-19 16:12:27.539358] read: quvi [\"--version\"] -[2016-01-19 16:12:27.544211] process done ExitSuccess -[2016-01-19 16:12:27.544298] call: quvi [\"--verbosity\",\"mute\",\"--support\",\"http://www.onerussian.com/tmp/README2.rst\"] -[2016-01-19 16:12:27.55835] process done ExitFailure 65 -{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\"[2016-01-19 16:12:27.59644] call: wget [\"-q\",\"--clobber\",\"-c\",\"-O\",\"/tmp/123/.git/annex/tmp/URL-s13--http&c%%www.onerussian.com%tmp%README2.rst\",\"http://www.onerussian.com/tmp/README2.rst\",\"--user-agent\",\"git-annex/6.20160118+gitgdaf852e-1~ndall+1\"] -[2016-01-19 16:12:27.615658] process done ExitSuccess -[2016-01-19 16:12:27.616383] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"] -[2016-01-19 16:12:27.617697] read: git [\"--version\"] -[2016-01-19 16:12:27.62155] process done ExitSuccess -,\"success\":true} -[2016-01-19 16:12:27.633965] feed: xargs [\"-0\",\"git\",\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"add\",\"--\"] -[2016-01-19 16:12:27.64207] process done ExitSuccess -[2016-01-19 16:12:27.643078] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"hash-object\",\"-w\",\"--stdin-paths\",\"--no-filters\"] -[2016-01-19 16:12:27.644711] feed: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"update-index\",\"-z\",\"--index-info\"] -[2016-01-19 16:12:27.651595] process done ExitSuccess -[2016-01-19 16:12:27.651948] process done ExitSuccess -[2016-01-19 16:12:27.652117] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:12:27.655295] process done ExitSuccess -[2016-01-19 16:12:27.656512] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"write-tree\"] -[2016-01-19 16:12:27.662511] process done ExitSuccess -[2016-01-19 16:12:27.662718] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"commit-tree\",\"5051fd1b69430fa24b200817f6c724ce1269059a\",\"--no-gpg-sign\",\"-p\",\"refs/heads/git-annex\"] -[2016-01-19 16:12:27.673622] process done ExitSuccess -[2016-01-19 16:12:27.673873] call: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"update-ref\",\"refs/heads/git-annex\",\"bb2fd6a3391ad86b627c121c2b013f61c1936b0c\"] -[2016-01-19 16:12:27.679617] process done ExitSuccess -[2016-01-19 16:12:27.760906] process done ExitSuccess - -$ echo \"http://www.onerussian.com/tmp/README2.rst README-2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch --debug -[2016-01-19 16:12:42.552976] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"git-annex\"] -[2016-01-19 16:12:42.556093] process done ExitSuccess -[2016-01-19 16:12:42.556174] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] -[2016-01-19 16:12:42.558521] process done ExitSuccess -[2016-01-19 16:12:42.558658] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"log\",\"refs/heads/git-annex..bb2fd6a3391ad86b627c121c2b013f61c1936b0c\",\"-n1\",\"--pretty=%H\"] -[2016-01-19 16:12:42.561171] process done ExitSuccess -[2016-01-19 16:12:42.561883] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"cat-file\",\"--batch\"] -[2016-01-19 16:12:42.565138] chat: git-annex-remote-dl+archive [] -[2016-01-19 16:12:43.082528] git-annex-remote-dl+archive --> VERSION 1 -[2016-01-19 16:12:43.082742] git-annex-remote-dl+archive <-- PREPARE -[2016-01-19 16:12:43.083009] git-annex-remote-dl+archive --> PREPARE-SUCCESS -[2016-01-19 16:12:43.083139] git-annex-remote-dl+archive <-- CLAIMURL http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:43.083369] git-annex-remote-dl+archive --> DEBUG Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:43.083494] Not claiming url http://www.onerussian.com/tmp/README2.rst -[2016-01-19 16:12:43.083596] git-annex-remote-dl+archive --> CLAIMURL-FAILURE -[2016-01-19 16:12:43.083766] read: quvi [\"--version\"] -[2016-01-19 16:12:43.089921] process done ExitSuccess -[2016-01-19 16:12:43.090047] call: quvi [\"--verbosity\",\"mute\",\"--support\",\"http://www.onerussian.com/tmp/README2.rst\"] -[2016-01-19 16:12:43.106383] process done ExitFailure 65 -{\"command\":\"addurl\",\"file\":\"README-2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\"[2016-01-19 16:12:43.167357] call: wget [\"-q\",\"--clobber\",\"-c\",\"-O\",\"/tmp/123/.git/annex/tmp/URL-s13--http&c%%www.onerussian.com%tmp%README2.rst\",\"http://www.onerussian.com/tmp/README2.rst\",\"--user-agent\",\"git-annex/6.20160118+gitgdaf852e-1~ndall+1\"] -[2016-01-19 16:12:43.184513] process done ExitSuccess -[2016-01-19 16:12:43.184842] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"] -[2016-01-19 16:12:43.185231] read: git [\"--version\"] -[2016-01-19 16:12:43.189767] process done ExitSuccess -,\"note\":\"non-large file; adding content to git repository\",\"success\":true} -[2016-01-19 16:12:43.193754] feed: xargs [\"-0\",\"git\",\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"-c\",\"annex.largefiles=exclude=*.rst\",\"add\",\"--\"] -[2016-01-19 16:12:43.199038] process done ExitSuccess -[2016-01-19 16:12:43.256073] process done ExitSuccess - -$ ls -l -total 8 --rw------- 1 yoh yoh 13 Jan 19 14:34 README-2.rst -lrwxrwxrwx 1 yoh yoh 188 Jan 19 16:12 README2.rst -> .git/annex/objects/9p/28/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst/SHA256E-s13--1c87b6727f523662df714f06a94ea27fa4d9050c38f4f7712bd4663ffbfdfa01.rst - - -\"\"\"]] -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_8_e52ad311ed01f652fb73fbc8340e30aa._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_8_e52ad311ed01f652fb73fbc8340e30aa._comment deleted file mode 100644 index 33c61fa2e..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_8_e52ad311ed01f652fb73fbc8340e30aa._comment +++ /dev/null @@ -1,12 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 8""" - date="2016-01-20T18:30:18Z" - content=""" -I don't know how the datalad remote could be causing this, but I can't -reproduce this under as similar circumstances as I can set up here. - -(I also can't find any code paths through addurl where it doesn't check -annex.largefiles, except of course for code paths where it doesn't download -the content of the file.) -"""]] diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_9_d898fe3f91673ac40014d01f35bc5138._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_9_d898fe3f91673ac40014d01f35bc5138._comment deleted file mode 100644 index 9040dc10a..000000000 --- a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_9_d898fe3f91673ac40014d01f35bc5138._comment +++ /dev/null @@ -1,13 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 9""" - date="2016-01-22T17:43:01Z" - content=""" -This is caused by git-annex needing to change the git config for the -special remote, so it then re-loads it, and thus loses the value passed -via -c. - -Workaround is to pass the -c as a parameter to git, not annex. - -And fixed now. -"""]] |