public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* 'send-pr --database' is broken in 4.0 beta
@ 2002-05-14 15:28 Mel Hatzis
  2002-05-16  8:00 ` Lars Henriksen
  0 siblings, 1 reply; 3+ messages in thread
From: Mel Hatzis @ 2002-05-14 15:28 UTC (permalink / raw)
  To: help-gnats

The send-pr program has a couple of bugs in it associated with
the '--database' option.

  1. invoking send-pr --database=xx doesn't work (a space is
     required between the '--database' and the 'xx'. Given
     the usage line, this is very misleading.

  2. the '--database' option in send-pr simply sets the GNATSDB
     environment variable to whatever value is specified. This
     is inconsistent with the use of the --database option in
     all the other gnats programs and furthermore, won't work
     at all...it ends up pointing to the 'default' database.

Regarding #2, I've previously mailed a few messages to the
group with the subject 'use of GNATSDB'....I'd really like
to see this working and will gladly submit a patch if
people are interested in my proposed solution - to use
a GNATSID environment variable in addition to GNATSDB.

GNATSID would be set to database names that are defined in
the databases file (e.g. GNATSID=otherdb) and GNATSDB will
continue to work as documented
(e.g GNATSDB=host:port:name:user:passwd)

Since the databases file can define a database as being
remote, the GNATSID variable will make it unecessary to
spell out the host/port...they're already defined in the
databases file.

Anyone have an opinion.

-Mel


_______________________________________________
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:[~2002-05-19 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 15:28 'send-pr --database' is broken in 4.0 beta Mel Hatzis
2002-05-16  8:00 ` Lars Henriksen
2002-05-19 13:40   ` Milan Zamazal

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).