Commit graph

35,893 commits

Author SHA1 Message Date
Joey Hess
33ab579243
comments 2025-09-30 10:58:01 -04:00
ewen
2ca5e6109f Added a comment: Fixed in 20050929 2025-09-29 21:54:14 +00:00
Joey Hess
e896e2c0d7
Revert "webapp: Remove support for local pairing"
This reverts commit 8ea6d7acc5.

Temporarily, until builds finish for today's release.
2025-09-29 15:53:38 -04:00
Joey Hess
8ea6d7acc5
webapp: Remove support for local pairing
As a feature only supported by the webapp, and not by git-annex at the
command line, this is by now a very obscure corner of git-annex, and not
one I want to keep maintaining.

It's worth removing it to avoid the security expsure alone. People using
the assistant w/o the webapp probably don't expect it to be listening on
a UDP port for a handrolled protocol, but it was.

The webapp has supported pairing via magic-wormhole since 2016, which
makes a link including between local computers, albeit with the overhead
of tor. That sort of covers the same use case. Of course advanced users
can easily enough add a ssh remote to their repository themselves, using
a hostname on the local network.

Sponsored-by: unqueued
2025-09-29 12:56:54 -04:00
Joey Hess
1f7e5fa9a2
remove old assistant release notes 2025-09-29 12:40:10 -04:00
Joey Hess
0a89a7defe
add news item for git-annex 10.20250929 2025-09-29 11:30:48 -04:00
Joey Hess
d76e242716
Fix build with ghc 9.0.2. 2025-09-29 11:27:52 -04:00
Joey Hess
5a7a2585f8
response 2025-09-29 11:18:56 -04:00
Joey Hess
0b0e0613e8
comment 2025-09-29 11:13:26 -04:00
Joey Hess
b13b1d48b2
add libghc-unbounded-delays-dev to debian/control deps 2025-09-29 11:11:20 -04:00
Joey Hess
026bab0c49
don't set locale encoding when opening binary file
importfeed: Fix encoding issues parsing feeds when built with OsPath.
2025-09-29 11:06:18 -04:00
ewen
2cb359b672 Added a comment: Cross link to importfeed parsing 2025-09-28 22:49:31 +00:00
ewen
3f6940ab37 Added a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode 2025-09-28 22:42:32 +00:00
ewen
b0ae77a7dd Added a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters 2025-09-28 22:24:23 +00:00
ewen
4b84dd3a53 Added a comment: Example still working feed 2025-09-28 22:05:57 +00:00
ewen
3fd99653f4 Added a comment: Debug output 2025-09-28 21:58:18 +00:00
ewen
c7db175180 Added a comment: Previous working build was 20250828 2025-09-28 21:35:08 +00:00
ewen
8ecae11f7c importfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255) 2025-09-28 21:32:35 +00:00
xentac
d563a6e683 2025-09-27 23:26:41 +00:00
yarikoptic
fbecf650ae Added a comment 2025-09-27 17:27:51 +00:00
yarikoptic
0439c3aae3 missing build dep for debian? 2025-09-27 12:19:14 +00:00
jnkl
ec519eba88 2025-09-27 12:08:57 +00:00
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233
699c75f637 2025-09-25 23:04:55 +00:00
Joey Hess
9af2f5b814
add news item for git-annex 10.20250925 2025-09-25 13:22:02 -04:00
nadir
6a51a75861 Added a comment 2025-09-24 21:52:32 +00:00
Joey Hess
b0cd91c707
update 2025-09-24 13:04:51 -04:00
Joey Hess
c688852cd1
comments 2025-09-24 12:54:20 -04:00
Joey Hess
44b1980782
Merge branch 'master' of ssh://git-annex.branchable.com 2025-09-24 12:21:32 -04:00
Joey Hess
23509bad54
fixed 2025-09-24 12:03:18 -04:00
Arnie97
9cdf151525 Added a comment: the X prefix conflicts with the eXternal backend namespace 2025-09-24 12:05:05 +00:00
jnkl
2fde6b7ee8 2025-09-23 18:50:19 +00:00
jnkl
64ce7cca21 2025-09-23 17:48:41 +00:00
Joey Hess
2f910640b1
Merge branch 'master' of ssh://git-annex.branchable.com 2025-09-23 12:54:33 -04:00
Joey Hess
ff65cd6954
invalidate recorded content identifier tree when export changes
Fix bug that made changes to a special remote sometimes be missed when
importing a tree from it. The diff import would miss when a change was
exported, then manually undone on the special remote (eg deleting a newly
exported file). A full import is needed to catch such changes.

After upgrading, any such missed changes will be included in the next
tree imported from a special remote. This happens because the previously
recorded content identifier tree does not have export information included,
so it is treated as invalid, and a full import is done.

Fixes reversion introduced in version 10.20230626, commit
40017089f2

Unfortunately, this does mean that after each export, the next import will
be a full import. Which can take significantly longer than the diff import
does, when there are a lot of files in the tree.

It would be better if exporting also update the content identifier tree.
However, I don't know if that can be done inexpensively. It would be future
optimisation work, in any case.

(That could only be done for an export that is run in the same
repository as the import. When an export is run in a different repository,
the export.log gets updated, and that propagates to the repository where
import is later run. At that point, a full import is done.)

Sponsored-by: Luke T. Shumaker
2025-09-23 12:52:55 -04:00
yarikoptic
c552ea8108 2025-09-23 14:26:07 +00:00
yarikoptic
1c38869e32 Windows still FTBFS 2025-09-23 14:24:30 +00:00
Joey Hess
478f42d3f3
thought 2025-09-22 23:57:30 -04:00
Joey Hess
3d1c871b8d
worse 2025-09-22 23:48:46 -04:00
Joey Hess
2323579068
promote forum post to bug, analysis 2025-09-22 19:30:23 -04:00
Joey Hess
16d7432a2f
prevent deadlock when reconcileStaged runs restagePointerFiles
Fix hang that could occur when using git-annex adjust on a branch with a
number of files greater than annex.queuesize. Or potentially other
commands.

When reconcileStaged is running, the database is being opened. But
restagePointerFiles closes the database, and later writes to it. So it will
deadlock if called by reconcileStaged.

The deadlock occurred when the git queue happened to be full, causing
adding a call to restagePointerFiles to it to flush the queue and
restagePointerFiles to run at the wrong time.

Fixed by making reconcileStaged, when it populates or depopulates a pointer
file, arrange for restagePointerFiles to be run as a cleanup action, rather
than from the git queue.

But, what if restagePointerFiles is already in the git queue before
reconcileStaged is run? If it adds anything else to the git queue, causing
the queue to flush, it would still deadlock. To avoid this hypothetical
situation, added a Annex.inreconcilestaged, and made restagePointerFiles
check it and not do anything.

Note that, I did consider the simpler approach of only running
restagePointerFiles as a cleanup action, rather than from the git queue.
But see commit 6a3bd283b8 for why it was made
to use the queue in the first place. I wanted to avoid tying this bug fix
to a behavior change.

Sponsored-by: mycroft
2025-09-22 14:56:50 -04:00
Joey Hess
ada2664b9c
update 2025-09-22 12:07:16 -04:00
Joey Hess
75c7800424
comment 2025-09-22 11:19:13 -04:00
Joey Hess
d99380be85
comment 2025-09-22 11:15:32 -04:00
Joey Hess
6fa46c6443
comment 2025-09-22 11:10:32 -04:00
Joey Hess
b1c2508159
comment 2025-09-22 11:02:24 -04:00
Joey Hess
dfbf76e2ca
enableremote: Disallow using type= to attempt to change the type of an existing remote
Changing the type out from under an existing special remote exposes the
existing config to something that may interpret it wildly differently. As
seen in the bug report, this can even result in behavior that makes
git-annex say it's buggy. So prevent the user from doing this. --sameas is
the better way.

Sponsored-by: Kevin Mueller
2025-09-22 10:54:16 -04:00
Joey Hess
e1c6a48f96
comment 2025-09-22 10:27:28 -04:00
Joey Hess
b397e71341
Add git-remote-p2p-annex and git-remote-tor-annex to standalone builds 2025-09-22 10:20:36 -04:00
matrss
94163be1d7 2025-09-20 17:54:22 +00:00
Joey Hess
60985889a9
fix windows build 2025-09-18 11:59:22 -04:00