public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
@ 2007-09-28 23:31 Andrew Gaffney
  2007-09-28 23:43 ` Andrew Gaffney
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Andrew Gaffney @ 2007-09-28 23:31 UTC (permalink / raw
  To: gentoo-dev

It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL" header at 
the top of every bugzie email as much as robbat2 does. Because of that, robbat2, 
KingTaco, and I came up with a procmail recipe that uses sed to filter that new 
message out of bugzie emails.

This has not actually been tested on incoming mails, so it may rape/eat your 
dog/sister. Enjoy.

# Strip out DO NOT REPLY lines from bugzie emails
:0 Hfw
* ^From: bugzilla-daemon@gentoo.org
| sed -e '/^DO NOT REPLY TO THIS EMAIL/,+2d'

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
@ 2007-09-28 23:43 ` Andrew Gaffney
  2007-09-29  7:23 ` Thilo Bangert
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 21+ messages in thread
From: Andrew Gaffney @ 2007-09-28 23:43 UTC (permalink / raw
  To: gentoo-dev

Andrew Gaffney wrote:
> It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL" 
> header at the top of every bugzie email as much as robbat2 does. Because 
> of that, robbat2, KingTaco, and I came up with a procmail recipe that 
> uses sed to filter that new message out of bugzie emails.
> 
> This has not actually been tested on incoming mails, so it may rape/eat 
> your dog/sister. Enjoy.
> 
> # Strip out DO NOT REPLY lines from bugzie emails
> :0 Hfw
> * ^From: bugzilla-daemon@gentoo.org
> | sed -e '/^DO NOT REPLY TO THIS EMAIL/,+2d'

Okay, I just had it tested "in the wild". It works just fine. Double enjoy!

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
  2007-09-28 23:43 ` Andrew Gaffney
@ 2007-09-29  7:23 ` Thilo Bangert
  2007-09-29  9:29   ` Robin H. Johnson
  2007-09-29  9:58 ` [gentoo-dev] " Fabian Groffen
  2007-09-30 10:26 ` [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Christian Birchinger
  3 siblings, 1 reply; 21+ messages in thread
From: Thilo Bangert @ 2007-09-29  7:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

Andrew Gaffney <agaffney@gentoo.org> said:
> It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL"
> header at the top of every bugzie email as much as robbat2 does.

1. if everybody hates it (full ack btw), why not remove it globally?

2. why doesn't bugzi receive mail (anymore?)?

kind regards
Thilo

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29  7:23 ` Thilo Bangert
@ 2007-09-29  9:29   ` Robin H. Johnson
  2007-09-29 10:01     ` Fabian Groffen
  0 siblings, 1 reply; 21+ messages in thread
From: Robin H. Johnson @ 2007-09-29  9:29 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

On Sat, Sep 29, 2007 at 09:23:21AM +0200, Thilo Bangert wrote:
> Andrew Gaffney <agaffney@gentoo.org> said:
> > It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL"
> > header at the top of every bugzie email as much as robbat2 does.
> 1. if everybody hates it (full ack btw), why not remove it globally?
Not everybody hates it, and it's there to dissuade users from replying
to Bugzilla mail by hitting reply in the MUA.
http://bugs.gentoo.org/show_bug.cgi?id=181172

> 2. why doesn't bugzi receive mail (anymore?)?
We never supported Bugzilla email interface - it's been fraught with
security holes and bugs, and sucks with spam.

The address of bugzilla@gentoo.org goes to the group of us that admin
bugzilla (mainly me), and from that alone, I get 4-5 emails a week from
that alias alone. Don't you get random less-than-clueful users emailing
you instead of responding on Bugzilla?

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 321 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
  2007-09-28 23:43 ` Andrew Gaffney
  2007-09-29  7:23 ` Thilo Bangert
@ 2007-09-29  9:58 ` Fabian Groffen
  2007-09-29 10:36   ` Robin H. Johnson
  2007-09-30 10:26 ` [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Christian Birchinger
  3 siblings, 1 reply; 21+ messages in thread
From: Fabian Groffen @ 2007-09-29  9:58 UTC (permalink / raw
  To: gentoo-dev

On 28-09-2007 18:31:06 -0500, Andrew Gaffney wrote:
> It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL" 
> header at the top of every bugzie email as much as robbat2 does. Because of 
> that, robbat2, KingTaco, and I came up with a procmail recipe that uses sed 
> to filter that new message out of bugzie emails.
>
> This has not actually been tested on incoming mails, so it may rape/eat 
> your dog/sister. Enjoy.
>
> # Strip out DO NOT REPLY lines from bugzie emails
> :0 Hfw
> * ^From: bugzilla-daemon@gentoo.org
> | sed -e '/^DO NOT REPLY TO THIS EMAIL/,+2d'

Thanks.

Most annoying is the many empty lines for normal comment mails that were
added.  You *must* scroll down now to just read the contents.  Just
removing those from the template (like it used to be, and is for the
other kind of mails) would already help a lot.


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29  9:29   ` Robin H. Johnson
@ 2007-09-29 10:01     ` Fabian Groffen
  2007-09-29 14:11       ` [gentoo-dev] " Duncan
  0 siblings, 1 reply; 21+ messages in thread
From: Fabian Groffen @ 2007-09-29 10:01 UTC (permalink / raw
  To: gentoo-dev

On 29-09-2007 02:29:21 -0700, Robin H. Johnson wrote:
> On Sat, Sep 29, 2007 at 09:23:21AM +0200, Thilo Bangert wrote:
> > Andrew Gaffney <agaffney@gentoo.org> said:
> > > It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL"
> > > header at the top of every bugzie email as much as robbat2 does.
> > 1. if everybody hates it (full ack btw), why not remove it globally?
> Not everybody hates it, and it's there to dissuade users from replying
> to Bugzilla mail by hitting reply in the MUA.
> http://bugs.gentoo.org/show_bug.cgi?id=181172

Isn't that tackled suffiently now by setting a bogus reply-to header?


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29  9:58 ` [gentoo-dev] " Fabian Groffen
@ 2007-09-29 10:36   ` Robin H. Johnson
  2007-09-29 11:05     ` Mike Frysinger
  0 siblings, 1 reply; 21+ messages in thread
From: Robin H. Johnson @ 2007-09-29 10:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

On Sat, Sep 29, 2007 at 11:58:33AM +0200, Fabian Groffen wrote:
> Thanks.
> 
> Most annoying is the many empty lines for normal comment mails that were
> added.  You *must* scroll down now to just read the contents.  Just
> removing those from the template (like it used to be, and is for the
> other kind of mails) would already help a lot.
"Many empty lines"?
I think your MUA is broken.
It is exactly two lines of text added, and one blank line after them.

Otherwise, take a screenshot of before and after to prove it.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 321 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 10:36   ` Robin H. Johnson
@ 2007-09-29 11:05     ` Mike Frysinger
  2007-09-29 11:28       ` Robin H. Johnson
  2007-10-22 16:09       ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Peter Volkov
  0 siblings, 2 replies; 21+ messages in thread
From: Mike Frysinger @ 2007-09-29 11:05 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

On Saturday 29 September 2007, Robin H. Johnson wrote:
> On Sat, Sep 29, 2007 at 11:58:33AM +0200, Fabian Groffen wrote:
> > Thanks.
> >
> > Most annoying is the many empty lines for normal comment mails that were
> > added.  You *must* scroll down now to just read the contents.  Just
> > removing those from the template (like it used to be, and is for the
> > other kind of mails) would already help a lot.
>
> "Many empty lines"?
> I think your MUA is broken.
> It is exactly two lines of text added, and one blank line after them.

no, his MUA isnt broken ... when comments get added, there are 5 blank lines 
between the bugzilla URI's and the start of actual content ...

> Otherwise, take a screenshot of before and after to prove it.

... however, i dont think it's a regression ... just that with the added 3 
lines for the DO-NOT-REPLY crap text, the blank lines push the actual content 
further down
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 11:05     ` Mike Frysinger
@ 2007-09-29 11:28       ` Robin H. Johnson
  2007-09-29 12:27         ` Benno Schulenberg
  2007-10-22 16:09       ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Peter Volkov
  1 sibling, 1 reply; 21+ messages in thread
From: Robin H. Johnson @ 2007-09-29 11:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]

On Sat, Sep 29, 2007 at 07:05:31AM -0400, Mike Frysinger wrote:
> no, his MUA isnt broken ... when comments get added, there are 5 blank lines 
> between the bugzilla URI's and the start of actual content ...
Those existed before the change.

> > Otherwise, take a screenshot of before and after to prove it.
> ... however, i dont think it's a regression ... just that with the added 3 
> lines for the DO-NOT-REPLY crap text, the blank lines push the actual content 
> further down
Not a bug with the template:
===============
To: %to%
Reply-To: DO NOT REPLY </dev/null@localhost.>
Subject: [Bug %bugid%] %neworchanged%%summary%
%threadingmarker%
X-Bugzilla-Reason: %reasonsheader%
X-Bugzilla-Product: %product%
X-Bugzilla-Component: %component%
X-Bugzilla-Keywords: %keywords%
X-Bugzilla-Severity: %severity%
X-Bugzilla-Resolution: %resolution%
X-Bugzilla-Status: %status%

DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:

Clear-Text: %urlbase%show_bug.cgi?id=%bugid%
Secure: %sslbase%show_bug.cgi?id=%bugid%

%diffs%
--%space%
Configure bugmail: %sslbase%userprefs.cgi?tab=email
%reasonsbody%
=================

I'll go and trace what generates the '%diffs%' portion, see if there is dumb
code in there that generates too much whitespace.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 321 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 11:28       ` Robin H. Johnson
@ 2007-09-29 12:27         ` Benno Schulenberg
  2007-09-29 17:33           ` Andrew Gaffney
  0 siblings, 1 reply; 21+ messages in thread
From: Benno Schulenberg @ 2007-09-29 12:27 UTC (permalink / raw
  To: gentoo-dev

Robin H. Johnson wrote:
> DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the
> person whose email is mentioned below. To comment on this bug,
> please visit:

Please consider lowercasing the first sentence, to stop the yelling, 
and removing the repetition from the second sentence, which seems 
to treat the addressee as retarded.  Suggested replacement:

  Do not reply to this email, nor to the person whose email address
  is mentioned below.  To comment on this bug, please visit:

Benno
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* [gentoo-dev]  Re: stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 10:01     ` Fabian Groffen
@ 2007-09-29 14:11       ` Duncan
  2007-09-29 14:34         ` Fabian Groffen
  0 siblings, 1 reply; 21+ messages in thread
From: Duncan @ 2007-09-29 14:11 UTC (permalink / raw
  To: gentoo-dev

Fabian Groffen <grobian@gentoo.org> posted
20070929100139.GB14360@gentoo.org, excerpted below, on  Sat, 29 Sep 2007
12:01:39 +0200:

> On 29-09-2007 02:29:21 -0700, Robin H. Johnson wrote:
>> On Sat, Sep 29, 2007 at 09:23:21AM +0200, Thilo Bangert wrote:
>> > Andrew Gaffney <agaffney@gentoo.org> said:
>> > > It seems that not everybody loves the new "DO NOT REPLY TO THIS
>> > > EMAIL" header at the top of every bugzie email as much as robbat2
>> > > does.
>> > 1. if everybody hates it (full ack btw), why not remove it globally?
>> Not everybody hates it, and it's there to dissuade users from replying
>> to Bugzilla mail by hitting reply in the MUA.
>> http://bugs.gentoo.org/show_bug.cgi?id=181172
> 
> Isn't that tackled suffiently now by setting a bogus reply-to header?

The problem is those replies may contain information of use in fixing the 
bug.  If the mail gets null-spaced...

Better to warn upfront that a reply via mail isn't going to have the 
intended results, AND bogus reply-to header it.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev]  Re: stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 14:11       ` [gentoo-dev] " Duncan
@ 2007-09-29 14:34         ` Fabian Groffen
  2007-09-29 16:24           ` Joe Peterson
  0 siblings, 1 reply; 21+ messages in thread
From: Fabian Groffen @ 2007-09-29 14:34 UTC (permalink / raw
  To: gentoo-dev

On 29-09-2007 14:11:54 +0000, Duncan wrote:
> Fabian Groffen <grobian@gentoo.org> posted
> 20070929100139.GB14360@gentoo.org, excerpted below, on  Sat, 29 Sep 2007
> 12:01:39 +0200:
> 
> > On 29-09-2007 02:29:21 -0700, Robin H. Johnson wrote:
> >> On Sat, Sep 29, 2007 at 09:23:21AM +0200, Thilo Bangert wrote:
> >> > Andrew Gaffney <agaffney@gentoo.org> said:
> >> > > It seems that not everybody loves the new "DO NOT REPLY TO THIS
> >> > > EMAIL" header at the top of every bugzie email as much as robbat2
> >> > > does.
> >> > 1. if everybody hates it (full ack btw), why not remove it globally?
> >> Not everybody hates it, and it's there to dissuade users from replying
> >> to Bugzilla mail by hitting reply in the MUA.
> >> http://bugs.gentoo.org/show_bug.cgi?id=181172
> > 
> > Isn't that tackled suffiently now by setting a bogus reply-to header?
> 
> The problem is those replies may contain information of use in fixing the 
> bug.  If the mail gets null-spaced...

I don't see your point.  If you have a mailserver running on localhost
that accepts mail for /dev/null (i.e. it thinks it is a valid email
address) and discards it without notice, then that's your problem.  Most
of the time this is not the case and an immediate reject or a bounce
message is the result.

> Better to warn upfront that a reply via mail isn't going to have the 
> intended results, AND bogus reply-to header it.

I agree warning is fine.  However, I think there is a correlation
between people hitting reply to bugzilla mails and people not
reading/paying attention to such messages.  I think the annoyance
of having the message does not pay off against the technical limitation
of not being able to reply any more, whereas the latter is very
effective and the first probably not.


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev]  Re: stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 14:34         ` Fabian Groffen
@ 2007-09-29 16:24           ` Joe Peterson
  0 siblings, 0 replies; 21+ messages in thread
From: Joe Peterson @ 2007-09-29 16:24 UTC (permalink / raw
  To: gentoo-dev

Fabian Groffen wrote:
>> The problem is those replies may contain information of use in fixing the 
>> bug.  If the mail gets null-spaced...
> 
> I don't see your point.  If you have a mailserver running on localhost
> that accepts mail for /dev/null (i.e. it thinks it is a valid email
> address) and discards it without notice, then that's your problem.  Most
> of the time this is not the case and an immediate reject or a bounce
> message is the result.

Right!  The bogus reply-to should either be an invalid address, in which
case the sender will realize right away that the mail did not go
anywhere, or there could be an autoresponder that tells the sender to
use bugzilla's web interface.

Or...  you could keep the return address as-is, but use procmail to not
accept mail unless it is from the bugzilla system (otherwise,
autorespond as above).

Any of these would be preferable to the 3 extra lines at the top of
every email now that are not only annoying, but only useful to initiate
the few who would attempt to reply.

> I agree warning is fine.  However, I think there is a correlation
> between people hitting reply to bugzilla mails and people not
> reading/paying attention to such messages.  I think the annoyance
> of having the message does not pay off against the technical limitation
> of not being able to reply any more, whereas the latter is very
> effective and the first probably not.

Agreed.  There are several technical solutions that are far more
effective and less annoying than the banner.

					-Joe
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 12:27         ` Benno Schulenberg
@ 2007-09-29 17:33           ` Andrew Gaffney
  2007-09-29 18:21             ` [gentoo-dev] " Ryan Hill
  2007-09-29 23:28             ` [gentoo-dev] " Mike Frysinger
  0 siblings, 2 replies; 21+ messages in thread
From: Andrew Gaffney @ 2007-09-29 17:33 UTC (permalink / raw
  To: gentoo-dev

Benno Schulenberg wrote:
> Robin H. Johnson wrote:
>> DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the
>> person whose email is mentioned below. To comment on this bug,
>> please visit:
> 
> Please consider lowercasing the first sentence, to stop the yelling, 
> and removing the repetition from the second sentence, which seems 
> to treat the addressee as retarded.  Suggested replacement:

Well, this really *is* targeting the "retarded". There are many people who just 
don't pay any attention at all and will reply directly to the bugzie email. 
There's also the people who like to argue with the bug commenter but don't want 
to do it on the bug (which will make them look like an idiot to *everyone*), so 
they email the person directly. With this warning, I can completely ignore those 
"retards" without feeling bad :)

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* [gentoo-dev]  Re: stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 17:33           ` Andrew Gaffney
@ 2007-09-29 18:21             ` Ryan Hill
  2007-09-29 23:28             ` [gentoo-dev] " Mike Frysinger
  1 sibling, 0 replies; 21+ messages in thread
From: Ryan Hill @ 2007-09-29 18:21 UTC (permalink / raw
  To: gentoo-dev

Andrew Gaffney wrote:
> Benno Schulenberg wrote:
>> Robin H. Johnson wrote:
>>> DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the
>>> person whose email is mentioned below. To comment on this bug,
>>> please visit:
>>
>> Please consider lowercasing the first sentence, to stop the yelling,
>> and removing the repetition from the second sentence, which seems to
>> treat the addressee as retarded.  Suggested replacement:
> 
> Well, this really *is* targeting the "retarded". There are many people
> who just don't pay any attention at all and will reply directly to the
> bugzie email.

Then bugzilla-daemon should autorespond telling them to not reply to it
and post on the bug.  There's no reason every single person needs to see
this.  The most important aspect of retard-wrangling is to not target
everyone as a potential tard.

> There's also the people who like to argue with the bug
> commenter but don't want to do it on the bug (which will make them look
> like an idiot to *everyone*), so they email the person directly. With 
> this warning, I can completely ignore those "retards" without feeling bad :)

Uhh...  I'd rather be emailed directly than to clog up a bug report with
useless banter.  And I'll often email a commenter directly if their comment
and/or my reply is off-topic.  Yet somehow I don't spend a lot of time 
window-licking or trying to wear my shoes as a hat.


-- 
                  fonts / wxWindows / gcc-porting / treecleaners
  9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-29 17:33           ` Andrew Gaffney
  2007-09-29 18:21             ` [gentoo-dev] " Ryan Hill
@ 2007-09-29 23:28             ` Mike Frysinger
  1 sibling, 0 replies; 21+ messages in thread
From: Mike Frysinger @ 2007-09-29 23:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

On Saturday 29 September 2007, Andrew Gaffney wrote:
> Benno Schulenberg wrote:
> > Robin H. Johnson wrote:
> >> DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the
> >> person whose email is mentioned below. To comment on this bug,
> >> please visit:
> >
> > Please consider lowercasing the first sentence, to stop the yelling,
> > and removing the repetition from the second sentence, which seems
> > to treat the addressee as retarded.  Suggested replacement:
>
> Well, this really *is* targeting the "retarded".

regardless of how you may feel about people who reply incorrectly, Benno's 
suggestion is pretty straightforward and makes sense.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
  2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
                   ` (2 preceding siblings ...)
  2007-09-29  9:58 ` [gentoo-dev] " Fabian Groffen
@ 2007-09-30 10:26 ` Christian Birchinger
  3 siblings, 0 replies; 21+ messages in thread
From: Christian Birchinger @ 2007-09-30 10:26 UTC (permalink / raw
  To: gentoo-dev

On Fri, Sep 28, 2007 at 06:31:06PM -0500, Andrew Gaffney wrote:
> It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL" 
> header at the top of every bugzie email as much as robbat2 does. Because of 
> that, robbat2, KingTaco, and I came up with a procmail recipe that uses sed 
> to filter that new message out of bugzie emails.

Why not use a "DO NOT REPLY" as realname in the email "From:".
It should be visible enough and not annoy as much as the lines
in the message body.

Christian
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
  2007-09-29 11:05     ` Mike Frysinger
  2007-09-29 11:28       ` Robin H. Johnson
@ 2007-10-22 16:09       ` Peter Volkov
  2007-10-22 17:21         ` Elias Probst
  1 sibling, 1 reply; 21+ messages in thread
From: Peter Volkov @ 2007-10-22 16:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

В Сбт, 29/09/2007 в 07:05 -0400, Mike Frysinger пишет:
> when comments get added, there are 5 blank lines between the bugzilla
> URI's and the start of actual content ...

This can be workarouned with another .procmailrc rule:

# Strip out excess empty lines
:0 Hfw
* ^From: bugzilla-daemon@gentoo.org
| awk '{ if ( $0 == "" ) {el++;} else { if (el>0) print ""; el=0; print $0 ;}}'

I'm not sure that this is the best approach but I did not found a way
how to do this with sed. If it's possible I'd like to know how, so I
could just add another -e 'script' to existing "DO NOT REPLY" striping
recipe.

-- 
Peter.

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
  2007-10-22 16:09       ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Peter Volkov
@ 2007-10-22 17:21         ` Elias Probst
  2007-10-22 17:57           ` Peter Volkov
  0 siblings, 1 reply; 21+ messages in thread
From: Elias Probst @ 2007-10-22 17:21 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Am Montag, 22. Oktober 2007 18:09:37 schrieb Peter Volkov:
> | awk '{ if ( $0 == "" ) {el++;} else { if (el>0) print ""; el=0; print $0
> | ;}}'
>
> I'm not sure that this is the best approach but I did not found a way
> how to do this with sed. If it's possible I'd like to know how, so I
> could just add another -e 'script' to existing "DO NOT REPLY" striping
> recipe.

To delete empty lines with sed, just do a
sed '/^$/d'
I hope that's what you're looking for.

Regards, Elias P.

-- 
A really nice number:
"09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0"

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
  2007-10-22 17:21         ` Elias Probst
@ 2007-10-22 17:57           ` Peter Volkov
  2007-10-22 19:15             ` Thomas de Grenier de Latour
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Volkov @ 2007-10-22 17:57 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]


В Пнд, 22/10/2007 в 19:21 +0200, Elias Probst пишет:
> To delete empty lines with sed, just do a
> sed '/^$/d'
> I hope that's what you're looking for.

No. awk command in the previous mail substituted 2 or more empty lines
with exactly one empty line. Your command makes mail less readable.

-- 
Peter.

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
  2007-10-22 17:57           ` Peter Volkov
@ 2007-10-22 19:15             ` Thomas de Grenier de Latour
  0 siblings, 0 replies; 21+ messages in thread
From: Thomas de Grenier de Latour @ 2007-10-22 19:15 UTC (permalink / raw
  To: gentoo-dev

On 2007/10/22, Peter Volkov <pva@gentoo.org> wrote:

> 
> В Пнд, 22/10/2007 в 19:21 +0200, Elias Probst пишет:
> > To delete empty lines with sed, just do a
> > sed '/^$/d'
> > I hope that's what you're looking for.
> 
> No. awk command in the previous mail substituted 2 or more empty lines
> with exactly one empty line. Your command makes mail less readable.
> 

One of this two commands should do the trick (depending whether you're
after empty lines or blank lines): 
    '/./,/^$/!d'
 or '/[^[:space:]]/,/^[[:space:]]*$/!d'

--
TGL.
--
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-10-22 19:18 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
2007-09-28 23:43 ` Andrew Gaffney
2007-09-29  7:23 ` Thilo Bangert
2007-09-29  9:29   ` Robin H. Johnson
2007-09-29 10:01     ` Fabian Groffen
2007-09-29 14:11       ` [gentoo-dev] " Duncan
2007-09-29 14:34         ` Fabian Groffen
2007-09-29 16:24           ` Joe Peterson
2007-09-29  9:58 ` [gentoo-dev] " Fabian Groffen
2007-09-29 10:36   ` Robin H. Johnson
2007-09-29 11:05     ` Mike Frysinger
2007-09-29 11:28       ` Robin H. Johnson
2007-09-29 12:27         ` Benno Schulenberg
2007-09-29 17:33           ` Andrew Gaffney
2007-09-29 18:21             ` [gentoo-dev] " Ryan Hill
2007-09-29 23:28             ` [gentoo-dev] " Mike Frysinger
2007-10-22 16:09       ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Peter Volkov
2007-10-22 17:21         ` Elias Probst
2007-10-22 17:57           ` Peter Volkov
2007-10-22 19:15             ` Thomas de Grenier de Latour
2007-09-30 10:26 ` [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Christian Birchinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox