public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Renaming categories in Gnats 3.113.1
@ 2003-04-17 12:51 Walt Sullivan
  2003-04-22 14:30 ` Hans-Albert Schneider
  0 siblings, 1 reply; 3+ messages in thread
From: Walt Sullivan @ 2003-04-17 12:51 UTC (permalink / raw)
  To: help-gnats

I'm running Gnats 3.113.1, GnatsWeb 2.9.3 on Linux. I've received a request to change the names of several categories. Is it as simple as I think? I think I can:

1. Stop the queue-pr cron job.

2. Edit the "categories" file, change "oldname" to "newname".

3. Rename the directory from "oldname" to "newname".

4. Restart the queue-pr cron job.

Is it really that simple, or are there gotchas waiting to bite me?

Walt Sullivan
Unix System/Network Administrator

Meriton Networks
3026 Solandt Road, 
Kanata, Ontario K2K 2A5
walt.sullivan@meriton.com
(613) 270-9279 x262
Fax: (613) 270-9628


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Renaming categories in Gnats 3.113.1
@ 2003-04-17 14:34 Dirk Schenkewitz
  0 siblings, 0 replies; 3+ messages in thread
From: Dirk Schenkewitz @ 2003-04-17 14:34 UTC (permalink / raw)
  To: help-gnats

Hello Mr. Sullivan,

Walt Sullivan wrote:
> 
> I'm running Gnats 3.113.1, GnatsWeb 2.9.3 on Linux. I've received
> a request to change the names of several categories. Is it as simple
> as I think? I think I can:
> 
> 1. Stop the queue-pr cron job.
> 
> 2. Edit the "categories" file, change "oldname" to "newname".
> 
> 3. Rename the directory from "oldname" to "newname".
> 
> 4. Restart the queue-pr cron job.

This changes the category names only for NEW PRs! Is that enough?
If not:
Please take a look at any existing PR: the category is written there
in clear text. So if you want to change the names of categories for
new AND existing PRs, you need to go through all existing PRs and
change the category names there, too. And then you need to rebuild
the index, I believe. I cannot make any tests right now - If I'm
wrong with anything, please, anybody correct me.

> Is it really that simple, or are there gotchas waiting to bite me?

Even if you think it is enough to change category names only for
new PRs, you likely will get bitten when someone wants to edit
an old PR. But I'm not sure on that.

happy coding
        dirk
-- 
Dirk Schenkewitz 

InterFace AG                 fon: +49 (0)89 / 610 49 - 126
Leipziger Str. 16            fax: +49 (0)89 / 610 49 - 83
D-82008 Unterhaching         
http://www.interface-ag.de   mailto:dirk.schenkewitz@interface-ag.de


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-22 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 12:51 Renaming categories in Gnats 3.113.1 Walt Sullivan
2003-04-22 14:30 ` Hans-Albert Schneider
2003-04-17 14:34 Dirk Schenkewitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).