r184 - in trunk: . doc

Laurent Fousse lfousse at costa.debian.org
Wed Mar 2 22:06:53 CET 2005


Author: lfousse
Date: 2005-03-02 22:06:53 +0100 (Wed, 02 Mar 2005)
New Revision: 184

Modified:
   trunk/ca-recv
   trunk/cabotrc
   trunk/doc/ca-config.pod
Log:
Close Debian#289415 "Add option to disable the new key in tosign notice".


Modified: trunk/ca-recv
===================================================================
--- trunk/ca-recv	2005-03-02 20:59:41 UTC (rev 183)
+++ trunk/ca-recv	2005-03-02 21:06:53 UTC (rev 184)
@@ -138,7 +138,7 @@
 		close(UPLOAD);
 	};
 
-	send_mail("CABOT: new key in tosign", "Keyid: $keyid\nUid: $uid\n\nOriginal message:\n\n at in\n");
+	send_mail("CABOT: new key in tosign", "Keyid: $keyid\nUid: $uid\n\nOriginal message:\n\n at in\n") unless ($CONFIG{'want_recv_notice'} eq "no");
 
 }
 

Modified: trunk/cabotrc
===================================================================
--- trunk/cabotrc	2005-03-02 20:59:41 UTC (rev 183)
+++ trunk/cabotrc	2005-03-02 21:06:53 UTC (rev 184)
@@ -41,6 +41,9 @@
 #    'keyring.debian.org',
 ];
 
+$CONFIG{'want_recv_notice'} = "yes"; # set to "no" if you don't want the
+				     # "New key in tosign" mail messages.
+
 # you very likely wont have to change anything below here #########################
 
 $CONFIG{'sendoutdir'}  = $CONFIG{'cabothome'} . '/sendout';

Modified: trunk/doc/ca-config.pod
===================================================================
--- trunk/doc/ca-config.pod	2005-03-02 20:59:41 UTC (rev 183)
+++ trunk/doc/ca-config.pod	2005-03-02 21:06:53 UTC (rev 184)
@@ -105,6 +105,11 @@
 actual signing phase of the process. It lets you use C<gpg> wrapper
 like C<q-agent> and C<agpg> which saves passphrase typing.
 
+=item want_recv_notice
+
+Set to C<no> if you don't want to get email notices when you have a new key
+to sign.
+
 =back
 
 =head1 EXAMPLE



More information about the Cabot-commit mailing list