From: Tom Tromey <tromey@redhat.com>
To: Gdb List <gdb@sources.redhat.com>
Cc: Dan Berlin <dan@dberlin.org>
Subject: Notes on conversion to bugzilla
Date: Thu, 10 Jul 2008 18:31:00 -0000 [thread overview]
Message-ID: <m3d4ll4mnd.fsf@fleche.redhat.com> (raw)
A couple days ago I hacked up Dan Berlin's gnats->bugzilla converter
for gdb. This went well. I started with the converter on my F8 box,
which is the one that comes with bugzilla 3.0.4.
I have set it up to CC all bugs to gdb-prs, and I had the converter
add a comment saying "[Converted from Gnats PR NNN]" to the start of
each bug report. This should be enough to find old bug reports.
The appended patch is what I think is needed for the gdb web pages.
I don't know whether the output I have is directly insertable into the
existing sourceware bugzilla. I didn't look at the sourceware
database scheme (I don't even know how to). Dan, what would you like
from me in order to do this? I can send the SQL, the hacked
gnatsparse.py, ...
I disabled the file-content "magic" system for categorizing
attachments. The code caused some Python error and I didn't want to
deal. If you think this matters, let me know and I will figure it
out.
I looked at the commit hooks in CVSROOT but they all seem to still be
using Gnats -- even the ones for binutils et al. From a glance on
sourceware it looks like perhaps just using log_accum_bugzillified is
enough, but I have not tested this. Dan, do you know?
After Dan vets the data, what next? I think:
* Shut down access to Gnats
* Temporarily hack CVSROOT to avoid commits going to gnats
* Redo the conversion (takes a couple minutes max)
* Import the data
* Fix CVSROOT to use bugzilla
* Check in the web page change
Did I miss something?
If anyone else wants the SQL, or the conversion script, just ask.
Tom
Index: bugs/index.html
===================================================================
RCS file: /cvs/gdb/htdocs/bugs/index.html,v
retrieving revision 1.36
diff -u -r1.36 index.html
--- bugs/index.html 7 Aug 2007 23:48:49 -0000 1.36
+++ bugs/index.html 10 Jul 2008 18:16:48 -0000
@@ -52,7 +52,7 @@
Please report bugs!<p>
GDB has a <a
-href="http://sourceware.org/cgi-bin/gnatsweb.pl?database=gdb&user=guest&password=guest&cmd=login">Bug
+href="http://sourceware.org/bugzilla/">Bug
Database</a>. It is used to track bugs (Problem Reports or PRs) and
enhancements (Change Requests or CRs). In addition to problems
encountered when running GDB, bugs include: errors or missing
@@ -73,7 +73,7 @@
distribution.<p>
Before submitting a new PR/CR, try <a
-href="http://sourceware.org/cgi-bin/gnatsweb.pl?database=gdb&user=guest&password=guest&cmd=query">browsing</a>
+href="http://sourceware.org/bugzilla/">browsing</a>
the database to see if the problem has already been reported or even
fixed.<p>
Index: mailing-lists/index.html
===================================================================
RCS file: /cvs/gdb/htdocs/mailing-lists/index.html,v
retrieving revision 1.36
diff -u -r1.36 index.html
--- mailing-lists/index.html 4 May 2008 23:19:13 -0000 1.36
+++ mailing-lists/index.html 10 Jul 2008 18:16:48 -0000
@@ -73,7 +73,7 @@
discussion should go through this list.</dd>
<dt><a href="http://sourceware.org/ml/gdb-prs/" name="gdb-prs">
-<b>gdb-prs</b></a></dt> <dd> Mailing list for discussing bug reports.
+<b>gdb-prs</b></a></dt> <dd> A read-only mailing list for bug reports.
See the <a href="../../gdb/bugs/">Bug Database</a> for information on how to
submit a bug.</dd>
next reply other threads:[~2008-07-10 18:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 18:31 Tom Tromey [this message]
2008-07-22 17:28 ` Tom Tromey
2008-07-23 9:18 ` Daniel Jacobowitz
2008-07-24 9:26 ` Daniel Berlin
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=m3d4ll4mnd.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=dan@dberlin.org \
--cc=gdb@sources.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