Your message dated Tue, 05 Feb 2008 16:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451949: fixed in mini-dinstall 0.6.23
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mini-dinstall
Version: 0.6.22+psha0
Severity: wishlist
Tags: patch
Mail sent by mini-dinstall on success has subject
"mini-dinstall success notice" which is not informative.
Suggested patch adds first line of log message into subject.
Both git and plain patches are attached.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mini-dinstall depends on:
ii apt-utils 0.7.9 APT utility programs
ii python 2.4.4-6 An interactive high-level object-o
ii python-apt 0.7.3.1+b1 Python interface to libapt-pkg
ii python-support 0.7.5 automated rebuilding support for p
mini-dinstall recommends no packages.
-- no debconf information
commit 455fb0c8464a8619ff65276c9f44f55c17eda3ec
Author: Pavel Shramov <[EMAIL PROTECTED]>
Date: Thu Nov 15 21:28:57 2007 +0300
added %m to subject (success_logger)
diff --git a/mini-dinstall b/mini-dinstall
index 0a871d9..5a28884 100755
--- a/mini-dinstall
+++ b/mini-dinstall
@@ -195,7 +195,7 @@ class SubjectSpecifyingLoggingSMTPHandler(logging.handlers.SMTPHandler):
apply(logging.handlers.SMTPHandler.__init__, [self] + list(args) + ['dummy'], kwargs)
def getSubject(self, record):
- return re.sub('%l', record.levelname, self._subject)
+ return self._subject.replace('%l', record.levelname).replace('%m', record.msg.split('\n')[0])
if not (configp.has_option('DEFAULT', 'mail_log_level') and configp.get('DEFAULT', 'mail_log_level') == 'NONE'):
if configp.has_option('DEFAULT', 'mail_log_level'):
@@ -707,7 +707,7 @@ class ArchiveDir:
if self._mail_on_success:
self._success_logger = logging.Logger("mini-dinstall." + self._name)
self._success_logger.setLevel(logging.DEBUG)
- handler = SubjectSpecifyingLoggingSMTPHandler('mini-dinstall success notice', mail_server, 'Mini-Dinstall <[EMAIL PROTECTED]>' % (getpass.getuser(),socket.getfqdn()), [mail_to])
+ handler = SubjectSpecifyingLoggingSMTPHandler('mini-dinstall: %m', mail_server, 'Mini-Dinstall <[EMAIL PROTECTED]>' % (getpass.getuser(),socket.getfqdn()), [mail_to])
handler.setLevel(logging.DEBUG)
self._success_logger.addHandler(handler)
self._clean_targets = []
>From 455fb0c8464a8619ff65276c9f44f55c17eda3ec Mon Sep 17 00:00:00 2001
From: Pavel Shramov <[EMAIL PROTECTED]>
Date: Thu, 15 Nov 2007 21:28:57 +0300
Subject: [PATCH] added %m to subject (success_logger)
---
mini-dinstall | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mini-dinstall b/mini-dinstall
index 0a871d9..5a28884 100755
--- a/mini-dinstall
+++ b/mini-dinstall
@@ -195,7 +195,7 @@ class SubjectSpecifyingLoggingSMTPHandler(logging.handlers.SMTPHandler):
apply(logging.handlers.SMTPHandler.__init__, [self] + list(args) + ['dummy'], kwargs)
def getSubject(self, record):
- return re.sub('%l', record.levelname, self._subject)
+ return self._subject.replace('%l', record.levelname).replace('%m', record.msg.split('\n')[0])
if not (configp.has_option('DEFAULT', 'mail_log_level') and configp.get('DEFAULT', 'mail_log_level') == 'NONE'):
if configp.has_option('DEFAULT', 'mail_log_level'):
@@ -707,7 +707,7 @@ class ArchiveDir:
if self._mail_on_success:
self._success_logger = logging.Logger("mini-dinstall." + self._name)
self._success_logger.setLevel(logging.DEBUG)
- handler = SubjectSpecifyingLoggingSMTPHandler('mini-dinstall success notice', mail_server, 'Mini-Dinstall <[EMAIL PROTECTED]>' % (getpass.getuser(),socket.getfqdn()), [mail_to])
+ handler = SubjectSpecifyingLoggingSMTPHandler('mini-dinstall: %m', mail_server, 'Mini-Dinstall <[EMAIL PROTECTED]>' % (getpass.getuser(),socket.getfqdn()), [mail_to])
handler.setLevel(logging.DEBUG)
self._success_logger.addHandler(handler)
self._clean_targets = []
--
1.5.3.5
--- End Message ---
--- Begin Message ---
Source: mini-dinstall
Source-Version: 0.6.23
We believe that the bug you reported is fixed in the latest version of
mini-dinstall, which is due to be installed in the Debian FTP archive:
mini-dinstall_0.6.23.dsc
to pool/main/m/mini-dinstall/mini-dinstall_0.6.23.dsc
mini-dinstall_0.6.23.tar.gz
to pool/main/m/mini-dinstall/mini-dinstall_0.6.23.tar.gz
mini-dinstall_0.6.23_all.deb
to pool/main/m/mini-dinstall/mini-dinstall_0.6.23_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Goehre <[EMAIL PROTECTED]> (supplier of updated mini-dinstall package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 03 Feb 2008 10:53:25 +0100
Source: mini-dinstall
Binary: mini-dinstall
Architecture: source all
Version: 0.6.23
Distribution: unstable
Urgency: low
Maintainer: Christoph Goehre <[EMAIL PROTECTED]>
Changed-By: Christoph Goehre <[EMAIL PROTECTED]>
Description:
mini-dinstall - daemon for updating Debian packages in a repository
Closes: 451949 453032
Changes:
mini-dinstall (0.6.23) unstable; urgency=low
.
* use templates to generate success email (Closes: #451949)
* add SHA256 hashes in release files (Closes: #453032)
* don't fail on missing child processes in external hash generation
* merge identically hash generation for release file in mini-dinstall and
ChangeFile.py into misc.py
* change XS-Vcs tags to Vcs
* change Standard-Version to 3.7.3 and national encoding of copyright to
UTF-8
Files:
e1bf252f314088924e23b3fb56153436 743 devel optional mini-dinstall_0.6.23.dsc
f07e259f1fdecc252cff61ec269ec6a5 44287 devel optional
mini-dinstall_0.6.23.tar.gz
11a632a9c4b36021638a327f5585d490 42422 devel optional
mini-dinstall_0.6.23_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHqITln88szT8+ZCYRAp+0AJ0XSRZXMGo1VPimRuvluIO7JZc85wCfY0EA
h0uGpN4jvJKCfdoC16o1d+U=
=FM1r
-----END PGP SIGNATURE-----
--- End Message ---