Separating PR's in the results of QUER
Robert Petersen <[email protected]> Sun, 25 Sep 2005 09:08:28 -0700
| Newsgroups | gmane.comp.bug-tracking.gnats.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am wondering what (if any) method there is for identifying the end of
one PR and the start of the next when gnatsd responds to a query. In my
testing I've set the query format to 'edit'. I'm using 4.1.0. The
dbconfig is almost out-of-the-box with the exception of a couple fields
I added. In particular I added a field called foobar at the end.
field "foobar" {
description "Random information field"
multitext
}
So that I can attempt to confuse/test schemes to identify the end of a
PR. In my test database I have three PRs. In the second PR I've set
the value of the foobar field to this (next 3 line):
This is foo bar
From: robert
Here is the result of a QUER command (actually this is just the few
lines at the end of PR #2 and the start of #3, next 11 lines):
>foobar:
This is foo bar
From: robert
From: robert
Reply-To: robert
To: bugs
Subject: This is a test pr
>Number: 3
So it appears I can replicate the mail headers in a multitext field at
the end of the PR in such a way as to not be able to identify where the
next PR starts.
So finally to the question, how do others go about parsing the results
of a QUER?
Thanks,
Robert Petersen
_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats