Gentoo Archives: gentoo-dev

From: Owen Gunden <ogunden@××××××××××××.edu>
To: gentoo-dev@g.o
Subject: [gentoo-dev] patch: emergemail feature in
Date: Tue, 19 Aug 2003 05:37:25
1 Hi,
3 Attached is a small patch for the file (part of baselayout)
4 which implements the feature "emergemail" (set in /etc/make.conf FEATURES).
5 When this feature is turned on (and an mta is present), all einfo, ewarn,
6 and eerror messages are emailed to root.
8 This is useful if you upgrade or install multiple packages at once, and you
9 don't want to miss any important messages that go whizzing by.
11 There is a major flaw with the current implementation. Namely, you get an
12 email for _every_ invocation of einfo, ewarn, or error. The way those
13 functions are commonly used (repeated calls for multi-line messages) makes
14 avoiding this flaw quite difficult without rather sweeping changes to the
15 design of emerge/ebuild.
17 Comments or suggestions welcome.
18 Owen


File name MIME type text/plain


Subject Author
Re: [gentoo-dev] patch: emergemail feature in Jon Portnoy <avenj@g.o>
Re: [gentoo-dev] patch: emergemail feature in Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] patch: emergemail feature in Karsten Schulz <kaschu@×××××××××.de>
Re: [gentoo-dev] patch: emergemail feature in Thomas de Grenier de Latour <degrenier@×××××××××××.fr>