[Pkg-mailman-hackers] Bug#1010769: mailman3: diff for NMU version 3.3.3-1.1

Florian Schlegel florz at florz.net
Sat Jun 25 11:56:11 BST 2022


Control: tags 1010769 + patch
Control: tags 1010769 + pending

Dear maintainer,

I've prepared an NMU for mailman3 (versioned as 3.3.3-1.1).
I haven't uploaded anything, as I don't know how to do that. Please 
consider using my patch and push it towards Debian stable.

Regards
Florian Schlegel

diff -Nru mailman3-3.3.3/debian/changelog mailman3-3.3.3/debian/changelog
--- mailman3-3.3.3/debian/changelog     2021-02-04 22:32:08.000000000 +0100
+++ mailman3-3.3.3/debian/changelog     2022-06-25 02:56:29.000000000 +0200
@@ -1,3 +1,10 @@
+mailman3 (3.3.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+    - backport fix for sqlite db being locked by runner (Closes: #1010769)
+
+ -- Florian Schlegel <florz at florz.net>  Sat, 25 Jun 2022 02:56:29 +0200
+
  mailman3 (3.3.3-1) unstable; urgency=medium

    *  New upstream release 3.3.3.
diff -Nru 
mailman3-3.3.3/debian/patches/0004-fix_runner_blocking_sqlite.patch 
mailman3-3.3.3/debian/patches/0004-fix_runner_blocking_sqlite.patch
--- mailman3-3.3.3/debian/patches/0004-fix_runner_blocking_sqlite.patch 
1970-01-01 01:00:00.000000000 +0100
+++ mailman3-3.3.3/debian/patches/0004-fix_runner_blocking_sqlite.patch 
2022-06-25 02:56:29.000000000 +0200
@@ -0,0 +1,12 @@
+Index: mailman3-3.3.3/src/mailman/model/bounce.py
+===================================================================
+--- mailman3-3.3.3.orig/src/mailman/model/bounce.py
++++ mailman3-3.3.3/src/mailman/model/bounce.py
+@@ -206,6 +206,7 @@ class BounceProcessor:
+                 mlist.bounce_score_threshold, action)
+         event.processed = True
+
++    @transactional
+     @dbconnection
+     def send_warnings_and_remove(self, store):
+         """Send a warning email to the users who are disabled, if needed.
diff -Nru mailman3-3.3.3/debian/patches/series 
mailman3-3.3.3/debian/patches/series
--- mailman3-3.3.3/debian/patches/series        2021-02-04 
22:32:08.000000000 +0100
+++ mailman3-3.3.3/debian/patches/series        2022-06-25 
02:56:29.000000000 +0200
@@ -1,3 +1,4 @@
  0001_README_remove_embedded_images.patch
  0002-remove_sphinxcontrib.zopeext_dependency.patch
  0003-Remove-failing-test.patch
+0004-fix_runner_blocking_sqlite.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20220625/8e883066/attachment.sig>


More information about the Pkg-mailman-hackers mailing list