public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Parsing bug reports for indexing
@ 2001-11-15  3:40 Bill Moseley
  2001-11-19  7:20 ` Milan Zamazal
  2001-12-21 12:06 ` Bill Moseley
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Moseley @ 2001-11-15  3:40 UTC (permalink / raw)
  To: help-gnats

Hi,

I need some code to parse bug reports for indexing by swish-e, and I'm
trying to avoid reinventing the wheel.

I'm wondering if anyone has written a perl module for parsing the reports,
cleaning up any MIME (and Outlook junk), and which provides an OO interface.

Anyone done this already?

If not, I assume I can just use basic MIME tools to do this, but I'm not
clear on all the possible fields (e.g. Audit-Trail) that might be in a bug
report.

The goal is to parse out dates, status, author, subject, and body text, and
perhaps replies to the report.


Thanks,

Bill Moseley
mailto:moseley@hank.org

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

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

* Re: Parsing bug reports for indexing
  2001-11-15  3:40 Parsing bug reports for indexing Bill Moseley
@ 2001-11-19  7:20 ` Milan Zamazal
  2001-12-23 12:44   ` Milan Zamazal
  2001-12-21 12:06 ` Bill Moseley
  1 sibling, 1 reply; 4+ messages in thread
From: Milan Zamazal @ 2001-11-19  7:20 UTC (permalink / raw)
  To: Bill Moseley; +Cc: help-gnats

>>>>> "BM" == Bill Moseley <moseley@hank.org> writes:

    BM> but I'm not clear on all the possible fields (e.g. Audit-Trail)
    BM> that might be in a bug report.

In GNATS 4, there can be any fields there.  The fields are configured in
`dbconfig', see the corresponding manual entry.  Depending on your
needs, you can just consider field identifiers (`>IDENTIFIER:') or parse
dbconfig or use the information provided by gnatsd.

Regards,

Milan Zamazal

-- 
"Having GNU Emacs is like having a dragon's cave of treasures."
                                                Robert J. Chassell

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

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

* Parsing bug reports for indexing
  2001-11-15  3:40 Parsing bug reports for indexing Bill Moseley
  2001-11-19  7:20 ` Milan Zamazal
@ 2001-12-21 12:06 ` Bill Moseley
  1 sibling, 0 replies; 4+ messages in thread
From: Bill Moseley @ 2001-12-21 12:06 UTC (permalink / raw)
  To: help-gnats

Hi,

I need some code to parse bug reports for indexing by swish-e, and I'm
trying to avoid reinventing the wheel.

I'm wondering if anyone has written a perl module for parsing the reports,
cleaning up any MIME (and Outlook junk), and which provides an OO interface.

Anyone done this already?

If not, I assume I can just use basic MIME tools to do this, but I'm not
clear on all the possible fields (e.g. Audit-Trail) that might be in a bug
report.

The goal is to parse out dates, status, author, subject, and body text, and
perhaps replies to the report.


Thanks,

Bill Moseley
mailto:moseley@hank.org

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

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

* Re: Parsing bug reports for indexing
  2001-11-19  7:20 ` Milan Zamazal
@ 2001-12-23 12:44   ` Milan Zamazal
  0 siblings, 0 replies; 4+ messages in thread
From: Milan Zamazal @ 2001-12-23 12:44 UTC (permalink / raw)
  To: Bill Moseley; +Cc: help-gnats

>>>>> "BM" == Bill Moseley <moseley@hank.org> writes:

    BM> but I'm not clear on all the possible fields (e.g. Audit-Trail)
    BM> that might be in a bug report.

In GNATS 4, there can be any fields there.  The fields are configured in
`dbconfig', see the corresponding manual entry.  Depending on your
needs, you can just consider field identifiers (`>IDENTIFIER:') or parse
dbconfig or use the information provided by gnatsd.

Regards,

Milan Zamazal

-- 
"Having GNU Emacs is like having a dragon's cave of treasures."
                                                Robert J. Chassell

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

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

end of thread, other threads:[~2001-12-23 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-15  3:40 Parsing bug reports for indexing Bill Moseley
2001-11-19  7:20 ` Milan Zamazal
2001-12-23 12:44   ` Milan Zamazal
2001-12-21 12:06 ` Bill Moseley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).