public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* send-pr broken
@ 2001-03-12 13:06 Wes Barris
  2001-03-12 13:45 ` Yngve Svendsen
  2001-04-08 11:28 ` Milan Zamazal
  0 siblings, 2 replies; 3+ messages in thread
From: Wes Barris @ 2001-03-12 13:06 UTC (permalink / raw)
  To: gnats-devel

The cvs version of gnats: send-pr is broken.  After building, installing,
and configuring gnats, send-pr produces this error:

root@kirby# send-pr
It seems that send-pr is not installed with your organization set to a useful
value.  To fix this, you need to edit the  configuration
file and fill in the organization with the correct value.

It seems that send-pr is not installed with your unique submitter-id.
You need to run

          install-sid YOUR-SID

where YOUR-SID is the identification code you received with `send-pr'.
`send-pr' will automatically insert this value into the template field
`>Submitter-Id'.  If you've downloaded `send-pr' from the Net, use `net'
for this value.  If you do not know your id, run `send-pr --request-id' to 
get one from your support site.
root@kirby#

I snooped through the send-pr code and found this snippet:

# Configuration file to be read.  It must be a shell script that can redefine
# the variables above to fit a local configuration.
CONFIGFILE=/usr/local/etc/gnats/send-pr.conf

if [ -r $CONFIGFILE ]; then
  . $CONFIGFILE
fi


It looks like send-pr is looking for a file named "send-pr.conf".  This
is not included in the gnats distribution.  I don't see any documentation
on it anywhere.
-- 
-----------------------------------------------------------------------
Wes Barris                                            wes@networkcs.com
Network Computing Services, Inc.                           612.337.3423
-----------------------------------------------------------------------
Today's fortune: I think animal testing is a terrible idea; they get
all nervous and give the wrong answers.

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

* Re: send-pr broken
  2001-03-12 13:06 send-pr broken Wes Barris
@ 2001-03-12 13:45 ` Yngve Svendsen
  2001-04-08 11:28 ` Milan Zamazal
  1 sibling, 0 replies; 3+ messages in thread
From: Yngve Svendsen @ 2001-03-12 13:45 UTC (permalink / raw)
  To: Wes Barris, gnats-devel

>I snooped through the send-pr code and found this snippet:
>
># Configuration file to be read.  It must be a shell script that can redefine
># the variables above to fit a local configuration.
>CONFIGFILE=/usr/local/etc/gnats/send-pr.conf
>
>if [ -r $CONFIGFILE ]; then
>   . $CONFIGFILE
>fi
>
>
>It looks like send-pr is looking for a file named "send-pr.conf".  This
>is not included in the gnats distribution.  I don't see any documentation
>on it anywhere.

I went through the process of installing Gnats 4 from CVS in order to check 
the docs, and you have found exactly the same as I - the documentation is 
far from up-to-date. Besides, a standard send-pr.conf file should 
definitely be created. I have created a GNATS report about this on 
sources.redhat.com, so this has been recorded. Development on version 4 is 
proceding, but slowly (hint hint), so fixing these things may take some time.

I ended up using somthing like the following. It's been a couple of weeks 
since I did the install, but I think this is exactly the same as we had in 
our v3 config:

GNATS_ADDR="xxxxxxx@clustra.com"
GNATS_ADMIN="xxxxxxxxx@clustra.com"
GNATS_SITE="xxxxxxxxxx"
SUBMITTER="xxxxxxxxxx"
DEFAULT_ORGANIZATION="xxxxxxxxxxxxxxxxx"
DEFAULT_RELEASE="<prompt>"
NOTIFY=0
ACKNOWLEDGE=0
DEFAULT_SUBMITTER="xxxxxxxxxxx"
KEEP_RECEIVED_HEADERS=1
BDAY_START=8
BDAY_END=16
BWEEK_START=1
BWEEK_END=5
DEBUG_MODE=0

If only I could find the time, I'd clean up my installation notes and make 
some preliminary docs available. Maybe later this week.

Yngve Svendsen
IS Engineer
Clustra AS, Trondheim, Norway

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

* Re: send-pr broken
  2001-03-12 13:06 send-pr broken Wes Barris
  2001-03-12 13:45 ` Yngve Svendsen
@ 2001-04-08 11:28 ` Milan Zamazal
  1 sibling, 0 replies; 3+ messages in thread
From: Milan Zamazal @ 2001-04-08 11:28 UTC (permalink / raw)
  To: Wes Barris; +Cc: gnats-devel

>>>>> "WB" == Wes Barris <wesb@networkcs.com> writes:

    WB> root@kirby# send-pr It seems that send-pr is not installed with
    WB> your organization set to a useful value.  To fix this, you need
    WB> to edit the  configuration file and fill in the organization
                  ^^^^

The name of the file should be there, but wasn't because of a typo in
the text (fixed now).  The file is basically a shell script sourced in
by send-pr.  There are also other means to set the parameters,
e.g. through shell variables, but I think that is undocumented as well.
Yes, the documentation will be fixed.

Milan Zamazal

-- 
  _/_\_/_  o     _\_/_\_  o     _/_\_/_  o     _\_/_\_  o    BEWARE!
-<_|_|_|_><--  -<_|_|_|_><--  -<_|_|_|_><--  -<_|_|_|_><--   *Bugs* are
   / \ /   o      \ / \   o      / \ /   o      \ / \   o     approaching!

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

end of thread, other threads:[~2001-04-08 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 13:06 send-pr broken Wes Barris
2001-03-12 13:45 ` Yngve Svendsen
2001-04-08 11:28 ` 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).