Bug#1033627: exporttree=yes data loss

Joey Hess id at joeyh.name
Tue Mar 28 22:13:33 BST 2023


Package: git-annex
Version: 10.20230126-2
Severity: important

git-annex has this bug, which can result in data loss when using an 
external special remote with exporttree=yes
https://git-annex.branchable.com/bugs/external_remote_export_sent_to_wrong_process/

This is fixed in version 10.20230329.

I've attached a patch series that fixes this. Note that the second patch
is not strictly necessary, but it's all that's needed to support
VERSION 2, which some external special remote programs will now be
using to avoid being used with the buggy git-annex. So, I strongly
recommend including it.

(The patches are lightly trimmed versions of upstream commits 
02662f52920e84cd9464641ada84f6c3bbe3f86a and
18d326cb6f27912542f41fbb9525eefdbd553d09)

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-concurrency-bug-causing-EXPORT-to-be-sent-to-the.patch
Type: text/x-diff
Size: 2358 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20230328/2e329100/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-external-protocol-VERSION-2.patch
Type: text/x-diff
Size: 4033 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20230328/2e329100/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20230328/2e329100/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list