* Re: Help on configuring & using send-pr
[not found] <903E17B6FF22A24C96B4E28C2C0214D7083895@sr-bng-exc01.int.tsbu.NET>
@ 2003-06-27 13:57 ` Mike Hoolehan
0 siblings, 0 replies; 3+ messages in thread
From: Mike Hoolehan @ 2003-06-27 13:57 UTC (permalink / raw)
To: Nayar, Priya G; +Cc: help-gnats
Priya,
Sorry, you can add the line
ORGANIZATION=whatever
to the send-pr.conf file, just like the SUBMITTER I mentioned below. Also,
you can take a look in the actual send-pr script (line 41 of 4.0 beta 2)
which shows the default organization being set. Later below in that same
file, it shows the organization being possibly set by other means.
Mike
On (27/06/03 18:39), Nayar, Priya G wrote:
Nayar,> Hello Mike,
Nayar,>
Nayar,> Thnx for the info. I have tried what you sugegsted, but it hasn't helped. I
Nayar,> do infact have a submitters file and all the other files required such as
Nayar,> responsible, categories etc, I have multiple databases for multiple
Nayar,> projects. Everything works fine when I use Gnatsweb. But i now want to use
Nayar,> the send-pr from command line and it doesn't work.
Nayar,>
Nayar,> After creating the send-pr.conf file & entering the value it stuill gives
Nayar,> the same mesg.
Nayar,>
Nayar,> Could you help me on this.
Nayar,>
Nayar,> Thnx again.
Nayar,>
Nayar,> priya
Nayar,>
Nayar,>
Nayar,> -----Original Message-----
Nayar,> From: Mike Hoolehan [mailto:mike@sycamore.us]
Nayar,> Sent: Friday, June 27, 2003 4:21 PM
Nayar,> To: help-gnats@gnu.org
Nayar,> Subject: Re: Help on configuring & using send-pr
Nayar,>
Nayar,>
Nayar,> Priya,
Nayar,>
Nayar,> You can make the file it mentions
Nayar,> (/home/gnats/gnats-install/etc/gnats/send-pr.conf)
Nayar,> and place in it the single line
Nayar,>
Nayar,> SUBMITTER=submitterID
Nayar,>
Nayar,> where 'submitterID' is the submitter ID you want all PRs submitted from that
Nayar,> machine to come from. You can add submitter IDs in the 'submitters' file in
Nayar,> the gnats-adm directory of your gnats database.
Nayar,>
Nayar,> Mike
Nayar,>
Nayar,>
Nayar,> On (27/06/03 15:19), Nayar, Priya G wrote:
Nayar,> Nayar,> hello,
Nayar,> Nayar,>
Nayar,> Nayar,> I have been trying to use send-pr tool from GNU GNATS for filing
Nayar,> as PR.
Nayar,> Nayar,> But am not able to use the send-pr tool.
Nayar,> Nayar,>
Nayar,> Nayar,> I get the following message on my machine.
Nayar,> Nayar,>
Nayar,> Nayar,> [gnats@idc_linux_bld01 gnats]$ send-pr --database=TyneDB
Nayar,> Nayar,> It seems that send-pr is not installed with your organization set to
Nayar,> a
Nayar,> Nayar,> useful
Nayar,> Nayar,> value. To fix this, you need to edit the configuration file
Nayar,> Nayar,> /home/gnats/gnats-install/etc/gnats/send-pr.conf
Nayar,> Nayar,> and fill in the organization with the correct value.
Nayar,> Nayar,>
Nayar,> Nayar,> Usage: send-pr [OPTION]...
Nayar,> Nayar,>
Nayar,> Nayar,> -b --batch run without printing most messages
Nayar,> Nayar,> -c --cc=LINE put LINE to the CC header
Nayar,> Nayar,> -d --database=DATABASE submit PR to DATABASE
Nayar,> Nayar,> -f --file=FILE read the PR template from FILE (`-' for
Nayar,> stdin)
Nayar,> Nayar,> -p --print just print the template and exit
Nayar,> Nayar,> --request-id send a request for a user id
Nayar,> Nayar,> -s --severity=SEVERITY PR severity
Nayar,> Nayar,>
Nayar,> Nayar,> -h --help display this help and exit
Nayar,> Nayar,> -V --version output version information and exit
Nayar,> Nayar,>
Nayar,> Nayar,> [gnats@idc_linux_bld01 gnats]$
Nayar,> Nayar,>
Nayar,> Nayar,>
Nayar,> Nayar,> But i don't find any file called send-pr.conf at the path specified
Nayar,> in the
Nayar,> Nayar,> message highlighted here in bold. Does anyone know how to configure
Nayar,> & use
Nayar,> Nayar,> send-pr froom the shell or otherwise?? Editor is VI
Nayar,> Nayar,> Any help on this will be appreciated.
Nayar,> Nayar,>
Nayar,> Nayar,> priya
Nayar,> Nayar,>
Nayar,> Nayar,>
Nayar,> Nayar,>
Nayar,> Nayar,>
Nayar,> Nayar,> _______________________________________________
Nayar,> Nayar,> Help-gnats mailing list
Nayar,> Nayar,> Help-gnats@gnu.org
Nayar,> Nayar,> http://mail.gnu.org/mailman/listinfo/help-gnats
Nayar,>
Nayar,> --
Nayar,> Mike Hoolehan
Nayar,> Sycamore Associates, Inc.
Nayar,> mike@sycamore.us
Nayar,> 301.387.3355
Nayar,> Public Key: http://www.hoolehan.com/public_key.asc
Nayar,>
Nayar,> (( For information on incorporating strong encryption into your email ))
Nayar,> (( visit http://www.gnupg.org/(en)/documentation/faqs.html, or ask me ))
Nayar,>
Nayar,>
Nayar,>
Nayar,> _______________________________________________
Nayar,> Help-gnats mailing list
Nayar,> Help-gnats@gnu.org
Nayar,> http://mail.gnu.org/mailman/listinfo/help-gnats
--
Mike Hoolehan
Sycamore Associates, Inc.
mike@sycamore.us
301.387.3355
Public Key: http://www.hoolehan.com/public_key.asc
(( For information on incorporating strong encryption into your email ))
(( visit http://www.gnupg.org/(en)/documentation/faqs.html, or ask me ))
_______________________________________________
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