[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rawhide report: 20080224 changes



Jesse Keating wrote:
> On Mon, 25 Feb 2008 20:54:05 +0100
> Leszek Matok <Lam Lam pl> wrote:
> 
>>> Reports with suggested fixes or patches are even more useful (:  
>> Sure. Can someone point me at a step-by-step instruction for getting
>> the source of a program sending out those messages?
> 
> http://git.fedorahosted.org/git/?p=releng;a=blob;f=scripts/buildrawhide;hb=HEAD#l54

Thanks much for the pointer to the script.

> As for getting the source for /bin/mail....

Would it be out of the question to install mutt on the rawhide build
box?  That should handle the charset issues more gracefully.  Trivial
patch attached.

The -n -F /dev/null is there just to ensure that if the user running
the script sets up a .muttrc it won't interfere.  Of course, those
could be removed it options from /etc/Muttrc or ~/.muttrc were
desirable for some reason.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The best leaders inspire by example. When that's not an option, brute
intimidation works pretty well, too.
    -- Demotivators (www.despair.com)

From cd838f2d4fb96be5dbd9c5aeaf90a6bf00419d5a Mon Sep 17 00:00:00 2001
From: Todd Zullinger <tmz pobox com>
Date: Mon, 25 Feb 2008 16:45:48 -0500
Subject: [PATCH] replace mail with mutt for better charset handling

---
 scripts/buildrawhide |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index eb0ac0c..32ce352 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -51,6 +51,6 @@ su ftpsync -c "rsync $RSYNC_OPTS -rlptDvHh --exclude repodata/ /mnt/koji/mash/ra
 # repodata & cleanup
 su ftpsync -c "rsync $RSYNC_OPTS -rlptDvHhavH --delete --delete-after /mnt/koji/mash/rawhide-$DATE/development/ $DESTPATH"
 if [ "$?" = "0" ]; then
-    cat /mnt/koji/mash/rawhide-$DATE/logs/treediff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | su rawhide -c "mail -s 'rawhide report: '$DATE' changes' fedora-devel-list redhat com,fedora-test-list redhat com"
+    cat /mnt/koji/mash/rawhide-$DATE/logs/treediff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | su rawhide -c "mutt -n -F /dev/null -s 'rawhide report: '$DATE' changes' fedora-devel-list redhat com,fedora-test-list redhat com"
 fi
 exit 0
-- 
1.5.4.3

Attachment: pgpChQ4KI9YK9.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]