From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17244 invoked by alias); 10 Jul 2008 18:31:14 -0000 Received: (qmail 17228 invoked by uid 22791); 10 Jul 2008 18:31:14 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jul 2008 18:30:50 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m6AIUmpB022291 for ; Thu, 10 Jul 2008 14:30:48 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6AIUmLJ028221; Thu, 10 Jul 2008 14:30:48 -0400 Received: from opsy.redhat.com (vpn-10-44.bos.redhat.com [10.16.10.44]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6AIUkSL027657; Thu, 10 Jul 2008 14:30:47 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8257637829C; Thu, 10 Jul 2008 12:30:46 -0600 (MDT) To: Gdb List CC: Dan Berlin Subject: Notes on conversion to bugzilla From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Thu, 10 Jul 2008 18:31:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00075.txt.bz2 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!

GDB has a Bug +href="http://sourceware.org/bugzilla/">Bug Database. 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.

Before submitting a new PR/CR, try browsing +href="http://sourceware.org/bugzilla/">browsing the database to see if the problem has already been reported or even fixed.

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.

-gdb-prs
Mailing list for discussing bug reports. +gdb-prs
A read-only mailing list for bug reports. See the Bug Database for information on how to submit a bug.