From 5a5a4452f8f8e3e67d5bf660cc89a40b3e1f23b7 Mon Sep 17 00:00:00 2001 From: datamanager Date: Tue, 21 May 2024 22:36:22 +0000 Subject: [PATCH 1/6] Scrub my identifying information! --- doc/forum/Strange_symlinkPointsToGitDir_error.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/forum/Strange_symlinkPointsToGitDir_error.mdwn b/doc/forum/Strange_symlinkPointsToGitDir_error.mdwn index 8e033b6bbd..e56737d6be 100644 --- a/doc/forum/Strange_symlinkPointsToGitDir_error.mdwn +++ b/doc/forum/Strange_symlinkPointsToGitDir_error.mdwn @@ -5,15 +5,15 @@ remote: error: object a86b9c49d9ef8c88c3180013eef3da5f6ffa9353: symlinkPointsToG remote: error: object ebb743ffb44e23c54a7e3ed44a444cc0ed0df42d: symlinkPointsToGitDir: symlink target points to git dir remote: fatal: fsck error in pack objects error: remote unpack failed: unpack-objects abnormal exit -To gitlab.com:daraul/taskwarrior.git +To gitlab.com:datamanager/tasks.git ! [remote rejected] git-annex -> synced/git-annex (unpacker error) ! [remote rejected] master -> synced/master (unpacker error) -error: failed to push some refs to 'gitlab.com:daraul/taskwarrior.git' +error: failed to push some refs to 'gitlab.com:datamanager/tasks.git' remote: error: object a86b9c49d9ef8c88c3180013eef3da5f6ffa9353: symlinkPointsToGitDir: symlink target points to git dir remote: error: object ebb743ffb44e23c54a7e3ed44a444cc0ed0df42d: symlinkPointsToGitDir: symlink target points to git dir remote: fatal: fsck error in pack objects error: remote unpack failed: unpack-objects abnormal exit -To gitlab.com:daraul/taskwarrior.git +To gitlab.com:datamanager/tasks.git ! [remote rejected] master -> master (unpacker error) ``` From d5ab807b5534dcedba53dbb1185b0fd903529964 Mon Sep 17 00:00:00 2001 From: datamanager Date: Tue, 21 May 2024 22:39:28 +0000 Subject: [PATCH 2/6] Added a comment: sourcehut plays nicely --- ...comment_6_85c66eec7ee7bf88cc5b0366b5cc5bf6._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Strange_symlinkPointsToGitDir_error/comment_6_85c66eec7ee7bf88cc5b0366b5cc5bf6._comment diff --git a/doc/forum/Strange_symlinkPointsToGitDir_error/comment_6_85c66eec7ee7bf88cc5b0366b5cc5bf6._comment b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_6_85c66eec7ee7bf88cc5b0366b5cc5bf6._comment new file mode 100644 index 0000000000..21b0008793 --- /dev/null +++ b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_6_85c66eec7ee7bf88cc5b0366b5cc5bf6._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="datamanager" + avatar="http://cdn.libravatar.org/avatar/7d4ca7c5e571d4740ef072b83a746c12" + subject="sourcehut plays nicely" + date="2024-05-21T22:39:28Z" + content=""" +I went the nuclear route, and decided that I'd move to sourcehut for the moment, which seems to be playing nicely -- at least for the moment. + +That gives us github, and sourcehut, as options -- for now. +"""]] From 01a085c27d22c6cf3acbd5540f3bd709caa83b19 Mon Sep 17 00:00:00 2001 From: datamanager Date: Tue, 21 May 2024 23:27:17 +0000 Subject: [PATCH 3/6] Added a comment --- ...comment_7_aab6eae2fec35d87186569e3e34cf24e._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Strange_symlinkPointsToGitDir_error/comment_7_aab6eae2fec35d87186569e3e34cf24e._comment diff --git a/doc/forum/Strange_symlinkPointsToGitDir_error/comment_7_aab6eae2fec35d87186569e3e34cf24e._comment b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_7_aab6eae2fec35d87186569e3e34cf24e._comment new file mode 100644 index 0000000000..866d2846df --- /dev/null +++ b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_7_aab6eae2fec35d87186569e3e34cf24e._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="datamanager" + avatar="http://cdn.libravatar.org/avatar/7d4ca7c5e571d4740ef072b83a746c12" + subject="comment 7" + date="2024-05-21T23:27:17Z" + content=""" +Is it possible to get my edited file back? + +I know that the file I edited, with it's changes, should be *somewhere* in my .git directory, but I have no idea where (I already undid all commits that contained it's path in my haste to just make it work again), and -- like an idiot -- did not copy it anywhere before doing so. +"""]] From 4b6496407239310a4094596e2b6d9e6cf1801882 Mon Sep 17 00:00:00 2001 From: datamanager Date: Tue, 21 May 2024 23:32:34 +0000 Subject: [PATCH 4/6] Added a comment --- .../comment_8_10bb2fd308b84720b7a3d52fd1dd7150._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Strange_symlinkPointsToGitDir_error/comment_8_10bb2fd308b84720b7a3d52fd1dd7150._comment diff --git a/doc/forum/Strange_symlinkPointsToGitDir_error/comment_8_10bb2fd308b84720b7a3d52fd1dd7150._comment b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_8_10bb2fd308b84720b7a3d52fd1dd7150._comment new file mode 100644 index 0000000000..fca4c74f5a --- /dev/null +++ b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_8_10bb2fd308b84720b7a3d52fd1dd7150._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="datamanager" + avatar="http://cdn.libravatar.org/avatar/7d4ca7c5e571d4740ef072b83a746c12" + subject="comment 8" + date="2024-05-21T23:32:34Z" + content=""" +Apologies -- a quick `git show` gave me the path to the object mentioned in the error log at the top. Got my file back! +"""]] From 1a2bd28a52a76e60bc3a3471f0318838bbb44066 Mon Sep 17 00:00:00 2001 From: nobodyinperson Date: Wed, 22 May 2024 05:02:49 +0000 Subject: [PATCH 5/6] Added a comment --- ...comment_9_6bdd4d8accbf7b8a536bf45c5dad3d19._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Strange_symlinkPointsToGitDir_error/comment_9_6bdd4d8accbf7b8a536bf45c5dad3d19._comment diff --git a/doc/forum/Strange_symlinkPointsToGitDir_error/comment_9_6bdd4d8accbf7b8a536bf45c5dad3d19._comment b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_9_6bdd4d8accbf7b8a536bf45c5dad3d19._comment new file mode 100644 index 0000000000..48fbad34cf --- /dev/null +++ b/doc/forum/Strange_symlinkPointsToGitDir_error/comment_9_6bdd4d8accbf7b8a536bf45c5dad3d19._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="nobodyinperson" + avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5" + subject="comment 9" + date="2024-05-22T05:02:49Z" + content=""" +My GitLab [forum post](https://forum.gitlab.com/t/recent-git-v2-45-1-breaks-git-annex-compatibility/104909) about this is now no longer hidden. + +Btw, codeberg / forgejo / gitea should also be an alternative. +"""]] From f332234c84c0a5abced90e3522a27380afbe0ac3 Mon Sep 17 00:00:00 2001 From: TTTTAAAx Date: Wed, 22 May 2024 06:27:30 +0000 Subject: [PATCH 6/6] --- ...sn__39__t_work_if_git_submodules_exis.mdwn | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 doc/bugs/git_annex_view_doesn__39__t_work_if_git_submodules_exis.mdwn diff --git a/doc/bugs/git_annex_view_doesn__39__t_work_if_git_submodules_exis.mdwn b/doc/bugs/git_annex_view_doesn__39__t_work_if_git_submodules_exis.mdwn new file mode 100644 index 0000000000..f1dd8dcc86 --- /dev/null +++ b/doc/bugs/git_annex_view_doesn__39__t_work_if_git_submodules_exis.mdwn @@ -0,0 +1,70 @@ +### Please describe the problem. + +`git annex view` doesn't work if git submodules exist in the annex. + + +### What steps will reproduce the problem? + +1. add git submodules +2. set tag such as `git annex metadata --tag work projects" +3. `git annex view tags=*`, then I get the error `rmdir ...` + +### What version of git-annex are you using? On what operating system?switch + +- git-annex version: 10.20240430-gd6ad5b9b5003baa77626d4c8ad92b799331232aa +- macOS Sonoma (M2) and Manjaro Linux + +``` +git-annex version: 10.20240430 +build flags: Assistant Webapp Pairing FsEvents TorrentParser MagicMime Benchmark Feeds Testsuite S3 WebDAV +dependency versions: aws-0.24.2 bloomfilter-2.0.1.2 crypton-1.0.0 DAV-1.3.4 feed-1.3.2.1 ghc-9.6.3 http-client-0.7.17 persistent-sqlite-2.13.3.0 torrent-10000.1.3 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 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: darwin aarch64 +supported repository versions: 8 9 10 +upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10 +``` +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +(base) gglee@Tim-MacBook-Pro-M2-14inch annex % ls -l1 +ARCHIVE +AREA +PROJECT +RESOURCE +Using KeePass to serve SSH keys (4_28_2024 10_22_54 PM).html +Using pass in a team. The “standard unix password manager”… _ by David _ Medium (4_28_2024 10_22_14 PM).html + +(base) gglee@Tim-MacBook-Pro-M2-14inch annex % git annex view tags=\* + +view (searching...) +warning: unable to rmdir 'ARCHIVE/00_projects/2015_personal_XXXXXX/XXXX': Directory not empty +warning: unable to rmdir 'ARCHIVE/00_projects/2017_personal_XXXXXX2/XXXX2': Directory not empty +warning: unable to rmdir 'ARCHIVE/00_projects/2017_personal_XXXXXX3/XXXX3': Directory not empty +warning: unable to rmdir 'ARCHIVE/00_projects/2023_05_RAP_XXXX_STT_DUMMY_SERVER/XXXX-stt-dummy-server': Directory not empty +warning: unable to rmdir 'ARCHIVE/00_projects/2023_05_RAP_XXXX_XXXX_Simulator/grpc_XXXX': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-main': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-plugin-ai-template': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-plugin-interface': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-plugin-stt-template': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-plugin-tts-template': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-XXXX-client': Directory not empty +warning: unable to rmdir 'PROJECT/2023_06_RAP_XXXX1/XXXX-grpc-interface': Directory not empty +warning: unable to rmdir 'PROJECT/2024_02_RAP_LLM_XXXX/XXXX-test': Directory not empty +warning: unable to rmdir 'RESOURCE/bible converting/data/sword-osis-convert': Directory not empty +Updating files: 100% (66860/66860), done. +Switched to branch 'views/main(tags=_)' +ok + +(base) gglee@Tim-MacBook-Pro-M2-14inch annex % ls -l1 +ARCHIVE +AREA +PROJECT +RESOURCE +# End of transcript or log. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) +Git annex is my best tool ever.