Package: mini-dinstall
Version: 0.7.1
Severity: normal
Tags: patch
Dear Maintainer,
Changelogs in the email from mail_on_success are mangled, because
misc.format_changes() apparently expects an array of lines, but is instead
being fed a single (multiline) string.
A small patch (this time in a sensible format) against 0.7.1 is attached for
your consideration.
-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldoldstable'), (500, 'oldstable'), (470,
'stable'), (460, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 5.10.0-17-686-pae (SMP w/1 CPU thread)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mini-dinstall depends on:
ii apt-utils 2.2.4
ii python3 3.9.2-3
ii python3-apt 2.2.1
Versions of packages mini-dinstall recommends:
ii gpgv 2.2.27-2+deb11u2
Versions of packages mini-dinstall suggests:
pn debian-keyring <none>
-- no debconf information
--- /usr/bin/mini-dinstall.orig 2022-12-29 17:12:19.022743460 +0800
+++ /usr/bin/mini-dinstall.mailformat 2022-12-29 17:20:33.099478673 +0800
@@ -831,7 +831,7 @@
done = False
missing_fields = []
if 'changes' in changefile:
- changefile['changes_without_dot'] = misc.format_changes(changefile['changes'])
+ changefile['changes_without_dot'] = misc.format_changes(changefile['changes'].splitlines())
while not done:
try:
mail_subject = mail_subject_template % changefile