Joey Hess [Fri, 11 Jul 2025 16:50:25 +0000 (12:50 -0400)]
update
Joey Hess [Fri, 11 Jul 2025 16:42:22 +0000 (12:42 -0400)]
another case
Joey Hess [Fri, 11 Jul 2025 16:16:25 +0000 (12:16 -0400)]
reproed
gioele@678b7c03f524f2669b179b603f65352fcc16774e [Wed, 9 Jul 2025 19:36:24 +0000 (19:36 +0000)]
Added a comment
mih [Tue, 8 Jul 2025 10:51:19 +0000 (10:51 +0000)]
Bug report with reproducer
Spencer [Tue, 8 Jul 2025 07:01:21 +0000 (07:01 +0000)]
Added a comment: We'll call this solved...
Joey Hess [Mon, 7 Jul 2025 20:41:19 +0000 (16:41 -0400)]
support combineing --socket with HTTPs
Might be useful when proxying? Dunno.
Joey Hess [Mon, 7 Jul 2025 20:40:02 +0000 (16:40 -0400)]
p2phttp: Added --socket option
Used protectedOutput to set up a umask that makes the socket only
accessible by the current user.
Authentication is still needed when using this option unless it is combined
with --wideopen. It was just simpler to keep authentication separate from
this.
Joey Hess [Mon, 7 Jul 2025 20:07:13 +0000 (16:07 -0400)]
p2phttp: Scan multilevel directories with --directory
This allows for eg dir/user/repo structure. But also other layouts. It
still does not look for repositories that are nested inside other
repositories.
The check for symlinks is mostly to avoid cycles that would prevent
findRepos from returning. Eg, foo/bar/baz being a symlink to foo/bar.
If the directory is writable by someone else they can still race it and
get it to follow a symlink to some other directory. I don't think p2phttp
needs to worry about that kind of situation though, and I doubt it avoids
such problems when operating on files in a git-annex repository either.
Joey Hess [Mon, 7 Jul 2025 19:23:59 +0000 (15:23 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 7 Jul 2025 19:23:53 +0000 (15:23 -0400)]
comment
Joey Hess [Mon, 7 Jul 2025 19:10:15 +0000 (15:10 -0400)]
non-tor AuthTokens
As groundwork for making git-annex p2p support other P2P networks than
tor hidden services, when an AuthToken is not a TorAnnex value, but
something else (that will be added later), store the P2PAddress that it
will be used with along with the AuthToken. And in loadP2PAuthTokens,
only return AuthTokens for the specified P2PAddress.
See commit
2de27751d6c81f1842aa762fbd7e01d84968896e for some design work
that led to this.
Also, git-annex p2p --gen-addresses is changed to generate a separate
AuthToken for every P2P address. Rather than generating a single
AuthToke and using it for every one. When we have more than just tor,
this will be important for security, to avoid a compromise of one P2P
network exposing the AuthToken used for another network.
Joey Hess [Mon, 7 Jul 2025 18:26:02 +0000 (14:26 -0400)]
design
Joey Hess [Mon, 7 Jul 2025 17:22:08 +0000 (13:22 -0400)]
correction
Joey Hess [Mon, 7 Jul 2025 17:21:21 +0000 (13:21 -0400)]
remove garbage from middle of comment
Joey Hess [Mon, 7 Jul 2025 16:03:38 +0000 (12:03 -0400)]
fix name of man page
Basile.Pinsard [Thu, 3 Jul 2025 14:37:14 +0000 (14:37 +0000)]
Basile.Pinsard [Thu, 3 Jul 2025 14:32:10 +0000 (14:32 +0000)]
matrss [Thu, 3 Jul 2025 11:07:06 +0000 (11:07 +0000)]
Added a comment
Joey Hess [Wed, 2 Jul 2025 17:46:21 +0000 (13:46 -0400)]
reenable appveyor test suite
Joey Hess [Wed, 2 Jul 2025 17:06:13 +0000 (13:06 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 2 Jul 2025 17:05:10 +0000 (13:05 -0400)]
deal with OSX appveyor build taking more than 1 hour and so timing out
Temporarily disable test suite, so the build will succeed.
cache /Users/appveyor/.stack so ghc and library dependencies do
not have to be installed every time
nikty@0f5aae85b4392d178220ee82e3ee708496ca7bb3 [Wed, 2 Jul 2025 07:18:57 +0000 (07:18 +0000)]
Joey Hess [Mon, 30 Jun 2025 14:05:56 +0000 (10:05 -0400)]
add news item for git-annex 10.
20250630
Joey Hess [Mon, 30 Jun 2025 14:05:44 +0000 (10:05 -0400)]
releasing package git-annex version 10.
20250630
Joey Hess [Mon, 30 Jun 2025 14:01:43 +0000 (10:01 -0400)]
close bug that I fixed before it was filed
Joey Hess [Mon, 30 Jun 2025 13:58:04 +0000 (09:58 -0400)]
comment
Joey Hess [Mon, 30 Jun 2025 13:56:11 +0000 (09:56 -0400)]
close dup
matrss [Fri, 27 Jun 2025 07:11:59 +0000 (07:11 +0000)]
Added a comment
jose1711 [Thu, 26 Jun 2025 17:31:49 +0000 (17:31 +0000)]
matrss [Thu, 26 Jun 2025 15:24:32 +0000 (15:24 +0000)]
yarikoptic [Wed, 25 Jun 2025 23:59:20 +0000 (23:59 +0000)]
Cletip [Wed, 25 Jun 2025 22:12:57 +0000 (22:12 +0000)]
Added a comment: We don’t need a 'git annex lock' after a 'git annex add', right?
Joey Hess [Wed, 25 Jun 2025 17:36:19 +0000 (13:36 -0400)]
Work around git 2.50 bug that caused it to crash when there is a merge conflict with an unlocked annexed file
This fixes several test suite failures with git 2.50.
See the bug report for the full, gory details.
Joey Hess [Wed, 25 Jun 2025 15:41:56 +0000 (11:41 -0400)]
bug
Joey Hess [Wed, 25 Jun 2025 13:09:39 +0000 (09:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 25 Jun 2025 13:07:32 +0000 (09:07 -0400)]
fix windows build
xentac [Tue, 24 Jun 2025 20:54:16 +0000 (20:54 +0000)]
Added a comment
jwrauch [Tue, 24 Jun 2025 18:33:51 +0000 (18:33 +0000)]
Joey Hess [Tue, 24 Jun 2025 16:33:48 +0000 (12:33 -0400)]
webapp: Rename "Upgrade Repository" to "Convert Repository"
To avoid confusion with git-annex upgrade.
Sponsored-by: Graham Spencer on Patreon
Joey Hess [Tue, 24 Jun 2025 16:24:45 +0000 (12:24 -0400)]
comment
Joey Hess [Tue, 24 Jun 2025 15:13:02 +0000 (11:13 -0400)]
comment
Joey Hess [Tue, 24 Jun 2025 15:12:18 +0000 (11:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Jun 2025 15:11:16 +0000 (11:11 -0400)]
response
xentac [Mon, 23 Jun 2025 18:24:47 +0000 (18:24 +0000)]
Added a comment
Joey Hess [Mon, 23 Jun 2025 17:34:00 +0000 (13:34 -0400)]
comment
Joey Hess [Mon, 23 Jun 2025 17:31:41 +0000 (13:31 -0400)]
comment
Joey Hess [Mon, 23 Jun 2025 17:31:15 +0000 (13:31 -0400)]
prevent relatedTemplate from truncating a filename to end in whitespace
Avoid a problem with temp file names ending in whitespace on filesystems
like VFAT that don't support such filenames.
See
a6eb7d73398fc1729faec663c1822023e540643b previously for the same but
with "."
At some point relatedTemplate is more bother than it's worth and it would
be simpler to just use "temp" as the basename of all temp files. We seem to
be approaching that point, since my interest in absurd ancient filesystem
limitations is limited.
Sponsored-by: unqueued on Patreon
Joey Hess [Mon, 23 Jun 2025 15:12:44 +0000 (11:12 -0400)]
Skip and warn when a tree import includes empty filenames
Which can happen with eg a S3 bucket.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Mon, 23 Jun 2025 14:30:00 +0000 (10:30 -0400)]
response
Joey Hess [Mon, 23 Jun 2025 14:18:16 +0000 (10:18 -0400)]
not a bug in git-annex
Joey Hess [Mon, 23 Jun 2025 14:10:12 +0000 (10:10 -0400)]
response
xentac [Mon, 23 Jun 2025 08:50:15 +0000 (08:50 +0000)]
Added a comment
xentac [Mon, 23 Jun 2025 08:48:28 +0000 (08:48 +0000)]
octvs [Sun, 22 Jun 2025 17:42:17 +0000 (17:42 +0000)]
yarikoptic [Sun, 22 Jun 2025 03:53:19 +0000 (03:53 +0000)]
Added a comment
Spencer [Fri, 20 Jun 2025 21:31:23 +0000 (21:31 +0000)]
FR for gx-import
Spencer [Fri, 20 Jun 2025 20:55:12 +0000 (20:55 +0000)]
Spencer [Fri, 20 Jun 2025 20:54:15 +0000 (20:54 +0000)]
import to nonexistent path/branch gives unable to find base tree error
Spencer [Thu, 19 Jun 2025 01:34:17 +0000 (01:34 +0000)]
Added a comment: A (Mildly) Compelling Reason
Spencer [Wed, 18 Jun 2025 04:27:16 +0000 (04:27 +0000)]
Added a comment: Easy Approach
Added a comment
Spencer [Mon, 16 Jun 2025 20:48:46 +0000 (20:48 +0000)]
thx
Spencer [Mon, 16 Jun 2025 20:33:03 +0000 (20:33 +0000)]
Added a comment: Solutions
ruka [Sun, 15 Jun 2025 14:41:28 +0000 (14:41 +0000)]
Added a comment: Ignoring files on directory special remote
ruka [Sun, 15 Jun 2025 14:13:25 +0000 (14:13 +0000)]
Joey Hess [Fri, 13 Jun 2025 12:47:19 +0000 (08:47 -0400)]
response
Joey Hess [Fri, 13 Jun 2025 12:34:47 +0000 (08:34 -0400)]
response
Joey Hess [Fri, 13 Jun 2025 12:19:55 +0000 (08:19 -0400)]
revert man page changes
Revert "Linked to discussion on caveat"
This reverts commit
9fe60062a38228594ce8d48bbe1b14532934f22d.
We don't link from man pages to forum discussions. If there is a
problem, it should be fixed, and if there is a wart it should be
documented on the man page in enough detail to understand on its own.
In this case, I don't know that there is any problem at all.
Spencer [Wed, 11 Jun 2025 21:47:32 +0000 (21:47 +0000)]
Added a comment: OK I may have overcomplicated things
nobodyinperson [Wed, 11 Jun 2025 11:25:03 +0000 (11:25 +0000)]
Added a comment: wait, something's up with the suffix!
nobodyinperson [Wed, 11 Jun 2025 11:11:19 +0000 (11:11 +0000)]
Added a comment: confirm, but not all non-ascii characters are a problem
chamlis [Wed, 11 Jun 2025 10:51:39 +0000 (10:51 +0000)]
Added a comment
Spencer [Mon, 9 Jun 2025 23:42:46 +0000 (23:42 +0000)]
Spencer [Mon, 9 Jun 2025 23:42:18 +0000 (23:42 +0000)]
Joey Hess [Mon, 9 Jun 2025 20:50:00 +0000 (16:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Jun 2025 20:49:24 +0000 (16:49 -0400)]
fix appveyor skip condition for doc changes
Added a comment
Spencer [Sun, 8 Jun 2025 16:48:06 +0000 (16:48 +0000)]
For one: why would preview show a nonexistent page as an existent link instead of a question mark? For two: why is []() syntax relative to current page but [[|]] syntax is relative to root?
Spencer [Sun, 8 Jun 2025 16:43:11 +0000 (16:43 +0000)]
Linked to discussion on caveat
Spencer [Sun, 8 Jun 2025 16:37:47 +0000 (16:37 +0000)]
nobodyinperson [Sat, 7 Jun 2025 09:39:28 +0000 (09:39 +0000)]
Added a comment: Now the current branch is pushed first! 🥳
NorsePaladin [Sat, 7 Jun 2025 03:21:24 +0000 (03:21 +0000)]
Special remote protocol: How to identify exact size of a particular key?
Joey Hess [Thu, 5 Jun 2025 18:13:35 +0000 (14:13 -0400)]
add news item for git-annex 10.
20250605
Joey Hess [Thu, 5 Jun 2025 18:12:55 +0000 (14:12 -0400)]
releasing package git-annex version 10.
20250605
Joey Hess [Thu, 5 Jun 2025 18:09:32 +0000 (14:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Thu, 5 Jun 2025 13:20:14 +0000 (13:20 +0000)]
initial report on "fatal: empty filename in tree entry"
datawraith [Wed, 4 Jun 2025 19:26:29 +0000 (19:26 +0000)]
Added a comment
Joey Hess [Wed, 4 Jun 2025 16:31:22 +0000 (12:31 -0400)]
tag as INM7 because it involves git-annex integration with forgejo
Joey Hess [Wed, 4 Jun 2025 16:06:00 +0000 (12:06 -0400)]
sync: push current branch first
sync: Push the current branch first, rather than a synced branch, to better
support git forges (gitlab, gitea, forgejo, etc.) which use push-to-create
with the first pushed branch becoming the default branch.
With considerable complication to filter out warning message about
receive.denyCurrentBranch when pushing to a non-bare repository. Localization
may break it in the future, but it seems like the best way to handle this. See
my comments for the gory details.
Joey Hess [Wed, 4 Jun 2025 14:00:10 +0000 (10:00 -0400)]
comment
Joey Hess [Tue, 3 Jun 2025 19:19:37 +0000 (15:19 -0400)]
comment
Joey Hess [Tue, 3 Jun 2025 19:01:50 +0000 (15:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 3 Jun 2025 19:01:38 +0000 (15:01 -0400)]
annex.fastcopy
Added annex.fastcopy and remote.name.annex-fastcopy config setting. When
set, this allows the copy_file_range syscall to be used, which can eg allow
for server-side copies on NFS. (For fastest copying, also disable
annex.verify or remote.name.annex-verify.)
This is a simple implementation, that does not handle resuming as well as
it possibly could.
It can be used with both local git remotes (including on NFS), and
directory special remotes. Other types of remotes could in theory also
support it, so I've left the config documented as a general thing.
Joey Hess [Tue, 3 Jun 2025 17:43:40 +0000 (13:43 -0400)]
comment typo
Joey Hess [Tue, 3 Jun 2025 17:43:33 +0000 (13:43 -0400)]
comment
datawraith [Tue, 3 Jun 2025 17:05:58 +0000 (17:05 +0000)]
Added a comment
Joey Hess [Mon, 2 Jun 2025 18:25:53 +0000 (14:25 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 2 Jun 2025 18:25:40 +0000 (14:25 -0400)]
followup