From: Hans-Albert Schneider <Hans-Albert.Schneider@mchp.siemens.de>
To: gnats-devel@sources.redhat.com
Subject: Re: Renaming a category?
Date: Fri, 27 Apr 2001 05:13:00 -0000 [thread overview]
Message-ID: <15081.25213.691672.838325@mail-g.mchp.siemens.de> (raw)
In-Reply-To: <15076.11639.109588.446279@mail-g.mchp.siemens.de>
It's time for a summary:
>>>>> "HAS" == Hans-Albert Schneider <Hans-Albert.Schneider@mchp.siemens.de> writes:
HAS> What is the preferred way to rename a category? For
HAS> GNATS 3.113, I am currently aware of the following
HAS> procedure (assume renaming from "A" to "B"):
HAS> 1) Create a new category "B".
HAS> 2) Edit each report in "A", changing the category to "B".
HAS> 3) Remove category "A".
HAS> 4) Run gen-index.
[...]
HAS> Is there an easier way? Maybe with version 4?
Summary:
There is currently no other way, neither in version 3.x
nor in version 4.
HAS> In step 2), do I need to invoke edit-pr and manually
HAS> edit all reports, or can I just run something like
[simple minded for-loop with sed removed]
Summary:
To take care of locking, edit-pr or pr-edit --lock should
be used. Otherwise, automating is OK.
I already had the idea to use edit-pr with the EDITOR variable
set to something like the sed command. I meanwhile have written
a shell script to do this. (This also was an exercise for me to
write a script that tries to be a bit security conscious, so its
purpose was not just to re-invent the wheel.)
Tools:
There is a PERL script by Sherry Wasserman.
There is also my script now. :-)
Thanks for replying to:
Yngve Svendsen
Sherry Wasserman
Rick Macdonald
Hans-Albert
--
Hans-Albert Schneider <Hans-Albert.Schneider@mchp.siemens.de>
Siemens AG phone: (+49) 89 636 45445
Corporate Technology fax: (+49) 89 636 42284
Munich, Germany
-- To get my public PGP key, send me a mail with subject "send key" --
next prev parent reply other threads:[~2001-04-27 5:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-23 6:26 Hans-Albert Schneider
2001-04-23 6:36 ` Yngve Svendsen
2001-04-27 5:13 ` Hans-Albert Schneider [this message]
2001-04-23 8:39 Wasserman, Sherry
2001-04-23 11:26 ` Rick Macdonald
2001-04-23 12:11 ` Yngve Svendsen
2001-05-20 13:33 ` Milan Zamazal
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=15081.25213.691672.838325@mail-g.mchp.siemens.de \
--to=hans-albert.schneider@mchp.siemens.de \
--cc=gnats-devel@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).