Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2022-03-07 12:00:14 -04:00
commit 568c469e7f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
10 changed files with 111 additions and 0 deletions

View file

@ -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)
"""]]

View file

@ -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?
"""]]

View file

@ -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

View file

@ -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\"
"""]]

View file

@ -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`.
"""]]

View file

@ -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.
"""]]

View file

@ -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?
"""]]

View file

@ -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.)
"""]]

View file

@ -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!
"""]]