Joey Hess [Fri, 30 May 2025 17:28:36 +0000 (13:28 -0400)]
add git-remote-tor-annex target
Just for consistency, it makes the symlink for git-remote-annex and
git-annex-shell, but not for git-remote-tor-annex despite that being
another one of the multicall programs.
Joey Hess [Fri, 30 May 2025 17:18:26 +0000 (13:18 -0400)]
moveFile on windows forgot to delete src file in fallback case
This dates back to commit
625303226dc94c2f35a5a4835b7c53c582014643,
where a cross-device moveFile on Windows was made to fall back to copying
to the destination, but forgot to delete the source file.
Should fix the following test suite failure on Windows:
import: FAIL (2.52s)
.\Test\Framework.hs:383:
C:\Users\RUNNER~1\AppData\Local\Temp\importtest.0\import1\f exists unexpectedly
Use -p '/import/' to rerun this test only.
Which was seen here, running the test suite in the github action environment.
https://github.com/psychoinformatics-de/git-annex-wheel/issues/5
Joey Hess [Thu, 29 May 2025 17:02:28 +0000 (13:02 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 29 May 2025 17:02:22 +0000 (13:02 -0400)]
update
Joey Hess [Thu, 29 May 2025 16:57:49 +0000 (12:57 -0400)]
Joey Hess [Thu, 29 May 2025 16:55:40 +0000 (12:55 -0400)]
rename repoName to repoDesc
That's what the function mostly is, if it shows a remote name it's only
in an edge case, where that is the best description of it available.
Joey Hess [Thu, 29 May 2025 16:53:42 +0000 (12:53 -0400)]
fix display of remote name in json
Also fixes it in the graphviz map in some cases, where there is no
description for a repository.
And in json, use the remote name, never the description, since the field
is "remote" which is intended to be the git remote name.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Joey Hess [Thu, 29 May 2025 16:42:53 +0000 (12:42 -0400)]
adjust json field names
Avoid using "name" for what git-annex otherwise refers to as a
description.
(For the remotes in the map, the "remote" field should be the remote
name, but there is a bug preventing it from being that.)
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Spencer [Thu, 29 May 2025 03:42:42 +0000 (03:42 +0000)]
Added a comment: I need help with this too (c.f. submodule refactor)
guez@e17c318e09fc77b4a5be4cd330364e3a41a96971 [Wed, 28 May 2025 21:58:23 +0000 (21:58 +0000)]
Added a comment: Not enough information on special remotes
Joey Hess [Wed, 28 May 2025 18:17:28 +0000 (14:17 -0400)]
map: Support --json option
Sponsored-by: Dartmouth College's OpenNeuro project
Joey Hess [Tue, 27 May 2025 17:04:51 +0000 (13:04 -0400)]
comment
Joey Hess [Tue, 27 May 2025 16:55:40 +0000 (12:55 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 27 May 2025 16:49:21 +0000 (12:49 -0400)]
prevent initialization with bad freeze/thaw hook configured
When annex.freezecontent-command or annex.thawcontent-command is configured
but fails, prevent initialization.
This allows the user to fix their configuration and avoid crippled
filesystem detection entering an adjusted unlocked branch unexpectedly,
when they had been relying on the hooks working around their filesystems's
infelicities.
In the case of git-remote-annex, a failure of these hooks is taken to mean
the filesystem may be crippled, so it deletes the bundles objects and
avoids initialization. That might mean extra work, but only in this edge
case where the hook is misconfigured. And it keeps the command working
for cloning even despite the misconfiguration.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
zhunting [Tue, 27 May 2025 15:55:31 +0000 (15:55 +0000)]
Added a comment: Standalone rpms not available
Joey Hess [Tue, 27 May 2025 14:15:59 +0000 (10:15 -0400)]
comment
Joey Hess [Tue, 27 May 2025 14:14:45 +0000 (10:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Tue, 27 May 2025 10:57:18 +0000 (10:57 +0000)]
Added a comment
NewUser [Mon, 26 May 2025 22:22:51 +0000 (22:22 +0000)]
pierreay [Mon, 26 May 2025 19:38:41 +0000 (19:38 +0000)]
Added a comment
jnkl [Mon, 26 May 2025 16:22:25 +0000 (16:22 +0000)]
jnkl [Mon, 26 May 2025 15:30:01 +0000 (15:30 +0000)]
Added a comment
Joey Hess [Sat, 24 May 2025 17:22:20 +0000 (13:22 -0400)]
dup
Joey Hess [Fri, 23 May 2025 19:46:06 +0000 (15:46 -0400)]
close dup todo
Joey Hess [Fri, 23 May 2025 19:37:38 +0000 (15:37 -0400)]
correction
http://tokariew.id.fedoraproject.org/ [Fri, 23 May 2025 11:05:27 +0000 (11:05 +0000)]
Added a comment
Joey Hess [Thu, 22 May 2025 19:21:18 +0000 (15:21 -0400)]
comment
Joey Hess [Thu, 22 May 2025 18:32:51 +0000 (14:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 22 May 2025 18:32:42 +0000 (14:32 -0400)]
git bug
yarikoptic [Thu, 22 May 2025 18:23:36 +0000 (18:23 +0000)]
Added a comment
Joey Hess [Thu, 22 May 2025 17:46:18 +0000 (13:46 -0400)]
comment
Joey Hess [Thu, 22 May 2025 17:04:22 +0000 (13:04 -0400)]
comment
Joey Hess [Thu, 22 May 2025 16:56:31 +0000 (12:56 -0400)]
assistant: Avoid startup hang on active *.lock file
Avoid hanging at startup when a process has a *.lock file open in the .git
directory.
The goal is to repair stale locks, not wait for all active locks to be
closed. This was causing problems for a non-git process that has its own
lock file in a subdir of .git/.
If .git/index_lock is a non-stale lock, this does let the assistant start
up regardless. Commits by the assistant will then fail, until the process
locking the index finishes. This is not a problem, because the same
behavior could already happen if the assistant is started and then another
process locks the index.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
http://tokariew.id.fedoraproject.org/ [Thu, 22 May 2025 12:39:35 +0000 (12:39 +0000)]
stv0g [Wed, 21 May 2025 23:40:28 +0000 (23:40 +0000)]
Added a comment
Joey Hess [Wed, 21 May 2025 18:22:35 +0000 (14:22 -0400)]
comment
Joey Hess [Wed, 21 May 2025 18:14:37 +0000 (14:14 -0400)]
comment
Joey Hess [Wed, 21 May 2025 17:05:06 +0000 (13:05 -0400)]
comment
Yann Büchau [Wed, 21 May 2025 14:08:32 +0000 (16:08 +0200)]
make it a clickable url
nobodyinperson [Wed, 21 May 2025 14:04:51 +0000 (14:04 +0000)]
Added a comment: Maybe the new sizebalanced= feature?
stv0g [Wed, 21 May 2025 11:40:12 +0000 (11:40 +0000)]
nobodyinperson [Wed, 21 May 2025 08:22:28 +0000 (08:22 +0000)]
Added a comment: Valid reasons to retire the webapp, how about
Joey Hess [Tue, 20 May 2025 20:01:45 +0000 (16:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 20 May 2025 20:01:36 +0000 (16:01 -0400)]
todo
yarikoptic [Tue, 20 May 2025 15:00:07 +0000 (15:00 +0000)]
Added a comment
Joey Hess [Tue, 20 May 2025 14:30:14 +0000 (10:30 -0400)]
add news item for git-annex 10.
20250520
Joey Hess [Tue, 20 May 2025 14:30:08 +0000 (10:30 -0400)]
releasing package git-annex version 10.
20250520
Joey Hess [Tue, 20 May 2025 14:22:53 +0000 (10:22 -0400)]
close
Joey Hess [Tue, 20 May 2025 14:16:34 +0000 (10:16 -0400)]
close
Joey Hess [Tue, 20 May 2025 14:10:14 +0000 (10:10 -0400)]
close
Joey Hess [Tue, 20 May 2025 13:37:33 +0000 (09:37 -0400)]
remove dangling where
mak [Tue, 20 May 2025 04:06:38 +0000 (04:06 +0000)]
Added a comment: git-annex and starship
cznug [Fri, 16 May 2025 08:29:33 +0000 (08:29 +0000)]
Added a comment
jcjgraf [Thu, 15 May 2025 06:24:00 +0000 (06:24 +0000)]
liam [Thu, 15 May 2025 02:35:31 +0000 (02:35 +0000)]
Added a comment: How to mitigate not finding git-annex-shell on MacOS remote?
liam [Thu, 15 May 2025 02:08:58 +0000 (02:08 +0000)]
Added a comment: How to mitigate not finding git-annex-shell on MacOS remote?
liam [Thu, 15 May 2025 01:10:49 +0000 (01:10 +0000)]
Added a comment: How to install man pages for git-annex?
Joey Hess [Wed, 14 May 2025 18:22:35 +0000 (14:22 -0400)]
response
Joey Hess [Wed, 14 May 2025 18:04:18 +0000 (14:04 -0400)]
comment
Joey Hess [Wed, 14 May 2025 17:48:59 +0000 (13:48 -0400)]
comment
Joey Hess [Wed, 14 May 2025 17:29:31 +0000 (13:29 -0400)]
response
Joey Hess [Wed, 14 May 2025 17:25:24 +0000 (13:25 -0400)]
comment
Joey Hess [Wed, 14 May 2025 17:02:53 +0000 (13:02 -0400)]
comment
Joey Hess [Wed, 14 May 2025 16:42:39 +0000 (12:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 14 May 2025 16:42:20 +0000 (12:42 -0400)]
response
liam [Wed, 14 May 2025 16:04:11 +0000 (16:04 +0000)]
Added a comment: Why is the default HMACSHA1 for shared encryption?
nobodyinperson [Tue, 13 May 2025 16:04:52 +0000 (16:04 +0000)]
Added a comment
Joey Hess [Tue, 13 May 2025 15:14:28 +0000 (11:14 -0400)]
response
Joey Hess [Tue, 13 May 2025 15:06:00 +0000 (11:06 -0400)]
response
Joey Hess [Tue, 13 May 2025 14:58:56 +0000 (10:58 -0400)]
close
Joey Hess [Tue, 13 May 2025 14:57:30 +0000 (10:57 -0400)]
response
Joey Hess [Tue, 13 May 2025 14:54:12 +0000 (10:54 -0400)]
response
Joey Hess [Tue, 13 May 2025 14:28:47 +0000 (10:28 -0400)]
comment
Joey Hess [Tue, 13 May 2025 14:23:56 +0000 (10:23 -0400)]
IA S3 needs https now
Joey Hess [Tue, 13 May 2025 14:12:50 +0000 (10:12 -0400)]
comment
Joey Hess [Tue, 13 May 2025 14:09:07 +0000 (10:09 -0400)]
comment
jkniiv [Mon, 12 May 2025 20:02:48 +0000 (20:02 +0000)]
Added a comment
Joey Hess [Mon, 12 May 2025 18:43:10 +0000 (14:43 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 12 May 2025 18:37:23 +0000 (14:37 -0400)]
add cache for getNumMinCopiesAttr
Optimises balanced=groupname:lackingcopies at the expense of a tiny
slowdown to lackingcopies=number and git-annex fsck and import.
Sponsored-by: k0ld
Joey Hess [Mon, 12 May 2025 18:27:32 +0000 (14:27 -0400)]
implement balanced=groupname:lackingcopies
Preferred content now supports "balanced=groupname:lackingcopies" to make
files be evenly balanced amoung as many repositories as are needed to
satisfy numcopies.
This implementation could be optimised to only call limitCheckNumCopies
once per file. Currently, it is called in two different places. Or it may
be that it would be better to add a cache to getNumMinCopiesAttr.
It might also be worth implementing :approxlackingcopies, but I'm not sure
if that has a use case. The use case for this seems to be when different
files have different numcopies values.
Sponsored-by: Brock Spratlen
Joey Hess [Mon, 12 May 2025 16:13:08 +0000 (12:13 -0400)]
decided not to change this
pierreay [Sun, 11 May 2025 09:04:39 +0000 (09:04 +0000)]
First post
nobodyinperson [Fri, 9 May 2025 07:45:02 +0000 (07:45 +0000)]
Added a comment: also noticed some assistant weirdness
nobodyinperson [Fri, 9 May 2025 03:23:51 +0000 (03:23 +0000)]
Joey Hess [Thu, 8 May 2025 19:01:14 +0000 (15:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 8 May 2025 18:59:29 +0000 (14:59 -0400)]
set fileEncoding in streamLogFileUnsafe
Windows: Fix bug that can cause git status to show annexed files as
modified when built with OsPath.
This may also have caused bugs on non-Windows, with filenames with
non-ascii characters? Unsure.
The OsPath conversion makes this one of the last few places
(hopefully) where a String is read from a Handle. All other fileEncoding
uses have been eliminated before this point by converting to reading
ByteString and using OsPath. Doing that here would be a better fix,
performance wise.
Sponsored-by: Jack Hill
yarikoptic [Thu, 8 May 2025 18:14:39 +0000 (18:14 +0000)]
assistant does not assist
yarikoptic [Thu, 8 May 2025 17:49:56 +0000 (17:49 +0000)]
Added a comment
Joey Hess [Thu, 8 May 2025 16:41:31 +0000 (12:41 -0400)]
comment
jkniiv [Tue, 6 May 2025 22:14:48 +0000 (22:14 +0000)]
Added a comment
jkniiv [Tue, 6 May 2025 22:05:21 +0000 (22:05 +0000)]
removed
jkniiv [Tue, 6 May 2025 22:03:20 +0000 (22:03 +0000)]
Added a comment
Joey Hess [Tue, 6 May 2025 15:54:06 +0000 (11:54 -0400)]
update
Joey Hess [Tue, 6 May 2025 15:29:47 +0000 (11:29 -0400)]
comment
Joey Hess [Tue, 6 May 2025 15:15:52 +0000 (11:15 -0400)]
comment
nobodyinperson [Tue, 6 May 2025 13:06:29 +0000 (13:06 +0000)]
Added a comment: grepping the git-annex branch for remote activity
nobodyinperson [Tue, 6 May 2025 12:23:22 +0000 (12:23 +0000)]
Thoughs on a "recent remote activity" feature
Added a comment
jkniiv [Tue, 6 May 2025 00:14:04 +0000 (00:14 +0000)]
Added a comment
Joey Hess [Mon, 5 May 2025 18:31:47 +0000 (14:31 -0400)]
whereused: Fix bug that could find matches from grafts in remote git-annex branches
git log with --remotes= needs the preceeding --exclude=*/git-annex in order
to not look at git-annex branches of remotes.
Sponsored-by: mycroft