XPost: linux.debian.devel.release
Package: release.debian.org
Severity: normal
X-Debbugs-Cc:
[email protected]
Control: affects -1 + src:afew
User:
[email protected]
Usertags: unblock
[ Reason ]
Fix important bug
https://bugs.debian.org/1106896: afew is unable to
remove tags.
[ Impact ]
afew raises KeyError when it tries to remove tags, as shown for example
in
https://github.com/afewmail/afew/pull/320#issuecomment-2782420815.
[ Tests ]
None, as far as I know.
[ Risks ]
The patch updates to the latest version of an upstream PR; aside from
some irrelevant-to-us GitHub workflow changes, this just adds an "except KeyError: pass" handler, and it seems clear enough that removing a tag
that already doesn't exist is a situation that can be ignored. So this
seems safe enough to me.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock afew/3.0.1-8
Thanks,
--
Colin Watson (he/him) [
[email protected]]
diff -Nru afew-3.0.1/debian/changelog afew-3.0.1/debian/changelog
--- afew-3.0.1/debian/changelog 2025-03-15 20:35:00.000000000 +0000
+++ afew-3.0.1/debian/changelog 2025-07-03 14:02:50.000000000 +0100
@@ -1,3 +1,12 @@
+afew (3.0.1-8) unstable; urgency=medium
+
+ * Team upload.
+
+ [ itd ]
+ * BaseFilter: allow removing non-existent tags (closes: #1106896).
+
+ -- Colin Watson <
[email protected]> Thu, 03 Jul 2025 14:02:50 +0100
+
afew (3.0.1-7) unstable; urgency=medium
* Team upload.
diff -Nru afew-3.0.1/debian/patches/apply-upstream-pull-request-320.patch afew-3.0.1/debian/patches/apply-upstream-pull-request-320.patch
--- afew-3.0.1/debian/patches/apply-upstream-pull-request-320.patch 2025-03-15 20:35:00.000000000 +0000
+++ afew-3.0.1/debian/patches/apply-upstream-pull-request-320.patch 2025-07-03 13:59:50.000000000 +0100
@@ -4,11 +4,11 @@
This is labelled draft upstream, but seems to be tested by mjg.
---
- .github/workflows/build.yml | 6 ++---
+ .github/workflows/build.yml | 4 +--
afe