From ffc17b0b492361b65557ae087dc1003f25d34d07 Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 3 Mar 2022 08:40:47 +0000 Subject: [PATCH 01/10] rename bugs/git-annex_is_slow_at_reading_files.mdwn to bugs/git-annex_is_slow_at_reading_file_content.mdwn --- ..._files.mdwn => git-annex_is_slow_at_reading_file_content.mdwn} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename doc/bugs/{git-annex_is_slow_at_reading_files.mdwn => git-annex_is_slow_at_reading_file_content.mdwn} (100%) diff --git a/doc/bugs/git-annex_is_slow_at_reading_files.mdwn b/doc/bugs/git-annex_is_slow_at_reading_file_content.mdwn similarity index 100% rename from doc/bugs/git-annex_is_slow_at_reading_files.mdwn rename to doc/bugs/git-annex_is_slow_at_reading_file_content.mdwn From c0164c47505437a6e6dffe454ae54b8d40510aac Mon Sep 17 00:00:00 2001 From: Atemu Date: Fri, 4 Mar 2022 14:16:54 +0000 Subject: [PATCH 02/10] Added a comment --- ...t_1_ed54af250541e2add89938b939016659._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/bugs/git-annex_is_slow_at_reading_file_content/comment_1_ed54af250541e2add89938b939016659._comment diff --git a/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_1_ed54af250541e2add89938b939016659._comment b/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_1_ed54af250541e2add89938b939016659._comment new file mode 100644 index 0000000000..0e44a2de3e --- /dev/null +++ b/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_1_ed54af250541e2add89938b939016659._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 1" + date="2022-03-04T14:16:53Z" + content=""" +To expand on this, results from my more powerful machine reading a 14G file (all in tmpfs): + +|Command|Time| +|:--|--:| +|`git-annex fsck file`| 45s | +|`sha256sum file`| 7s | +|`cat file > /dev/null`| 1s | + +(5800X with dual channel quad rank 3600MT/s CL16 RAM) +"""]] From e879487dca5e8e0c9326e03da06069cb7757a3e4 Mon Sep 17 00:00:00 2001 From: Atemu Date: Fri, 4 Mar 2022 14:44:29 +0000 Subject: [PATCH 03/10] Added a comment --- ...ent_2_786b21544854ad719eac07d08ba8d206._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/bugs/git-annex_is_slow_at_reading_file_content/comment_2_786b21544854ad719eac07d08ba8d206._comment diff --git a/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_2_786b21544854ad719eac07d08ba8d206._comment b/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_2_786b21544854ad719eac07d08ba8d206._comment new file mode 100644 index 0000000000..a5f1f5d019 --- /dev/null +++ b/doc/bugs/git-annex_is_slow_at_reading_file_content/comment_2_786b21544854ad719eac07d08ba8d206._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 2" + date="2022-03-04T14:44:29Z" + content=""" +(Sorry, command used on the more powerful machine was `git annex add`, not `fsck`.) + +The read speed here (~320MiB/s) is pretty close to the `openssl speed sha256` result for 16B block size (~360MiB/s) or 64B blocks with SHA256 acceleration disabled (~300MiB/s, `OPENSSL_ia32cap=:~0x20000000`). + +What block size is used here and does git-annex use SHA instructions for hashing? + + +"""]] From fa5a001ef6dbb2e2e0d536d69351444dc2c2a18f Mon Sep 17 00:00:00 2001 From: mih Date: Fri, 4 Mar 2022 16:23:16 +0000 Subject: [PATCH 04/10] Added a comment: Thanks! --- .../comment_7_d64e8d82f139146338ce2fd4af1b7ad7._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/todo/copy-key___40__--batch__41___to_copy__47__merge_availability_info/comment_7_d64e8d82f139146338ce2fd4af1b7ad7._comment diff --git a/doc/todo/copy-key___40__--batch__41___to_copy__47__merge_availability_info/comment_7_d64e8d82f139146338ce2fd4af1b7ad7._comment b/doc/todo/copy-key___40__--batch__41___to_copy__47__merge_availability_info/comment_7_d64e8d82f139146338ce2fd4af1b7ad7._comment new file mode 100644 index 0000000000..374790a1d3 --- /dev/null +++ b/doc/todo/copy-key___40__--batch__41___to_copy__47__merge_availability_info/comment_7_d64e8d82f139146338ce2fd4af1b7ad7._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="mih" + avatar="http://cdn.libravatar.org/avatar/f881df265a423e4f24eff27c623148fd" + subject="Thanks!" + date="2022-03-04T16:23:16Z" + content=""" +I just had the chance to try this out, and it has worked great! Thanks much! +"""]] From 801673a390b732e684c7b2e9ec8a9df258253042 Mon Sep 17 00:00:00 2001 From: Atemu Date: Fri, 4 Mar 2022 20:27:31 +0000 Subject: [PATCH 05/10] Added a comment --- ...comment_2_d83cc10b2359eb3578c6c4dd299cf308._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Manual_local_pairing_without_webapp__63__/comment_2_d83cc10b2359eb3578c6c4dd299cf308._comment diff --git a/doc/forum/Manual_local_pairing_without_webapp__63__/comment_2_d83cc10b2359eb3578c6c4dd299cf308._comment b/doc/forum/Manual_local_pairing_without_webapp__63__/comment_2_d83cc10b2359eb3578c6c4dd299cf308._comment new file mode 100644 index 0000000000..91ad428c79 --- /dev/null +++ b/doc/forum/Manual_local_pairing_without_webapp__63__/comment_2_d83cc10b2359eb3578c6c4dd299cf308._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 2" + date="2022-03-04T20:27:30Z" + content=""" +Setting up locked-down ssh keys may seem trivial to you since you've thoroughly investigated the topic for implementing them for the assistant's pairing mechanism but I'm pretty sure your average git-annex user doesn't know how to do that or would do it wrong. I certainly wouldn't trust myself doing that on my own. + +Support for pairing on the CLI via P2P was implemented not too long ago (which is great!) but I'd like to stick with regular IP as it's more efficient and I've got my network set up for remote access pretty well already. +"""]] From 1304660e06e292cb4a7336d6e1e43f7df6498a3a Mon Sep 17 00:00:00 2001 From: Atemu Date: Sat, 5 Mar 2022 18:47:10 +0000 Subject: [PATCH 06/10] Added a comment --- ...omment_6_0bd5e37ad9428eb38d2fdb84e58a0c2a._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Use_assistant_to_sync_just_git_repos__63__/comment_6_0bd5e37ad9428eb38d2fdb84e58a0c2a._comment diff --git a/doc/forum/Use_assistant_to_sync_just_git_repos__63__/comment_6_0bd5e37ad9428eb38d2fdb84e58a0c2a._comment b/doc/forum/Use_assistant_to_sync_just_git_repos__63__/comment_6_0bd5e37ad9428eb38d2fdb84e58a0c2a._comment new file mode 100644 index 0000000000..258757f5e5 --- /dev/null +++ b/doc/forum/Use_assistant_to_sync_just_git_repos__63__/comment_6_0bd5e37ad9428eb38d2fdb84e58a0c2a._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 6" + date="2022-03-05T18:47:10Z" + content=""" +So I tried `annex.autocommit=false` but, contrary to what the man page suggests and what Joey said, the that also disables syncing. +It's actually the very setting the assistant modifies when toggling *syncing* on a repo. + +How can I configure the assistant such that it only syncs commits I have added manually and does not create commits on its own? +"""]] From 54a43f68ed441bc07d8b8242f681f9b15447c92f Mon Sep 17 00:00:00 2001 From: Atemu Date: Sat, 5 Mar 2022 21:46:23 +0000 Subject: [PATCH 07/10] Added a comment --- ...comment_6_95e16558f7010627ef4136043f63b937._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Warning__58___linker_on_each_command_Android_8.20210429/comment_6_95e16558f7010627ef4136043f63b937._comment diff --git a/doc/forum/Warning__58___linker_on_each_command_Android_8.20210429/comment_6_95e16558f7010627ef4136043f63b937._comment b/doc/forum/Warning__58___linker_on_each_command_Android_8.20210429/comment_6_95e16558f7010627ef4136043f63b937._comment new file mode 100644 index 0000000000..09dbec5506 --- /dev/null +++ b/doc/forum/Warning__58___linker_on_each_command_Android_8.20210429/comment_6_95e16558f7010627ef4136043f63b937._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a" + subject="comment 6" + date="2022-03-05T21:46:22Z" + content=""" +Try nix-on-droid. It also uses proot (for everything actually) but Nix has an entirely different linking model to traditional distributions. + +Just open `nix-shell -p git git-annex` or add those two to your `environment.packages` in `~/.config/nixpkgs/nix-on-droid.nix` and then `nix-on-droid switch`. (Using `nix-env` is also possible but I wouldn't recommend it.) +"""]] From 6050b839f47f054c517f7e03ac7f58ae6a523f95 Mon Sep 17 00:00:00 2001 From: "git-annex.visiteur@e9d364191d2ffc1b163c8d9e4c57dbadf58aad8e" Date: Sun, 6 Mar 2022 06:46:01 +0000 Subject: [PATCH 08/10] --- .../git_annex_get_--batch_does_not_work.mdwn | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/bugs/git_annex_get_--batch_does_not_work.mdwn diff --git a/doc/bugs/git_annex_get_--batch_does_not_work.mdwn b/doc/bugs/git_annex_get_--batch_does_not_work.mdwn new file mode 100644 index 0000000000..c11a3ba20e --- /dev/null +++ b/doc/bugs/git_annex_get_--batch_does_not_work.mdwn @@ -0,0 +1,25 @@ +### Please describe the problem. + +`git annex get foo` does work. + +`echo "foo" | git annex get --batch` does not. + + +### What version of git-annex are you using? On what operating system? + +git-annex version: 8.20210223 +build flags: Assistant Webapp Pairing Inotify DBus DesktopNotify TorrentParser MagicMime Feeds Testsuite S3 WebDAV +dependency versions: aws-0.22 bloomfilter-2.0.1.0 cryptonite-0.26 DAV-1.3.4 feed-1.3.0.1 ghc-8.8.4 http-client-0.6.4.1 persistent-sqlite-2.10.6.2 torrent-10000.1.1 uuid-1.3.13 yesod-1.6.1.0 +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 X* +remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg hook external +operating system: linux x86_64 +supported repository versions: 8 +upgrade supported from repository versions: 0 1 2 3 4 5 6 7 +local repository version: 8 + + +I use it on Debian 11 + +### 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) + +YES! Git annex is a wonderful tool! I use it for synchronising TB of data From ce523f75612a7e0e3f8fa111b721a9e01dbd0a68 Mon Sep 17 00:00:00 2001 From: "git-annex.visiteur@e9d364191d2ffc1b163c8d9e4c57dbadf58aad8e" Date: Sun, 6 Mar 2022 14:37:42 +0000 Subject: [PATCH 09/10] Added a comment --- .../comment_1_52311b95bf29706d2b1afb3904428047._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/bugs/git_annex_get_--batch_does_not_work/comment_1_52311b95bf29706d2b1afb3904428047._comment diff --git a/doc/bugs/git_annex_get_--batch_does_not_work/comment_1_52311b95bf29706d2b1afb3904428047._comment b/doc/bugs/git_annex_get_--batch_does_not_work/comment_1_52311b95bf29706d2b1afb3904428047._comment new file mode 100644 index 0000000000..c81bd49ad6 --- /dev/null +++ b/doc/bugs/git_annex_get_--batch_does_not_work/comment_1_52311b95bf29706d2b1afb3904428047._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="git-annex.visiteur@e9d364191d2ffc1b163c8d9e4c57dbadf58aad8e" + nickname="git-annex.visiteur" + avatar="http://cdn.libravatar.org/avatar/59640df9d44f100f0bf98c1cbb430037" + subject="comment 1" + date="2022-03-06T14:37:42Z" + content=""" +When I say \"It dos not work\", I mean \"It only returns blank line\" +"""]] From 6a45d7e5d0181b5186c0ef0cb7c9de56ecddb9ab Mon Sep 17 00:00:00 2001 From: nowkixide Date: Mon, 7 Mar 2022 12:07:54 +0000 Subject: [PATCH 10/10] Added a comment: Works fine --- .../comment_11_72129be313d82db95d4fe109793fc3fc._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Apple_M1_Silicon/comment_11_72129be313d82db95d4fe109793fc3fc._comment diff --git a/doc/forum/Apple_M1_Silicon/comment_11_72129be313d82db95d4fe109793fc3fc._comment b/doc/forum/Apple_M1_Silicon/comment_11_72129be313d82db95d4fe109793fc3fc._comment new file mode 100644 index 0000000000..3c5385d915 --- /dev/null +++ b/doc/forum/Apple_M1_Silicon/comment_11_72129be313d82db95d4fe109793fc3fc._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="nowkixide" + avatar="http://cdn.libravatar.org/avatar/6268f09b18a71aafa3ad68ecd8a20d50" + subject="Works fine" + date="2022-03-07T12:07:54Z" + content=""" +`brew install --build-from-source git-annex` took around 25 minutes on M1 Pro (10 core) and passed `git annex test`. +"""]]