public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Help on configuring & using send-pr
@ 2003-06-27 10:03 Nayar, Priya G
  2003-06-27 12:28 ` Mike Hoolehan
  0 siblings, 1 reply; 3+ messages in thread
From: Nayar, Priya G @ 2003-06-27 10:03 UTC (permalink / raw)
  To: 'help-gnats@gnu.org'

hello,

  I have been trying to use send-pr tool from GNU GNATS for filing as PR.
But am not able to use the send-pr tool.

I get the following message on my machine.

[gnats@idc_linux_bld01 gnats]$ send-pr --database=TyneDB
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
/home/gnats/gnats-install/etc/gnats/send-pr.conf
and fill in the organization with the correct value.

Usage: send-pr [OPTION]...

  -b --batch              run without printing most messages
  -c --cc=LINE            put LINE to the CC header
  -d --database=DATABASE  submit PR to DATABASE
  -f --file=FILE          read the PR template from FILE (`-' for stdin)
  -p --print              just print the template and exit
     --request-id         send a request for a user id
  -s --severity=SEVERITY  PR severity
  
  -h --help               display this help and exit
  -V --version            output version information and exit

[gnats@idc_linux_bld01 gnats]$ 


But i don't find any file called send-pr.conf at the path specified in the
message highlighted here in bold. Does anyone know how to configure & use
send-pr froom the shell or otherwise?? Editor is VI
Any help on this will be appreciated.

priya




_______________________________________________
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

* Re: Help on configuring & using send-pr
  2003-06-27 10:03 Help on configuring & using send-pr Nayar, Priya G
@ 2003-06-27 12:28 ` Mike Hoolehan
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Hoolehan @ 2003-06-27 12:28 UTC (permalink / raw)
  To: help-gnats

Priya,

You can make the file it mentions 
(/home/gnats/gnats-install/etc/gnats/send-pr.conf) 
and place in it the single line

SUBMITTER=submitterID

where 'submitterID' is the submitter ID you want all PRs submitted from that
machine to come from.  You can add submitter IDs in the 'submitters' file in
the gnats-adm directory of your gnats database.

Mike


On (27/06/03 15:19), Nayar, Priya G wrote:
Nayar,> hello,
Nayar,> 
Nayar,>   I have been trying to use send-pr tool from GNU GNATS for filing as PR.
Nayar,> But am not able to use the send-pr tool.
Nayar,> 
Nayar,> I get the following message on my machine.
Nayar,> 
Nayar,> [gnats@idc_linux_bld01 gnats]$ send-pr --database=TyneDB
Nayar,> It seems that send-pr is not installed with your organization set to a
Nayar,> useful
Nayar,> value.  To fix this, you need to edit the configuration file
Nayar,> /home/gnats/gnats-install/etc/gnats/send-pr.conf
Nayar,> and fill in the organization with the correct value.
Nayar,> 
Nayar,> Usage: send-pr [OPTION]...
Nayar,> 
Nayar,>   -b --batch              run without printing most messages
Nayar,>   -c --cc=LINE            put LINE to the CC header
Nayar,>   -d --database=DATABASE  submit PR to DATABASE
Nayar,>   -f --file=FILE          read the PR template from FILE (`-' for stdin)
Nayar,>   -p --print              just print the template and exit
Nayar,>      --request-id         send a request for a user id
Nayar,>   -s --severity=SEVERITY  PR severity
Nayar,>   
Nayar,>   -h --help               display this help and exit
Nayar,>   -V --version            output version information and exit
Nayar,> 
Nayar,> [gnats@idc_linux_bld01 gnats]$ 
Nayar,> 
Nayar,> 
Nayar,> But i don't find any file called send-pr.conf at the path specified in the
Nayar,> message highlighted here in bold. Does anyone know how to configure & use
Nayar,> send-pr froom the shell or otherwise?? Editor is VI
Nayar,> Any help on this will be appreciated.
Nayar,> 
Nayar,> priya
Nayar,> 
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

* 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

end of thread, other threads:[~2003-06-27 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-27 10:03 Help on configuring & using send-pr Nayar, Priya G
2003-06-27 12:28 ` Mike Hoolehan
     [not found] <903E17B6FF22A24C96B4E28C2C0214D7083895@sr-bng-exc01.int.tsbu.NET>
2003-06-27 13:57 ` Mike Hoolehan

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