From: Daniel Berlin <dberlin@dberlin.org>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: ac131313@cygnus.com, gdb-patches@sources.redhat.com
Subject: Re: [patch] gdb.c++/local.exp: add pr numbers
Date: Sun, 14 Apr 2002 00:12:00 -0000 [thread overview]
Message-ID: <1018768341.21830.19.camel@dberlin.org> (raw)
In-Reply-To: <200204140640.g3E6etF27586@duracef.shout.net>
On Sun, 2002-04-14 at 02:40, Michael Elizabeth Chastain wrote:
> Daniel Berlin writes:
>
> I am going to hold off on my bug-referencing patches to gdb.c++/*.exp
> while we have some discussion.
>
> > Bugzilla bug ids for gnats bugs will be the same as they were for gnats.
>
> Okay.
>
> > Um, if you simply write something fitting the regex bug(\s|%\#)*(\d+) ,
> > bugzilla will make it link to the bug in question.
>
> That sounds mostly good to me. (Right now I am really glad that I've
> learned enough Perl to read those Perl regex's).
>
> However, it looks like the "gdb" part is implicit, such as:
>
> bug %#277
>
> I want to mark all the gdb bugs (KFAILs) with gdb bug numbers,
> so that would work. I also want to mark all the environment bugs (XFAILs)
> with bug numbers for their corresponding systems. How can I cite a gcc
> bug number in a gdb XFAIL?
>
> Similarly, if someone outside gdb wants to refer to a gdb bug,
> then "bug %#277" is not quite enough context, because it doesn't specify
> which bugzilla database it's talking about. I'd like it better if there
> were a form with the bugzilla database name in the string.
Ah, you are confused because gnats has different databases for different
products, while bugzilla supports multiple products in a single
database.
To be clear:
1. Bugzilla supports multiple products by default, in a single database.
(Each product can itself, have multiple components, as well)
2. Bug ids are unique within a given bugzilla database.
Thus, gdb bug numbers and gcc bug numbers will never conflict, once they
are in the same bugzilla system.
However, this *is* actually going to be annoying in the initial import,
since it means that if they share the same bugzilla system (which only
makes sense), i'll have to remap gdb's bug numbers to a new range (IE
add 10000 to them. There are almost exactly 7000 gcc bug reports, and
not going to be 3000 more before we switch)
Once the initial import is done, there will be no further problems,
since,as I said, bug numbers are unique to a given bugzilla database,
not to a given product in that database.
Think of it from the SQL database point of view.
(I'm simplifying, since comments/attachments are in a seperate table).
All bugs, for a given bugzilla installation are stored in a table, with
a primary key of the bug id.
The product is just another field on the bug.
>
> > I'm not going to modify the bugzilla source (to recognize any other
> > citation forms, as this highlighting is done in a routine used all over
> > the place (and thus, it's harder to verify a given regex does what you
> > expect in all cases), and I am specifically trying to avoid making any
> > changes to the perl source that can be avoided (the templates are
> > expected to be changed).
>
> Well, I think any coherent system is better than what we have now,
> which is no information. If I can mark all the KFAILs, and let the
> XFAILs twist in the wind, I can live with that.
>
> Michael C
next prev parent reply other threads:[~2002-04-14 7:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-13 23:41 Michael Elizabeth Chastain
2002-04-14 0:12 ` Daniel Berlin [this message]
2002-04-14 6:31 ` Andrew Cagney
2002-04-14 8:22 ` Tom Tromey
2002-04-20 18:45 ` Andrew Cagney
-- strict thread matches above, loose matches on Subject: below --
2002-04-22 22:19 Michael Elizabeth Chastain
2002-04-22 22:17 Michael Elizabeth Chastain
2002-04-21 20:29 Michael Elizabeth Chastain
2002-04-14 1:02 Michael Elizabeth Chastain
2002-04-13 15:06 Michael Elizabeth Chastain
2002-04-13 17:45 ` Daniel Berlin
2002-04-12 18:24 Michael Elizabeth Chastain
2002-04-12 15:27 Michael Elizabeth Chastain
2002-04-12 17:08 ` Kevin Buettner
2002-04-12 17:20 ` Daniel Jacobowitz
2002-04-13 14:58 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1018768341.21830.19.camel@dberlin.org \
--to=dberlin@dberlin.org \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mec@shout.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox