RE: setting the default database in gnats 3.999.2

"Erwin, Richard D" <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <6E6ACC930A9BAB47AB0BBD1ACC0F8B38016A9D45@xch-nw-02.nw.nos.boeing.com>
Brandon;

Thanks for your advice.  One should also note that gnatsdb is created as part of the mkdb process.  (This isn't very clearly stated in the "Installing the default database) documentation.)  As a result, the directory com, wherever you put it (I have it at /usr/local/com) should be writeable by gnats, since mkdb is supposed to be used to create database(s) while in ~/com.

I'm getting another error, however---


dezolt% ./mkdb default
Copying default files from /usr/local/etc/gnats/defaults
cp: cannot access /usr/local/etc/gnats/defaults/categories
Can't copy file /usr/local/etc/gnats/defaults/categories to /usr/local/com/gnatsdb/gnats-adm/categories, exiting
dezolt% 

I am going to assume, forthe moment, that can grab a copy of and adjust my categories file from my build of gnats 3.113 and adjust to suit.  In the meantime, any suggestions on how to fix the abovementioned error would be appreciated.

Rich Erwin
Boeing SSG - M&CT Support
(425) 865-3414


-----Original Message-----
From: Brandon Metcalf [mailto:[email protected]]
Sent: Saturday, June 14, 2003 11:37 AM
To: Erwin, Richard D
Cc: [email protected]
Subject: Re: setting the default database in gnats 3.999.2


r == [email protected] writes:

 r> dezolt% /mnt6/gnats-3.999.2/gnats/mkdb default
 r> mkdb: No proper entry for `default' in `/usr/local/etc/gnats/databases':

You should have a line like

  default:Bug database:/usr/local/com/gnatsdb

in /usr/local/etc/gnats/databases.


Brandon
-- 
And let me tell you this. The older you do get, the more rules they're
going to try to get you to follow. You just gotta keep livin' man.
L.I.V.I.N.  --Wooderson
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.