Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Daniel Berlin" <dberlin@dberlin.org>
To: tromey@redhat.com
Cc: "Gdb List" <gdb@sources.redhat.com>, "Dan Berlin" <dan@dberlin.org>
Subject: Re: Notes on conversion to bugzilla
Date: Thu, 24 Jul 2008 09:26:00 -0000	[thread overview]
Message-ID: <4aca3dc20807232314t754a2286s27f7131a0d573444@mail.gmail.com> (raw)
In-Reply-To: <m3ej5lq1dt.fsf@fleche.redhat.com>

On Tue, Jul 22, 2008 at 10:23 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
>
> Ping...


Sorry, this got shoved into my gdb label, which i only read a small time.

>
> Tom> The appended patch is what I think is needed for the gdb web pages.
>
> Could a gdb maintainer respond to this?  The patch is quite small.
>
> Tom> I don't know whether the output I have is directly insertable into the
> Tom> existing sourceware bugzilla.  I didn't look at the sourceware
> Tom> database scheme (I don't even know how to).  Dan, what would you like
> Tom> from me in order to do this?  I can send the SQL, the hacked
> Tom> gnatsparse.py, ...

This is tricky.
So, the output of gnatsparse matches what bugzilla's schema looked
like a few versions ago.
Bugzilla includes auto-upgrade scripts so you could take an old format
database and convert the schema
However, this won't work well with the already-existing databases.

You will have to update the script to output something that is the
same as the current schema.

If you look in my homedir on sourceware, there are a bunch of perl
scripts that contain the mysql password, and with that, you can dump
the current schema.

Once gnatsparse outputs things in the current schema, we just stop the
sourceware bugzilla for a few minutes, tell gnatsparse to start
numbering bugs at the last bug in the database (the bug number is
unique across all products), let it run, and then import that into
sql.
>
> Tom> From a glance on sourceware it looks like perhaps just using
> Tom> log_accum_bugzillified is enough, but I have not tested this.
> Tom> Dan, do you know?
>
> Dan?
Yes, this would work fine.


>
> Tom
>


  parent reply	other threads:[~2008-07-24  6:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10 18:31 Tom Tromey
2008-07-22 17:28 ` Tom Tromey
2008-07-23  9:18   ` Daniel Jacobowitz
2008-07-24  9:26   ` Daniel Berlin [this message]
2008-07-26  5:54     ` Tom Tromey
2008-09-11 21:42 ` Tom Tromey

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=4aca3dc20807232314t754a2286s27f7131a0d573444@mail.gmail.com \
    --to=dberlin@dberlin.org \
    --cc=dan@dberlin.org \
    --cc=gdb@sources.redhat.com \
    --cc=tromey@redhat.com \
    /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