Commit graph

46745 commits

Author SHA1 Message Date
NorsePaladin
ebaedbd175 Special remote protocol: How to identify exact size of a particular key? 2025-06-07 03:21:24 +00:00
Joey Hess
b9e3cf8780
add news item for git-annex 10.20250605 2025-06-05 14:13:35 -04:00
Joey Hess
d2dc318a86
releasing package git-annex version 10.20250605 2025-06-05 14:12:55 -04:00
Joey Hess
c8c513337f
Merge branch 'master' of ssh://git-annex.branchable.com 2025-06-05 14:09:32 -04:00
yarikoptic
4b308f7c5c initial report on "fatal: empty filename in tree entry" 2025-06-05 13:20:14 +00:00
datawraith
2fbccebf32 Added a comment 2025-06-04 19:26:29 +00:00
Joey Hess
fb9ebd12ea
tag as INM7 because it involves git-annex integration with forgejo 2025-06-04 12:31:22 -04:00
Joey Hess
9f4e956346
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.
2025-06-04 12:06:00 -04:00
Joey Hess
48e7497f83
comment 2025-06-04 10:00:10 -04:00
Joey Hess
167cf2cc52
comment 2025-06-03 15:19:37 -04:00
Joey Hess
05b4a9e230
Merge branch 'master' of ssh://git-annex.branchable.com 2025-06-03 15:01:50 -04:00
Joey Hess
73060eea51
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.
2025-06-03 15:01:38 -04:00
Joey Hess
6468a39e92
comment typo 2025-06-03 13:43:40 -04:00
Joey Hess
e5bcbe3f6b
comment 2025-06-03 13:43:33 -04:00
datawraith
4a8e8dc83a Added a comment 2025-06-03 17:05:58 +00:00
Joey Hess
b8845055a7
Merge branch 'master' of ssh://git-annex.branchable.com 2025-06-02 14:25:53 -04:00
Joey Hess
8166f79250
followup 2025-06-02 14:25:40 -04:00
yarikoptic
8d75e146ee Added a comment 2025-06-02 17:22:37 +00:00
datawraith
3ff32b374f 2025-06-01 11:56:28 +00:00
nobodyinperson
5a0a601ffc Suggest pushing current branch before the meta-branches 2025-06-01 09:42:36 +00:00
Joey Hess
a6dc27bc3d
caps 2025-05-31 13:16:37 -04:00
Joey Hess
9e93c7437f
fix pipi link
markdown link didn't work, use a subpage
2025-05-31 13:15:40 -04:00
Joey Hess
15d0883868
Merge branch 'master' of ssh://git-annex.branchable.com 2025-05-31 13:14:30 -04:00
Joey Hess
5abe7645de
add pypi 2025-05-31 13:14:16 -04:00
EskildHustvedt
f4bca255e4 2025-05-31 10:17:48 +00:00
Joey Hess
f167e7f55b
adjust annex.synccontent transition warning
sync will also be changing to drop unwanted content by default, this
wording change avoids leaving the wrong impression
2025-05-30 14:30:01 -04:00
Joey Hess
afbe7e15b0
be quite about ln on make all 2025-05-30 13:29:58 -04:00
Joey Hess
e16a57f733
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.
2025-05-30 13:28:36 -04:00
Joey Hess
b111009868
moveFile on windows forgot to delete src file in fallback case
This dates back to commit 625303226d,
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
2025-05-30 13:18:26 -04:00
Joey Hess
622979432b
Merge branch 'master' of ssh://git-annex.branchable.com 2025-05-29 13:02:28 -04:00
Joey Hess
0c906872c6
update 2025-05-29 13:02:22 -04:00
Joey Hess
214a30f5f2
update changelog for minor fix
2fad57de44
2025-05-29 12:57:49 -04:00
Joey Hess
f6eac67f0e
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.
2025-05-29 12:55:40 -04:00
Joey Hess
2fad57de44
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
2025-05-29 12:53:42 -04:00
Joey Hess
a44638ca73
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
2025-05-29 12:42:53 -04:00
Spencer
218271ca42 Added a comment: I need help with this too (c.f. submodule refactor) 2025-05-29 03:42:42 +00:00
guez@e17c318e09fc77b4a5be4cd330364e3a41a96971
9ccd3262ba Added a comment: Not enough information on special remotes 2025-05-28 21:58:23 +00:00
Joey Hess
52a8b5b117
map: Support --json option
Sponsored-by: Dartmouth College's OpenNeuro project
2025-05-28 14:17:28 -04:00
Joey Hess
4a98d12b7d
comment 2025-05-27 13:04:51 -04:00
Joey Hess
821515b2d9
Merge branch 'master' of ssh://git-annex.branchable.com 2025-05-27 12:55:40 -04:00
Joey Hess
bff089a392
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
2025-05-27 12:54:31 -04:00
zhunting
4721fb4dab Added a comment: Standalone rpms not available 2025-05-27 15:55:31 +00:00
Joey Hess
adc7a51a9e
comment 2025-05-27 10:15:59 -04:00
Joey Hess
8c26adda15
Merge branch 'master' of ssh://git-annex.branchable.com 2025-05-27 10:14:45 -04:00
yarikoptic
56ac6d5682 Added a comment 2025-05-27 10:57:18 +00:00
NewUser
27a282aeda 2025-05-26 22:22:51 +00:00
pierreay
f2819fb260 Added a comment 2025-05-26 19:38:41 +00:00
jnkl
bbef12864c 2025-05-26 16:22:25 +00:00
jnkl
454b5993d6 Added a comment 2025-05-26 15:30:01 +00:00
Joey Hess
bca88f07ff
dup 2025-05-24 13:22:20 -04:00