From 5402dd4d9fb933e724320e37533ab3922c5fe3ec Mon Sep 17 00:00:00 2001 From: divB Date: Tue, 15 Jul 2014 22:02:41 +0000 Subject: [PATCH 01/12] Added a comment --- ..._48415a7251abffca998b8dccc5e0ba80._comment | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/bugs/Windows_daemon_silently_dies/comment_3_48415a7251abffca998b8dccc5e0ba80._comment diff --git a/doc/bugs/Windows_daemon_silently_dies/comment_3_48415a7251abffca998b8dccc5e0ba80._comment b/doc/bugs/Windows_daemon_silently_dies/comment_3_48415a7251abffca998b8dccc5e0ba80._comment new file mode 100644 index 0000000000..3498cc88e6 --- /dev/null +++ b/doc/bugs/Windows_daemon_silently_dies/comment_3_48415a7251abffca998b8dccc5e0ba80._comment @@ -0,0 +1,22 @@ +[[!comment format=mdwn + username="divB" + ip="128.12.90.218" + subject="comment 3" + date="2014-07-15T22:02:41Z" + content=""" +Update: You are right. It has nothing to do with the connections. I created a new repository without any sync. Same here: + + [2014-07-15 13:53:33 Pacific Daylight Time] main: starting assistant version 5.20140715-g622a376 + [2014-07-15 13:53:33 Pacific Daylight Time] Cronner: You should enable consistency checking to protect your data. + (scanning...) [2014-07-15 13:53:38 Pacific Daylight Time] Watcher: Performing startup scan + (started...) + + git-annex: : hGetLine: invalid argument (Bad file descriptor) + failed + git-annex: assistant: 1 failed + +It always takes exactly 10 minutes until it dies (you see is started 13:53:33 and it died at 14:03:33 (=modification of daemon.log). +So this is reproduceable ... + + +"""]] From 3469610de0101ac93ebab9dcaf2ce4ec0bf63f4b Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" Date: Wed, 16 Jul 2014 02:19:28 +0000 Subject: [PATCH 02/12] Added a comment: text relocations refusal --- ...t_3_bd4cbc8f256a94ffde4f57d2c406a9ec._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/Where_is_the_content__63__/comment_3_bd4cbc8f256a94ffde4f57d2c406a9ec._comment diff --git a/doc/forum/Where_is_the_content__63__/comment_3_bd4cbc8f256a94ffde4f57d2c406a9ec._comment b/doc/forum/Where_is_the_content__63__/comment_3_bd4cbc8f256a94ffde4f57d2c406a9ec._comment new file mode 100644 index 0000000000..5b736b4100 --- /dev/null +++ b/doc/forum/Where_is_the_content__63__/comment_3_bd4cbc8f256a94ffde4f57d2c406a9ec._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" + nickname="Paul" + subject="text relocations refusal" + date="2014-07-16T02:19:27Z" + content=""" +I'm afraid I've ruined the remote repo. For directory, I wrote \"mediashare\" because that's where I want copy to go. i don't want it in default \"annex\". In git assistant, it is unclearbwhst directory means. Mount point for cooy of remote? + +Well, this is all I get now... + +1|u0_a127@manta:/sdcard $ cd annex +u0_a127@manta:/sdcard/annex $ git annex status +WARNING: linker: git-annex has text relocations. This is wasting memory and is a security risk. Please fix. + + +"""]] From 80063645601e3d77cbb1e3454a813a11bb3cf125 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" Date: Wed, 16 Jul 2014 02:19:42 +0000 Subject: [PATCH 03/12] Added a comment: text relocations refusal --- ...t_4_36f4a20ab5249d63aaf86f0c7c47581f._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment diff --git a/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment b/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment new file mode 100644 index 0000000000..1a53ce2140 --- /dev/null +++ b/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" + nickname="Paul" + subject="text relocations refusal" + date="2014-07-16T02:19:42Z" + content=""" +I'm afraid I've ruined the remote repo. For directory, I wrote \"mediashare\" because that's where I want copy to go. i don't want it in default \"annex\". In git assistant, it is unclearbwhst directory means. Mount point for cooy of remote? + +Well, this is all I get now... + +1|u0_a127@manta:/sdcard $ cd annex +u0_a127@manta:/sdcard/annex $ git annex status +WARNING: linker: git-annex has text relocations. This is wasting memory and is a security risk. Please fix. + + +"""]] From 8c14ba80478c24d824f5265a7741d84cf36f52ec Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" Date: Wed, 16 Jul 2014 02:20:14 +0000 Subject: [PATCH 04/12] removed --- ...t_4_36f4a20ab5249d63aaf86f0c7c47581f._comment | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment diff --git a/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment b/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment deleted file mode 100644 index 1a53ce2140..0000000000 --- a/doc/forum/Where_is_the_content__63__/comment_4_36f4a20ab5249d63aaf86f0c7c47581f._comment +++ /dev/null @@ -1,16 +0,0 @@ -[[!comment format=mdwn - username="https://www.google.com/accounts/o8/id?id=AItOawkpIIYg6Fl7OFsOHVPEchZYj68A3dk4lVg" - nickname="Paul" - subject="text relocations refusal" - date="2014-07-16T02:19:42Z" - content=""" -I'm afraid I've ruined the remote repo. For directory, I wrote \"mediashare\" because that's where I want copy to go. i don't want it in default \"annex\". In git assistant, it is unclearbwhst directory means. Mount point for cooy of remote? - -Well, this is all I get now... - -1|u0_a127@manta:/sdcard $ cd annex -u0_a127@manta:/sdcard/annex $ git annex status -WARNING: linker: git-annex has text relocations. This is wasting memory and is a security risk. Please fix. - - -"""]] From 0d66bac2c0b23d7c86a4cb00e54c8da65efe513c Mon Sep 17 00:00:00 2001 From: "http://mildred.fr/" Date: Wed, 16 Jul 2014 06:52:33 +0000 Subject: [PATCH 05/12] Added a comment: Fixing symlinks to the annex store in direct mode --- ..._7d507b6f87085a19d8dd5014f580922b._comment | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/direct_mode/comment_12_7d507b6f87085a19d8dd5014f580922b._comment diff --git a/doc/direct_mode/comment_12_7d507b6f87085a19d8dd5014f580922b._comment b/doc/direct_mode/comment_12_7d507b6f87085a19d8dd5014f580922b._comment new file mode 100644 index 0000000000..bc8f006800 --- /dev/null +++ b/doc/direct_mode/comment_12_7d507b6f87085a19d8dd5014f580922b._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="http://mildred.fr/" + ip="82.247.184.53" + subject="Fixing symlinks to the annex store in direct mode" + date="2014-07-16T06:52:33Z" + content=""" +I have an issue with direct mode: I have tons of symlinks that points to the git-annex store, while in direct mode. After investigation, I found that these files don't seem to be part of the repository. I can check with: + + $ git -c core.bare=false status --porcelain tr.html + ?? Documentation/Mozilla/developer.mozilla.org/tr.html + + $ ls -l tr.html + lrwxrwxrwx 1 mildred mildred 205 10 juin 16:22 tr.html -> ../../../.git/annex/objects/gF/z1/SHA256E-s31895--c873982bd742ba8db6e026afee26b7ab2f75f54f587304d8c2d877db3900c0f6.html/SHA256E-s31895--c873982bd742ba8db6e026afee26b7ab2f75f54f587304d8c2d877db3900c0f6.html + +The link is valid, and is probably pointing to a unused file in the annex store. How to add these files back? + +If I was in indirect mode, I could simply use `git add tr.html` (and **not** `git annex add`). This would stage to the git staging area the symlink, and all would be well. + +I found that in direct mode, the same was true. The command is: + + git -c core.bare=false add tr.html + +The file is added to the repository, and the link is converted to the target file. The question now is why? There is no hook on the add command. Could it be the annex assistant? If that didn't worked, my question would have been: how to checkout a file in direct mode? +"""]] From db65a17be6704c55ab0e66d387cb6f8577b0041b Mon Sep 17 00:00:00 2001 From: "http://mildred.fr/" Date: Wed, 16 Jul 2014 07:04:08 +0000 Subject: [PATCH 06/12] Added a comment: Re: Fixing symlinks to the annex store in direct mode --- .../comment_13_5169c5541970d3b3bc1e080e07539b22._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/direct_mode/comment_13_5169c5541970d3b3bc1e080e07539b22._comment diff --git a/doc/direct_mode/comment_13_5169c5541970d3b3bc1e080e07539b22._comment b/doc/direct_mode/comment_13_5169c5541970d3b3bc1e080e07539b22._comment new file mode 100644 index 0000000000..7d15fca6f8 --- /dev/null +++ b/doc/direct_mode/comment_13_5169c5541970d3b3bc1e080e07539b22._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://mildred.fr/" + ip="82.247.184.53" + subject="Re: Fixing symlinks to the annex store in direct mode" + date="2014-07-16T07:04:08Z" + content=""" +What I said was just wrong. Instead of trying on tr.html, I tried with a copy of that file. But making the copy of that file had the wanted effect, transforming the symlink to the actual file. Probably the assistant monitoring file creation, and transforming indirect file to direct file. Or perhaps the `cp` command follows symlinks by default (I thought it didn't). +"""]] From 117309d148d9aabd4dd7b8a5624d0045534b0794 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8" Date: Wed, 16 Jul 2014 13:42:16 +0000 Subject: [PATCH 07/12] Added a comment --- .../comment_8_5ce91ac76498539ada344d1639984302._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/Assistant_merge_loop/comment_8_5ce91ac76498539ada344d1639984302._comment diff --git a/doc/bugs/Assistant_merge_loop/comment_8_5ce91ac76498539ada344d1639984302._comment b/doc/bugs/Assistant_merge_loop/comment_8_5ce91ac76498539ada344d1639984302._comment new file mode 100644 index 0000000000..c12c842644 --- /dev/null +++ b/doc/bugs/Assistant_merge_loop/comment_8_5ce91ac76498539ada344d1639984302._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8" + nickname="Jon Ander" + subject="comment 8" + date="2014-07-16T13:42:16Z" + content=""" +I'm still having this issue in 5.20140709 +"""]] From fc492146a5320f264dfa298b49337e48d0da3785 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 16 Jul 2014 17:51:28 +0000 Subject: [PATCH 08/12] Added a comment --- ...omment_14_03a02e689d92faa596de98e02b2ffe28._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/direct_mode/comment_14_03a02e689d92faa596de98e02b2ffe28._comment diff --git a/doc/direct_mode/comment_14_03a02e689d92faa596de98e02b2ffe28._comment b/doc/direct_mode/comment_14_03a02e689d92faa596de98e02b2ffe28._comment new file mode 100644 index 0000000000..ce47a5eb8c --- /dev/null +++ b/doc/direct_mode/comment_14_03a02e689d92faa596de98e02b2ffe28._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 14" + date="2014-07-16T17:51:28Z" + content=""" +I kinda wish people would post questions to the forum, and not clutter up this page.. + +Anyway, there have been past bugs in the direct mode code that caused some files to not be checked out in direct mode, but stay as symlinks pointing at the content. That can be fixed by running `git annex fsck`. But, I am not aware of any problem that can leave a git-annex symlink that is not checked into git at all. Perhaps you copied the symlink from another location? +"""]] From 3da152363403237e43ce223f44c749e025d031c2 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 16 Jul 2014 18:08:26 +0000 Subject: [PATCH 09/12] Added a comment --- ...comment_9_b09a5eaa2588559e19b3549bd3c8b496._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/bugs/Assistant_merge_loop/comment_9_b09a5eaa2588559e19b3549bd3c8b496._comment diff --git a/doc/bugs/Assistant_merge_loop/comment_9_b09a5eaa2588559e19b3549bd3c8b496._comment b/doc/bugs/Assistant_merge_loop/comment_9_b09a5eaa2588559e19b3549bd3c8b496._comment new file mode 100644 index 0000000000..b6bfc68eb4 --- /dev/null +++ b/doc/bugs/Assistant_merge_loop/comment_9_b09a5eaa2588559e19b3549bd3c8b496._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 9" + date="2014-07-16T18:08:26Z" + content=""" +Are you sure that you have upgraded git-annex on every machine that uses that repository? You could have one old un-upgraded one still causing commits that would of course be visible on the rest. + +Also, what version exactly does `git-annex version` show? +"""]] From fe41fe4f74937c6f583104ff8ff0e48ece799d92 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 16 Jul 2014 18:10:09 +0000 Subject: [PATCH 10/12] Added a comment --- ...comment_8_beaa350751eca4642545d1b83e528dd7._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Restricting_SSH_+_supply_key/comment_8_beaa350751eca4642545d1b83e528dd7._comment diff --git a/doc/forum/Restricting_SSH_+_supply_key/comment_8_beaa350751eca4642545d1b83e528dd7._comment b/doc/forum/Restricting_SSH_+_supply_key/comment_8_beaa350751eca4642545d1b83e528dd7._comment new file mode 100644 index 0000000000..0d236d5e58 --- /dev/null +++ b/doc/forum/Restricting_SSH_+_supply_key/comment_8_beaa350751eca4642545d1b83e528dd7._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 8" + date="2014-07-16T18:10:09Z" + content=""" +git-annex only ever runs git from PATH; I never hardcode paths to programs. + +You can verify this by running it with the --debug flag to see the exact commands it runs. +"""]] From 8896939f831fd3f68f9fdd7815caeb5ca39aa535 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 16 Jul 2014 18:18:00 +0000 Subject: [PATCH 11/12] Added a comment --- ...ent_1_e323c21d27bb0946993ba1438429c457._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/Getting_the_status_of_a_remotely_changed_annex_file/comment_1_e323c21d27bb0946993ba1438429c457._comment diff --git a/doc/forum/Getting_the_status_of_a_remotely_changed_annex_file/comment_1_e323c21d27bb0946993ba1438429c457._comment b/doc/forum/Getting_the_status_of_a_remotely_changed_annex_file/comment_1_e323c21d27bb0946993ba1438429c457._comment new file mode 100644 index 0000000000..78b0a9c1e5 --- /dev/null +++ b/doc/forum/Getting_the_status_of_a_remotely_changed_annex_file/comment_1_e323c21d27bb0946993ba1438429c457._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 1" + date="2014-07-16T18:18:00Z" + content=""" +As soon as git-annex syncs with a remote that has made changes to the repository, any new files or files that have been modified, and the content is not yet available in the local repository will be broken symlinks. You can generally easily see a broken symlink by running `ls`, at least with a good `ls` on eg Linux that supports colorization. (Look for the red filenames.) Many file managers also represent broken symlinks in a visual way. + +Or, you can run a command like `git annex whereis $file` and see if it includes \"here\" in the list of locations. + +Or, you can run `git annex find --not --in here` to find all files whose current content is not present. + +The reason `git annex status` doesn't say is that it's focused on showing you which files in the local repository have not yet been committed to git. The `git annex list` command has a similar one line per file output, but puts a \"_\" in the first column (under \"here\") if the file is not locally present. +"""]] From 06265c22af24c2b2c690a1ec227e9d3b36b6b785 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Wed, 16 Jul 2014 18:18:11 +0000 Subject: [PATCH 12/12] Added a comment --- ...comment_4_1c0b0b2e7180425ff2d5e5316a138f7d._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/bugs/Windows_daemon_silently_dies/comment_4_1c0b0b2e7180425ff2d5e5316a138f7d._comment diff --git a/doc/bugs/Windows_daemon_silently_dies/comment_4_1c0b0b2e7180425ff2d5e5316a138f7d._comment b/doc/bugs/Windows_daemon_silently_dies/comment_4_1c0b0b2e7180425ff2d5e5316a138f7d._comment new file mode 100644 index 0000000000..63b37a7e11 --- /dev/null +++ b/doc/bugs/Windows_daemon_silently_dies/comment_4_1c0b0b2e7180425ff2d5e5316a138f7d._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 4" + date="2014-07-16T18:18:11Z" + content=""" +Hmm, there are two places where the assistant happens to hard code a 10 minute time period. But one is 10 minutes from starting to configure a ssh remote in the webapp, not from start. And the other is the watcher's afterLastDaemonRun check, which only happens when a symlink appears in the repository (which shouldn't happen on windows and wouldn't necessarily happen 10 minutes after start). + +Fabulous .. I just reproduced the crash! +"""]]