git-annex.git
14 months agoadd git-remote-tor-annex target
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.

14 months agomoveFile on windows forgot to delete src file in fallback case
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

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 29 May 2025 17:02:28 +0000 (13:02 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoupdate
Joey Hess [Thu, 29 May 2025 17:02:22 +0000 (13:02 -0400)]
update

14 months agoupdate changelog for minor fix
Joey Hess [Thu, 29 May 2025 16:57:49 +0000 (12:57 -0400)]
update changelog for minor fix

2fad57de4402669881698f215fc30610e2a3c2d3

14 months agorename repoName to repoDesc
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.

14 months agofix display of remote name in json
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
14 months agoadjust json field names
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
14 months agoAdded a comment: I need help with this too (c.f. submodule refactor)
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)

14 months agoAdded a comment: Not enough information on special remotes
guez@e17c318e09fc77b4a5be4cd330364e3a41a96971 [Wed, 28 May 2025 21:58:23 +0000 (21:58 +0000)]
Added a comment: Not enough information on special remotes

14 months agomap: Support --json option
Joey Hess [Wed, 28 May 2025 18:17:28 +0000 (14:17 -0400)]
map: Support --json option

Sponsored-by: Dartmouth College's OpenNeuro project
14 months agocomment
Joey Hess [Tue, 27 May 2025 17:04:51 +0000 (13:04 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 27 May 2025 16:55:40 +0000 (12:55 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoprevent initialization with bad freeze/thaw hook configured
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
14 months agoAdded a comment: Standalone rpms not available
zhunting [Tue, 27 May 2025 15:55:31 +0000 (15:55 +0000)]
Added a comment: Standalone rpms not available

14 months agocomment
Joey Hess [Tue, 27 May 2025 14:15:59 +0000 (10:15 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 27 May 2025 14:14:45 +0000 (10:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoAdded a comment
yarikoptic [Tue, 27 May 2025 10:57:18 +0000 (10:57 +0000)]
Added a comment

14 months ago(no commit message)
NewUser [Mon, 26 May 2025 22:22:51 +0000 (22:22 +0000)]

14 months agoAdded a comment
pierreay [Mon, 26 May 2025 19:38:41 +0000 (19:38 +0000)]
Added a comment

14 months ago(no commit message)
jnkl [Mon, 26 May 2025 16:22:25 +0000 (16:22 +0000)]

14 months agoAdded a comment
jnkl [Mon, 26 May 2025 15:30:01 +0000 (15:30 +0000)]
Added a comment

14 months agodup
Joey Hess [Sat, 24 May 2025 17:22:20 +0000 (13:22 -0400)]
dup

14 months agoclose dup todo
Joey Hess [Fri, 23 May 2025 19:46:06 +0000 (15:46 -0400)]
close dup todo

14 months agocorrection
Joey Hess [Fri, 23 May 2025 19:37:38 +0000 (15:37 -0400)]
correction

14 months agoAdded a comment
http://tokariew.id.fedoraproject.org/ [Fri, 23 May 2025 11:05:27 +0000 (11:05 +0000)]
Added a comment

14 months agocomment
Joey Hess [Thu, 22 May 2025 19:21:18 +0000 (15:21 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 22 May 2025 18:32:51 +0000 (14:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agogit bug
Joey Hess [Thu, 22 May 2025 18:32:42 +0000 (14:32 -0400)]
git bug

14 months agoAdded a comment
yarikoptic [Thu, 22 May 2025 18:23:36 +0000 (18:23 +0000)]
Added a comment

14 months agocomment
Joey Hess [Thu, 22 May 2025 17:46:18 +0000 (13:46 -0400)]
comment

14 months agocomment
Joey Hess [Thu, 22 May 2025 17:04:22 +0000 (13:04 -0400)]
comment

14 months agoassistant: Avoid startup hang on active *.lock file
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
14 months ago(no commit message)
http://tokariew.id.fedoraproject.org/ [Thu, 22 May 2025 12:39:35 +0000 (12:39 +0000)]

14 months agoAdded a comment
stv0g [Wed, 21 May 2025 23:40:28 +0000 (23:40 +0000)]
Added a comment

14 months agocomment
Joey Hess [Wed, 21 May 2025 18:22:35 +0000 (14:22 -0400)]
comment

14 months agocomment
Joey Hess [Wed, 21 May 2025 18:14:37 +0000 (14:14 -0400)]
comment

14 months agocomment
Joey Hess [Wed, 21 May 2025 17:05:06 +0000 (13:05 -0400)]
comment

14 months agomake it a clickable url
Yann Büchau [Wed, 21 May 2025 14:08:32 +0000 (16:08 +0200)]
make it a clickable url

14 months agoAdded a comment: Maybe the new sizebalanced= feature?
nobodyinperson [Wed, 21 May 2025 14:04:51 +0000 (14:04 +0000)]
Added a comment: Maybe the new sizebalanced= feature?

14 months ago(no commit message)
stv0g [Wed, 21 May 2025 11:40:12 +0000 (11:40 +0000)]

14 months agoAdded a comment: Valid reasons to retire the webapp, how about
nobodyinperson [Wed, 21 May 2025 08:22:28 +0000 (08:22 +0000)]
Added a comment: Valid reasons to retire the webapp, how about

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 20 May 2025 20:01:45 +0000 (16:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agotodo
Joey Hess [Tue, 20 May 2025 20:01:36 +0000 (16:01 -0400)]
todo

14 months agoAdded a comment
yarikoptic [Tue, 20 May 2025 15:00:07 +0000 (15:00 +0000)]
Added a comment

14 months agoadd news item for git-annex 10.20250520
Joey Hess [Tue, 20 May 2025 14:30:14 +0000 (10:30 -0400)]
add news item for git-annex 10.20250520

14 months agoreleasing package git-annex version 10.20250520
Joey Hess [Tue, 20 May 2025 14:30:08 +0000 (10:30 -0400)]
releasing package git-annex version 10.20250520

14 months agoclose
Joey Hess [Tue, 20 May 2025 14:22:53 +0000 (10:22 -0400)]
close

14 months agoclose
Joey Hess [Tue, 20 May 2025 14:16:34 +0000 (10:16 -0400)]
close

14 months agoclose
Joey Hess [Tue, 20 May 2025 14:10:14 +0000 (10:10 -0400)]
close

14 months agoremove dangling where
Joey Hess [Tue, 20 May 2025 13:37:33 +0000 (09:37 -0400)]
remove dangling where

14 months agoAdded a comment: git-annex and starship
mak [Tue, 20 May 2025 04:06:38 +0000 (04:06 +0000)]
Added a comment: git-annex and starship

14 months agoAdded a comment
cznug [Fri, 16 May 2025 08:29:33 +0000 (08:29 +0000)]
Added a comment

14 months ago(no commit message)
jcjgraf [Thu, 15 May 2025 06:24:00 +0000 (06:24 +0000)]

14 months agoAdded a comment: How to mitigate not finding git-annex-shell on MacOS remote?
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?

14 months agoAdded 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?

14 months agoAdded a comment: How to install man pages for git-annex?
liam [Thu, 15 May 2025 01:10:49 +0000 (01:10 +0000)]
Added a comment: How to install man pages for git-annex?

14 months agoresponse
Joey Hess [Wed, 14 May 2025 18:22:35 +0000 (14:22 -0400)]
response

14 months agocomment
Joey Hess [Wed, 14 May 2025 18:04:18 +0000 (14:04 -0400)]
comment

14 months agocomment
Joey Hess [Wed, 14 May 2025 17:48:59 +0000 (13:48 -0400)]
comment

14 months agoresponse
Joey Hess [Wed, 14 May 2025 17:29:31 +0000 (13:29 -0400)]
response

14 months agocomment
Joey Hess [Wed, 14 May 2025 17:25:24 +0000 (13:25 -0400)]
comment

14 months agocomment
Joey Hess [Wed, 14 May 2025 17:02:53 +0000 (13:02 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 14 May 2025 16:42:39 +0000 (12:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoresponse
Joey Hess [Wed, 14 May 2025 16:42:20 +0000 (12:42 -0400)]
response

14 months agoAdded a comment: Why is the default HMACSHA1 for shared encryption?
liam [Wed, 14 May 2025 16:04:11 +0000 (16:04 +0000)]
Added a comment: Why is the default HMACSHA1 for shared encryption?

14 months agoAdded a comment
nobodyinperson [Tue, 13 May 2025 16:04:52 +0000 (16:04 +0000)]
Added a comment

14 months agoresponse
Joey Hess [Tue, 13 May 2025 15:14:28 +0000 (11:14 -0400)]
response

14 months agoresponse
Joey Hess [Tue, 13 May 2025 15:06:00 +0000 (11:06 -0400)]
response

15 months agoclose
Joey Hess [Tue, 13 May 2025 14:58:56 +0000 (10:58 -0400)]
close

15 months agoresponse
Joey Hess [Tue, 13 May 2025 14:57:30 +0000 (10:57 -0400)]
response

15 months agoresponse
Joey Hess [Tue, 13 May 2025 14:54:12 +0000 (10:54 -0400)]
response

15 months agocomment
Joey Hess [Tue, 13 May 2025 14:28:47 +0000 (10:28 -0400)]
comment

15 months agoIA S3 needs https now
Joey Hess [Tue, 13 May 2025 14:23:56 +0000 (10:23 -0400)]
IA S3 needs https now

15 months agocomment
Joey Hess [Tue, 13 May 2025 14:12:50 +0000 (10:12 -0400)]
comment

15 months agocomment
Joey Hess [Tue, 13 May 2025 14:09:07 +0000 (10:09 -0400)]
comment

15 months agoAdded a comment
jkniiv [Mon, 12 May 2025 20:02:48 +0000 (20:02 +0000)]
Added a comment

15 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 12 May 2025 18:43:10 +0000 (14:43 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

15 months agoadd cache for getNumMinCopiesAttr
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
15 months agoimplement balanced=groupname:lackingcopies
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
15 months agodecided not to change this
Joey Hess [Mon, 12 May 2025 16:13:08 +0000 (12:13 -0400)]
decided not to change this

15 months agoFirst post
pierreay [Sun, 11 May 2025 09:04:39 +0000 (09:04 +0000)]
First post

15 months agoAdded a comment: also noticed some assistant weirdness
nobodyinperson [Fri, 9 May 2025 07:45:02 +0000 (07:45 +0000)]
Added a comment: also noticed some assistant weirdness

15 months ago(no commit message)
nobodyinperson [Fri, 9 May 2025 03:23:51 +0000 (03:23 +0000)]

15 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 8 May 2025 19:01:14 +0000 (15:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

15 months agoset fileEncoding in streamLogFileUnsafe
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
15 months agoassistant does not assist
yarikoptic [Thu, 8 May 2025 18:14:39 +0000 (18:14 +0000)]
assistant does not assist

15 months agoAdded a comment
yarikoptic [Thu, 8 May 2025 17:49:56 +0000 (17:49 +0000)]
Added a comment

15 months agocomment
Joey Hess [Thu, 8 May 2025 16:41:31 +0000 (12:41 -0400)]
comment

15 months agoAdded a comment
jkniiv [Tue, 6 May 2025 22:14:48 +0000 (22:14 +0000)]
Added a comment

15 months agoremoved
jkniiv [Tue, 6 May 2025 22:05:21 +0000 (22:05 +0000)]
removed

15 months agoAdded a comment
jkniiv [Tue, 6 May 2025 22:03:20 +0000 (22:03 +0000)]
Added a comment

15 months agoupdate
Joey Hess [Tue, 6 May 2025 15:54:06 +0000 (11:54 -0400)]
update

15 months agocomment
Joey Hess [Tue, 6 May 2025 15:29:47 +0000 (11:29 -0400)]
comment

15 months agocomment
Joey Hess [Tue, 6 May 2025 15:15:52 +0000 (11:15 -0400)]
comment

15 months agoAdded a comment: grepping the git-annex branch for remote activity
nobodyinperson [Tue, 6 May 2025 13:06:29 +0000 (13:06 +0000)]
Added a comment: grepping the git-annex branch for remote activity

15 months agoThoughs on a "recent remote activity" feature
nobodyinperson [Tue, 6 May 2025 12:23:22 +0000 (12:23 +0000)]
Thoughs on a "recent remote activity" feature

15 months agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Tue, 6 May 2025 07:24:51 +0000 (07:24 +0000)]
Added a comment

15 months agoAdded a comment
jkniiv [Tue, 6 May 2025 00:14:04 +0000 (00:14 +0000)]
Added a comment

15 months agowhereused: Fix bug that could find matches from grafts in remote git-annex branches
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