[yum-cvs] 4 commits - .gitignore Makefile yum-updatesd-helper yum-updatesd.spec

Jeremy Katz katzj at linux.duke.edu
Mon Dec 10 18:38:46 UTC 2007


 .gitignore          |    3 +++
 Makefile            |    2 +-
 yum-updatesd-helper |    7 +++++--
 yum-updatesd.spec   |    8 +++++++-
 4 files changed, 16 insertions(+), 4 deletions(-)

New commits:
commit 5ebba8658adffc05d36b74dc732328085056b3ad
Author: Jeremy Katz <katzj at redhat.com>
Date:   Mon Dec 10 13:38:30 2007 -0500

    Add a .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ba616d4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*~
+*.pyc
+*.orig
commit e430aee812d78b7ba4b39a1eb0b49d80b14a76fa
Author: Pierre Ossman <drzeus at drzeus.cx>
Date:   Mon Dec 10 13:36:56 2007 -0500

    More compatible sendmail invocation
    
    Make the invocation of sendmail compatible with more variants by
    explicitly requesting to/cc/bcc parsing of the input (-t flag).
    
    Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>

diff --git a/yum-updatesd-helper b/yum-updatesd-helper
index d0fa7e0..888d8c2 100755
--- a/yum-updatesd-helper
+++ b/yum-updatesd-helper
@@ -176,7 +176,7 @@ Your Computer
         msg['Date'] = rfc822.formatdate()
 
         if self.sendmail:
-            p = subprocess.Popen("/usr/sbin/sendmail", stdin=subprocess.PIPE)
+            p = subprocess.Popen(("/usr/sbin/sendmail", "-t"), stdin=subprocess.PIPE)
             p.stdin.write(str(msg))
             p.communicate()
         else:
commit 6e96f2b24a0a626e37d47a4b1936c2f6ec98dec1
Author: Pierre Ossman <drzeus at drzeus.cx>
Date:   Mon Dec 10 13:36:33 2007 -0500

    Fix crash on email notification and missing type
    
    The 'type' attribute is not set for packages that are a part of the
    original set for the release. Make sure that we don't get a crash when
    this field is missing.
    
    Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>

diff --git a/yum-updatesd-helper b/yum-updatesd-helper
index 0507a42..d0fa7e0 100755
--- a/yum-updatesd-helper
+++ b/yum-updatesd-helper
@@ -162,7 +162,10 @@ Your Computer
     def _msgPacketList(self, updateInfo):
         output = ""
         for package in updateInfo:
-            output += "    %-30s %-10s\n" % (package[0]['name'], package[0]['type'])
+            if package[0].has_key('type'):
+                output += "    %-30s %-10s\n" % (package[0]['name'], package[0]['type'])
+            else:
+                output += "    %-30s\n" % (package[0]['name'])
         return output
 
     def _sendMessage(self, subject, body):
commit e00a1571766d23d9f32d0c61f4f63439d319e7e3
Author: Jeremy Katz <katzj at redhat.com>
Date:   Wed Dec 5 16:22:07 2007 -0500

    Bump version

diff --git a/Makefile b/Makefile
index 19b83b0..56aab35 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 # James Bowes <jbowes at redhat.com>
 
 NAME = yum-updatesd
-VERSION = 0.7
+VERSION = 0.8
 
 PREFIX = /usr
 MANDIR = $(PREFIX)/share/man
diff --git a/yum-updatesd.spec b/yum-updatesd.spec
index 8a93d8b..efa03e6 100644
--- a/yum-updatesd.spec
+++ b/yum-updatesd.spec
@@ -1,7 +1,7 @@
 Summary: Update notification daemon
 Name: yum-updatesd
 Epoch: 1
-Version: 0.7
+Version: 0.8
 Release: 1%{?dist}
 License: GPLv2
 Group: System Environment/Base
@@ -61,6 +61,12 @@ exit 0
 
 
 %changelog
+* Wed Dec  5 2007 Jeremy Katz <katzj at redhat.com> - 1:0.8-1
+- Use sendmail (Pierre Ossman, #397711)
+- Don't wake up as often (#391571)
+- Improve mail output (Pierre Ossman, #387181)
+- Fix some tracebacks (#387051, #374801)
+
 * Fri Oct 12 2007 Jeremy Katz <katzj at redhat.com> - 1:0.7-1
 - fix error when download is set, but no packages are available (#329361)
 



More information about the Yum-cvs-commits mailing list