help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing Database Name to Notification E-mail


From: Craig Senior
Subject: Passing Database Name to Notification E-mail
Date: Mon, 18 Dec 2006 15:07:28 -0500

In the file dbconfig-recipes.html (http://www.gnu.org/software/gnats/doc/4_0_beta_snapshot/dbconfig-recipes.html), in the section on Providing a Gnatsweb URL in an e-mail response, it called to type-in the database name into the dbconfig file. This would necessitate editing this section of dbconfig for every database..
 
I wondered if there was a way to capture and pass the value of the database within which the PR was created to the notification e-mail?
 
The result would be something like this in dbconfig:
 
\nYou can VIEW your PR at the following URL\n\
http://www.example.com/cgi-bin/gnatsweb.pl?cmd=view&database=%s&user=userid&password=pwd123&pr=%s\n\n\
 
fields { "Category" "Database" "Number" "Responsible[fullname]"
          "Category" "Responsible" "Synopsis" "Arrival-Date" }
 
We are using Gnatsweb v4.00.
 
Thanks!

Craig Senior, CMIIC
AIMS Configuration Manager
Public Works and Government Services Canada
Place du Portage, Ph III, 2A1, Stn 26L
W (819) 956-3295
F (819) 956-6476
address@hidden

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]