Your message dated Sat, 19 Jul 2025 12:43:49 +0000
with message-id <[email protected]>
and subject line Re: unblock: git-annex/10.20250416-1
has caused the Debian Bug report #1109255,
regarding unblock: git-annex/10.20250416-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1109255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109255
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:git-annex
User: [email protected]
Usertags: unblock

Please unblock package git-annex.  This upload cherry picks a textually small
fix for compatibility with Git 2.5.0, which latter recently entered trixie.

Without this fix users will experience some confusing, intermittent failures
of some git annex subcommands, as detailed here:
<https://git-annex.branchable.com/bugs/test_suite_fail_with_git_2.50/>.

There are autopkgtests testing the affected code.  I expected the package to
migrate itself but britney says "autopkgtest not fully successful" so I'm
filing an unblock request.  Thanks.

unblock git-annex/10.20250416-1

-- 
Sean Whitton
diff -Nru git-annex-10.20250416/debian/changelog 
git-annex-10.20250416/debian/changelog
--- git-annex-10.20250416/debian/changelog      2025-04-25 07:34:27.000000000 
+0100
+++ git-annex-10.20250416/debian/changelog      2025-07-01 11:23:57.000000000 
+0100
@@ -1,3 +1,9 @@
+git-annex (10.20250416-2) unstable; urgency=medium
+
+  * Cherry pick compatibility fix for Git 2.5.0 (Closes: #1108526).
+
+ -- Sean Whitton <[email protected]>  Tue, 01 Jul 2025 11:23:57 +0100
+
 git-annex (10.20250416-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru git-annex-10.20250416/debian/patches/debian-changes 
git-annex-10.20250416/debian/patches/debian-changes
--- git-annex-10.20250416/debian/patches/debian-changes 2025-04-25 
07:34:27.000000000 +0100
+++ git-annex-10.20250416/debian/patches/debian-changes 2025-07-01 
11:23:57.000000000 +0100
@@ -54,3 +54,37 @@
  License: BSD-2-clause
   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions
+--- git-annex-10.20250416.orig/Database/Keys.hs
++++ git-annex-10.20250416/Database/Keys.hs
+@@ -1,6 +1,6 @@
+ {- Sqlite database of information about Keys
+  -
+- - Copyright 2015-2022 Joey Hess <[email protected]>
++ - Copyright 2015-2025 Joey Hess <[email protected]>
+  -
+  - Licensed under the GNU AGPL version 3 or higher.
+  -}
+@@ -260,7 +260,7 @@ isInodeKnown i s = or <$> runReaderIO Co
+  - is an associated file.
+  -}
+ reconcileStaged :: Bool -> H.DbQueue -> Annex DbTablesChanged
+-reconcileStaged dbisnew qh = ifM isBareRepo
++reconcileStaged dbisnew qh = ifM notneeded
+       ( return mempty
+       , do
+               gitindex <- inRepo currentIndexFile
+@@ -335,6 +335,14 @@ reconcileStaged dbisnew qh = ifM isBareR
+       getindextree = inRepo $ \r -> writeTreeQuiet $ r
+               { gitGlobalOpts = gitGlobalOpts r ++ bypassSmudgeConfig }
+       
++      notneeded = isBareRepo
++              -- Avoid doing anything when run by the 
++              -- smudge clean filter. When that happens in a conflicted
++              -- merge situation, running git write-tree
++              -- here would cause git merge to fail with an internal
++              -- error. This works around around that bug in git.
++              <||> Annex.getState Annex.insmudgecleanfilter
++      
+       diff old new =
+               -- Avoid running smudge clean filter, since we want the
+               -- raw output, and it would block trying to access the

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hi,

On Mon, Jul 14, 2025 at 09:59:28AM +0100, Sean Whitton wrote:
> Please unblock package git-annex.  This upload cherry picks a textually small
> fix for compatibility with Git 2.5.0, which latter recently entered trixie.

Note that the new git is in unstable, but not in trixie.

I unblocked git-annex anyway.

Thanks,

Ivo

--- End Message ---

Reply via email to