This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnats -> bugzilla


On Mon, 09 Jun 2008 23:30:40 +0200, Christopher Faylor wrote:
> On Mon, Jun 09, 2008 at 12:28:19PM -0600, Tom Tromey wrote:
> > I'd like gdb to switch from gnats to bugzilla.

That would be really great, +1.


> No objections here.  Does this mean we can turn off GNATS on sourceware
> for good or does it have to live forever to handle the old URLs that
> point into it?

Some rewrite rules would be enough, depending on the exact chosen remapping
scheme:
	RewriteMap gnats2bz dbm:/tmp/gnats2bz.map
	RewriteEngine on
	RewriteRule /cgi-bin/gnatsweb.pl /gnats2bz/%{QUERY_STRING}
	RewriteRule /gnats2bz/(?:.*&)?pr=(\d+) http://sourceware.org/bugzilla/show_bug.cgi?id=${gnats2bz:$1} [R]

Still I do not remember I would see GNATS URLS, I see only the notation PR #.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]