From d4c75184e429dd56f28158f0f40dcc6fd50b7f40 Mon Sep 17 00:00:00 2001 From: "misc@e661ec6eb62aa0134e4ac4ca16f98640acf5c627" Date: Tue, 27 Mar 2018 05:53:44 +0000 Subject: [PATCH 1/6] Added a comment --- .../comment_2_d77b7f56dcb8bf384f5a19bf54fe629e._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/forum/Sync_All_Missing_Content__63__/comment_2_d77b7f56dcb8bf384f5a19bf54fe629e._comment diff --git a/doc/forum/Sync_All_Missing_Content__63__/comment_2_d77b7f56dcb8bf384f5a19bf54fe629e._comment b/doc/forum/Sync_All_Missing_Content__63__/comment_2_d77b7f56dcb8bf384f5a19bf54fe629e._comment new file mode 100644 index 0000000000..040576f425 --- /dev/null +++ b/doc/forum/Sync_All_Missing_Content__63__/comment_2_d77b7f56dcb8bf384f5a19bf54fe629e._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="misc@e661ec6eb62aa0134e4ac4ca16f98640acf5c627" + nickname="misc" + avatar="http://cdn.libravatar.org/avatar/78f317f1cdf5dfdaa295207a6dbf1311" + subject="comment 2" + date="2018-03-27T05:53:43Z" + content=""" +That's exactly what I needed, thanks! +"""]] From 1b404742ff793d5ead80c74810891872bf761903 Mon Sep 17 00:00:00 2001 From: dittigas Date: Tue, 27 Mar 2018 07:39:28 +0000 Subject: [PATCH 2/6] Added a comment: How do I mark a specialremote (box.com) as being in the transfer group (cli) --- .../comment_5_22434bd01b2b9ce62ddc9fb64b18f8b8._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/preferred_content/standard_groups/comment_5_22434bd01b2b9ce62ddc9fb64b18f8b8._comment diff --git a/doc/preferred_content/standard_groups/comment_5_22434bd01b2b9ce62ddc9fb64b18f8b8._comment b/doc/preferred_content/standard_groups/comment_5_22434bd01b2b9ce62ddc9fb64b18f8b8._comment new file mode 100644 index 0000000000..3925841fa8 --- /dev/null +++ b/doc/preferred_content/standard_groups/comment_5_22434bd01b2b9ce62ddc9fb64b18f8b8._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="dittigas" + avatar="http://cdn.libravatar.org/avatar/58cabd2b30471004288fac2b535faaa8" + subject="How do I mark a specialremote (box.com) as being in the transfer group (cli)" + date="2018-03-27T07:39:28Z" + content=""" +I've got thing set up (2 client, with box.com as a special remote)... client one uploads it's content, but client 2 does not download anything. I'd like to have box.com set up as as a trandfer repo, which will loos it's content when client 2 got the files. +"""]] From a56d2c7a5939e40d929693de1cdf7042ea99428d Mon Sep 17 00:00:00 2001 From: dittigas Date: Tue, 27 Mar 2018 07:43:53 +0000 Subject: [PATCH 3/6] Added a comment: git-annex-webapp missing from Fedora 27 --- .../comment_5_a2532a0fea59d15a2efa11748ff0d70a._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/install/comment_5_a2532a0fea59d15a2efa11748ff0d70a._comment diff --git a/doc/install/comment_5_a2532a0fea59d15a2efa11748ff0d70a._comment b/doc/install/comment_5_a2532a0fea59d15a2efa11748ff0d70a._comment new file mode 100644 index 0000000000..809c683172 --- /dev/null +++ b/doc/install/comment_5_a2532a0fea59d15a2efa11748ff0d70a._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="dittigas" + avatar="http://cdn.libravatar.org/avatar/58cabd2b30471004288fac2b535faaa8" + subject="git-annex-webapp missing from Fedora 27" + date="2018-03-27T07:43:53Z" + content=""" +My installation does not seem to include the webapp feature. I.e git-annex webapp, git annex webapp or git-annex-webapp are not abailble. +"""]] From b3ba0a2368aaffa6712a1936cf62792d8521b0bf Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Tue, 27 Mar 2018 15:34:03 +0000 Subject: [PATCH 4/6] initial report --- ...re_of_files_added_via_addurls_--batch.mdwn | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/bugs/annex_metadata___40__not_--batch__39__ed__41___is_not_aware_of_files_added_via_addurls_--batch.mdwn diff --git a/doc/bugs/annex_metadata___40__not_--batch__39__ed__41___is_not_aware_of_files_added_via_addurls_--batch.mdwn b/doc/bugs/annex_metadata___40__not_--batch__39__ed__41___is_not_aware_of_files_added_via_addurls_--batch.mdwn new file mode 100644 index 0000000000..b4567e84a6 --- /dev/null +++ b/doc/bugs/annex_metadata___40__not_--batch__39__ed__41___is_not_aware_of_files_added_via_addurls_--batch.mdwn @@ -0,0 +1,35 @@ +### Please describe the problem. + +From our inspection, `annex metadata` call relies on `ls-files` to determine if the file is known to annex. But if there is an `addurl --batch` running which is adding those files, `git` is not immediately aware of them, thus `git annex metadata` returns "peacefully" without actually performing any operation on metadata. + +### What steps will reproduce the problem? + +this is an extract from what we are doing in datalad, so might be insufficient (let us know if so) + +1. run `git annex addurl --batch` and add a file +2. run `git annex metadata` to assign some metadata to the just addurl'ed file + + +### What version of git-annex are you using? On what operating system? + + +6.20180316+gitg308f3ecf6-1~ndall+1 + +### Please provide any additional information below. + +[[!format sh """ +$> git -c receive.autogc=0 -c gc.auto=0 annex --debug metadata --json -s verbal_iq+=116 -s performance_iq+=89 -s age+=16.77 -s handedness+=ambidextrous -s site_id+=pitt -s session_count+=1 -s dsm_iv_tr+=autism -s sex+=Male -s project+=abide_initiative -s full_iq+=103 -s MRI+=yes -s diagnosis+=autism -s participant_id+=50002 -s session_id+=1 -s species+=homo-sapiens -- sub-50002/ses-1/T1_rep-0.mgz [2018-03-27 11:25:15.953624157] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","ls-files","--cached","-z","--","sub-50002/ses-1/T1_rep-0.mgz"] +[2018-03-27 11:25:15.957761277] process done ExitSuccess + +# no error exit code +$> px | grep addurl.*batch +yoh 26767 0.0 0.0 17892 2184 pts/16 T 11:05 0:00 | \_ /usr/lib/git-annex.linux/exe/git --library-path /usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu/gconv:/usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu/audit:/usr/lib/git-annex.linux//etc/ld.so.conf.d:/usr/lib/git-annex.linux//lib64:/usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu:/usr/lib/git-annex.linux//lib/x86_64-linux-gnu: /usr/lib/git-annex.linux/shimmed/git/git -c receive.autogc=0 -c gc.auto=0 annex addurl --with-files --json --batch +yoh 26790 0.0 0.3 1074180296 63604 pts/16 Tl 11:05 0:00 | \_ /usr/lib/git-annex.linux/exe/git-annex --library-path /usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu/gconv:/usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu/audit:/usr/lib/git-annex.linux//etc/ld.so.conf.d:/usr/lib/git-annex.linux//lib64:/usr/lib/git-annex.linux//usr/lib/x86_64-linux-gnu:/usr/lib/git-annex.linux//lib/x86_64-linux-gnu: /usr/lib/git-annex.linux/shimmed/git-annex/git-annex addurl --with-files --json --batch + +"""]] + + +P.S. It might be a related observation that git-annex metadata does exit with non-0 exit code whenever it is ran on a non-existing file, but it exits with 0 exit code (but without performing any action) when ran on the existing but not known to git file. I wondered if there could be if not a change in behavior but a flag to make `annex metadata PATHs` exit with non-0 code if it didn't handle some path(s) from the provided. Then we could use it within our "set metadata" to guarantee that we do not omit any file for which we thought we would get metadata operation performed. + +[[!meta author=yoh]] + From 8280f2558a392d0af577d7ff75d98ab1466c1e21 Mon Sep 17 00:00:00 2001 From: JasonWoof Date: Tue, 27 Mar 2018 16:26:06 +0000 Subject: [PATCH 5/6] add backticks so asterisks are visible --- doc/upgrades.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/upgrades.mdwn b/doc/upgrades.mdwn index 4cf77a487a..dda32c8480 100644 --- a/doc/upgrades.mdwn +++ b/doc/upgrades.mdwn @@ -67,7 +67,7 @@ The behavior of some commands changes in an upgraded repository: to the git repository. To cause some files to be added directly to git, you can configure `annex.largefiles`. For example: - git config annex.largefiles "largerthan=100kb and not (include=*.c or include=*.h)" + `git config annex.largefiles "largerthan=100kb and not (include=*.c or include=*.h)"` * `git annex unlock` and `git annex lock` change how the pointer to the annexed content is stored in git. From 3809698fbf6795d97524dee1d2e7ae1b727b10a9 Mon Sep 17 00:00:00 2001 From: "ilyawebmail@d5db0da13c02cda3860f534f3f02acdc914360b9" Date: Tue, 27 Mar 2018 18:33:36 +0000 Subject: [PATCH 6/6] Added a comment: conda install now available on Linux (no root privileges needed) --- ...comment_6_b095b0f6d7607f149ddc112da433319e._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/install/comment_6_b095b0f6d7607f149ddc112da433319e._comment diff --git a/doc/install/comment_6_b095b0f6d7607f149ddc112da433319e._comment b/doc/install/comment_6_b095b0f6d7607f149ddc112da433319e._comment new file mode 100644 index 0000000000..61746a584b --- /dev/null +++ b/doc/install/comment_6_b095b0f6d7607f149ddc112da433319e._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="ilyawebmail@d5db0da13c02cda3860f534f3f02acdc914360b9" + nickname="ilyawebmail" + avatar="http://cdn.libravatar.org/avatar/34c90de0aa8b47144f32671827bd97d1" + subject="conda install now available on Linux (no root privileges needed)" + date="2018-03-27T18:33:36Z" + content=""" +On Linux, an up-to-date binary distribution of git-annex can now be installed with the conda package manager ( https://conda.io/docs/ ) from with conda-forge channel ( https://conda-forge.org/ ). After installing conda, do: \"conda install -c conda-forge git-annex\". + +"""]]