From 462b4d6d3477563fded5649e0004603b2fdf87e8 Mon Sep 17 00:00:00 2001 From: jkniiv Date: Tue, 6 May 2025 22:03:20 +0000 Subject: [PATCH 1/5] Added a comment --- .../comment_4_e30fd722513b38b32e4d0f04c07a0308._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment diff --git a/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment b/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment new file mode 100644 index 0000000000..86cf9b922d --- /dev/null +++ b/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="jkniiv" + avatar="http://cdn.libravatar.org/avatar/595babb94a7609cb73c284d81467837f" + subject="comment 4" + date="2025-05-06T22:03:20Z" + content=""" +@Joey: you've got email. Thanks in advance. +"""]] From 26407c70c1b83cf716e9effa36065992a84fe869 Mon Sep 17 00:00:00 2001 From: jkniiv Date: Tue, 6 May 2025 22:05:21 +0000 Subject: [PATCH 2/5] removed --- .../comment_4_e30fd722513b38b32e4d0f04c07a0308._comment | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment diff --git a/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment b/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment deleted file mode 100644 index 86cf9b922d..0000000000 --- a/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_e30fd722513b38b32e4d0f04c07a0308._comment +++ /dev/null @@ -1,8 +0,0 @@ -[[!comment format=mdwn - username="jkniiv" - avatar="http://cdn.libravatar.org/avatar/595babb94a7609cb73c284d81467837f" - subject="comment 4" - date="2025-05-06T22:03:20Z" - content=""" -@Joey: you've got email. Thanks in advance. -"""]] From 45b4332495f9a30327679c341ea78e47fcf49b46 Mon Sep 17 00:00:00 2001 From: jkniiv Date: Tue, 6 May 2025 22:14:48 +0000 Subject: [PATCH 3/5] Added a comment --- ...nt_4_cae089a258e0fbf6cd7c52b21ee9a159._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_cae089a258e0fbf6cd7c52b21ee9a159._comment diff --git a/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_cae089a258e0fbf6cd7c52b21ee9a159._comment b/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_cae089a258e0fbf6cd7c52b21ee9a159._comment new file mode 100644 index 0000000000..1ee8cabab0 --- /dev/null +++ b/doc/bugs/OsPath_bld_of_g-a_shows_files_needlessly_modified/comment_4_cae089a258e0fbf6cd7c52b21ee9a159._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="jkniiv" + avatar="http://cdn.libravatar.org/avatar/595babb94a7609cb73c284d81467837f" + subject="comment 4" + date="2025-05-06T22:14:48Z" + content=""" +@Joey: you've got email. Thanks in advance for taking a look at my problem. I forgot +to mention in the email that you really need to comment or remove the line with +`git config core.autocrlf false` from my init script (init-git-annex.cmd|.sh) or +you're going to get spurious modified files in git status. I believe the default +is `core.autocrlf` set to true systemwide in Git for Windows. Somehow that default +is what Git for Windows is most \"comfortable\" with, although personally I hate +that it always \"cooks\" my newlines, so to speak. :) + +"""]] From 7e5ae5b79ab5ecafb1190aa38d15586c45340dcf Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Thu, 8 May 2025 17:49:56 +0000 Subject: [PATCH 4/5] Added a comment --- .../comment_1_111477a445f75213c1ba0d47b76dbad6._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/assistant_does_not_add_some_of_the___40__renamed__41___files/comment_1_111477a445f75213c1ba0d47b76dbad6._comment diff --git a/doc/bugs/assistant_does_not_add_some_of_the___40__renamed__41___files/comment_1_111477a445f75213c1ba0d47b76dbad6._comment b/doc/bugs/assistant_does_not_add_some_of_the___40__renamed__41___files/comment_1_111477a445f75213c1ba0d47b76dbad6._comment new file mode 100644 index 0000000000..cbd966c71c --- /dev/null +++ b/doc/bugs/assistant_does_not_add_some_of_the___40__renamed__41___files/comment_1_111477a445f75213c1ba0d47b76dbad6._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="comment 1" + date="2025-05-08T17:49:56Z" + content=""" +issue persists, ATM using 10.20250115-1~ndall+1 . Joey please advise. +"""]] From 2b3f462c41c6a0f6cb381bfdbbbfad52362fcf64 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Thu, 8 May 2025 18:14:39 +0000 Subject: [PATCH 5/5] assistant does not assist --- ...t_commit_anything__44___waiting__63__.mdwn | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 doc/bugs/assistant_does_not_commit_anything__44___waiting__63__.mdwn diff --git a/doc/bugs/assistant_does_not_commit_anything__44___waiting__63__.mdwn b/doc/bugs/assistant_does_not_commit_anything__44___waiting__63__.mdwn new file mode 100644 index 0000000000..dbf3f81227 --- /dev/null +++ b/doc/bugs/assistant_does_not_commit_anything__44___waiting__63__.mdwn @@ -0,0 +1,89 @@ +### Please describe the problem. + +I have used assistant on that box but forgot how I start it etc... so finally came up with a systemd recipe which seems to start it + +``` +reprostim@reproiner:/data/reprostim$ cat ~/.config/systemd/user/git-annex-assistant.service +[Unit] +Description=Git Annex Assistant Service +After=network.target + +[Service] +WorkingDirectory=/data/reprostim +ExecStart=/usr/bin/git annex assistant --foreground +Restart=on-failure +RestartSec=10 + +[Install] +WantedBy=default.target +``` + +which seemed to start it nicely on booth, but I did not see anything committed/transferred. Even if I stop the systemd service, and start from terminal (remote via ssh), we see + +``` +reprostim@reproiner:/data/reprostim$ git annex --debug assistant --foreground +[2025-05-08 14:08:32.609958543] (Utility.Process) process [5887] read: uname ["-o"] +[2025-05-08 14:08:32.611617504] (Utility.Process) process [5887] done ExitSuccess +[2025-05-08 14:08:32.614088771] (Utility.Process) process [5888] read: uname ["-o"] +[2025-05-08 14:08:32.615900478] (Utility.Process) process [5888] done ExitSuccess +[2025-05-08 14:08:32.617482785] (Assistant) logging to .git/annex/daemon.log +[2025-05-08 14:08:32.618258041] (Annex.Branch) read remote.log +[2025-05-08 14:08:32.632058148] (Utility.Process) process [5889] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch"] +[2025-05-08 14:08:32.635478016] (Annex.Branch) read proxy.log +[2025-05-08 14:08:32.636566897] (Annex.Branch) read trust.log +[2025-05-08 14:08:32.63751056] (Assistant) logging to .git/annex/daemon.log +``` + +and in that daemon.log: + +``` +reprostim@reproiner:/data/reprostim$ cat .git/annex/daemon.log +[2025-05-08 14:08:32.640121818] (Annex.Branch) read schedule.log +[2025-05-08 14:08:32.64120032] (Utility.Process) process [5892] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch"] +[2025-05-08 14:08:32.655526372] (Annex.Branch) read schedule.log +[2025-05-08 14:08:32.662389467] (Utility.Process) process [5895] read: lsof ["-F0can","--",".git/reprostim-videocapture.lock"] +lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/113/gvfs + Output information may be incomplete. +[2025-05-08 14:08:32.707976737] (Utility.Process) process [5895] done ExitSuccess +[2025-05-08 14:08:32.708169976] (SanityCheckerStartup) Waiting for 60 seconds for git lock file writer +[2025-05-08 14:09:32.769444892] (Utility.Process) process [6090] read: lsof ["-F0can","--",".git/reprostim-videocapture.lock"] +lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/113/gvfs + Output information may be incomplete. +[2025-05-08 14:09:32.824400459] (Utility.Process) process [6090] done ExitSuccess +[2025-05-08 14:09:32.82450385] (SanityCheckerStartup) Waiting for 60 seconds for git lock file writer +[2025-05-08 14:10:32.873375671] (Utility.Process) process [6281] read: lsof ["-F0can","--",".git/reprostim-videocapture.lock"] +lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/113/gvfs + Output information may be incomplete. +[2025-05-08 14:10:32.930940073] (Utility.Process) process [6281] done ExitSuccess +[2025-05-08 14:10:32.931056974] (SanityCheckerStartup) Waiting for 60 seconds for git lock file writer +[2025-05-08 14:11:32.992138737] (Utility.Process) process [6464] read: lsof ["-F0can","--",".git/reprostim-videocapture.lock"] +lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/113/gvfs + Output information may be incomplete. +[2025-05-08 14:11:33.063544538] (Utility.Process) process [6464] done ExitSuccess +[2025-05-08 14:11:33.063652636] (SanityCheckerStartup) Waiting for 60 seconds for git lock file writer +``` + +and no new files are added/committed etc. + +May be I am invoking assistant incorrectly? (FWIW when I echoed that path into /home/reprostim/.config/git-annex/autostart, and start with --autostart option, then it seems to start two of the processes and still to not commit anything) + + +### What version of git-annex are you using? On what operating system? + +``` +reprostim@reproiner:/data/reprostim$ git annex version +git-annex version: 10.20250115-1~ndall+1 +build flags: Assistant Webapp Pairing Inotify DBus DesktopNotify TorrentParser MagicMime Servant Benchmark Feeds Testsuite S3 WebDAV +dependency versions: aws-0.22.1 bloomfilter-2.0.1.0 cryptonite-0.29 DAV-1.3.4 feed-1.3.2.1 ghc-9.0.2 http-client-0.7.13.1 persistent-sqlite-2.13.1.0 torrent-10000.1.1 uuid-1.3.15 yesod-1.6.2.1 +key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL GITBUNDLE GITMANIFEST VURL X* +remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg rclone hook external +operating system: linux x86_64 +supported repository versions: 8 9 10 +upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10 +local repository version: 10 +``` + +Please advise + +[[!meta author=yoh]] +[[!tag projects/repronim]]