public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: "Mohamed Niyaz, ASDC Chennai" <mohamedn@msdc.hcltech.com>
To: help-gnats@gnu.org
Subject: How to create an index file from defect number file for GNATS 4.0 ?
Date: Wed, 21 Apr 2004 12:42:00 -0000	[thread overview]
Message-ID: <A125AF3F419E97458A237BE2484C3C8B10069F4F@pluto.msdc.hcltech.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]


Hello:

I am trying to write an export/ import utility for gnats. My strategy is
fairly simple. For every defect to be exported, just copy
<gnats-install-directory>/com/<category-name>/<defect-id> to the new target.
The problem is with index file entries. The following is a typical entry in
the index file:

^@Ã^@^A7^@^@^Gpending^@^@^Fniyazm^@^@^Kgnats-admin^@^@^Dopen^@^@^Cyes^@^@^Hc
ritical^@^@^Dhigh^@^@
1082445490^@^@^A0^@^@^A0^@^@^Fsw-bug^@^@^MMohamed Niyaz^@^@^@^@^@\a long
synopsis for the sixth defect.....to find out what the numbers in the index
file mean^@

My question is how can I create this index entry in the target? I could
write a program to copy just that part of the file, but the problem is the
number "1082445490". And, also I am sure that wont be the cleanest way.
Could somebody please give me some suggestions?

Thanks in advance,
Niyaz.

[-- Attachment #1.2: Type: text/html, Size: 1521 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

                 reply	other threads:[~2004-04-21 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=A125AF3F419E97458A237BE2484C3C8B10069F4F@pluto.msdc.hcltech.com \
    --to=mohamedn@msdc.hcltech.com \
    --cc=help-gnats@gnu.org \
    /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).