Re: new toy

[email protected] (H . Merijn Brand) Mon, 27 Aug 2001 11:09:51 +0200
Newsgroups perl.bugmongers
Message-ID <[email protected]>
On Mon 27 Aug 2001 10:51, [email protected] wrote:
> On Mon, Aug 27, 2001 at 11:25:40AM +0200, Richard Foley wrote:
> > Robert Spier wrote:
> > > 
> > It would be worth putting the two/three together, possibly Merijn also
> > wrote something similar, if I remember correctly?
> > 
> > Could go as a script in: ~/scripts/bugadmin or ~scripts/bugclose
> > 
> > # bugclose bla bla bla
> > 
> > Where 'bla bla bla' is/are the message/note/comments 
> > 
> > > I had written something similar a few months ago - except it was
> > > different.  It's around somewhere - but essentially it accepted a
> > > bugid on the command line and a comment on STDIN.  (It's important to
> > > get those comments in the database.)
> > > 
> > > -R (thinking about track@bugs)
> 
> I was thinking about doing another similiar script that dropped you
> into vi to write a note on the bug at the same time as you closed it...
> 
> Will try to come up with a more fully featured script and see what
> people think.
> 
> Robrt/Merijn - if you can find code I'd love to read it...

As said, I did not deal with the network side of the database and until now
I've always closed the bugs through the (too slow) web interface. I've
discussed some of it with Richard on YAPC::Europe.

So, I've got no code like what you are discussing, but I'm sure I might wanna
use it when it *is* available.

One point of attention I need to show: What if more than one of the bugadmins
sends in a close mail with *different* comments and/or different close reasons
(e.g me thinking to close the bug as duplicate with comments on why it is a
duplicate of which bug, Richard sending a mail to close it as notabug, and
Micheal closing it just as closed) consider what to do with the comments or
what status should win (duplicate might be a win over closed and/or notabug,
but also might fall to pray for circular references)

Just some thoughts.

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 628 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: [email protected]
http://archives.develooper.com/[email protected]/   [email protected]
send smoke reports to: [email protected], QA: http://qa.perl.org