Re: Bug status suggestion (was Re: 19990607.008)

[email protected] ((Robert Spier)) Tue, 25 Jul 2000 02:01:36 -0400 (EDT)
Newsgroups perl.bugmongers
Message-ID <[email protected]>
>>>>> "RS" == Richard Soderberg <[email protected]> writes:
RS> On a side note, none of the help documentation seems to specify
RS> any sort of example email subject commands for the bugdb; am I
RS> missing a nonobvious connection between http://bugs.perl.org and
RS> what I'm supposed to send to [email protected]?

Send a message to [email protected] with a subject of -h and -H to get back a help
listing.

I prefer to use the 'new' syntax, which isn't documented well yet.

<new_status>_<bugid>@bugs.perl.org -- which also has the advantage of
updating the notes field by appending the contents of the message.

(Richard hasn't announced this yet because it's still a bit beta.)

I use the following program for quick and dirty things.  (This is
abandonbug.pl.  Please change the email address before using, and make 
sure the bugtron knows about the email address included in the
message.  (The bugtron will take RE's as addresses.)  I have a similar 
program with close_ instead of abandon_. 

#!/usr/bin/perl -w
use strict;
my $bugid = $ARGV[0] || die "No bugid specified";
open(MAIL,"|/usr/lib/sendmail -t") || die "can't open sendmail";
print MAIL 
qq{From: rspier+bug$bugid\@speed.seas.upenn.edu
Subject: [ID $bugid]
To: abandon_$bugid\@bugs.perl.org

};
print MAIL $_ while(<STDIN>);
close MAIL;