[sysadmin-bin: 19/168] Include Keywords header in mail sent out to allow svn-commits-list topics



commit d9c6f717516116a0ed8a5dd0aa47ccf635826db7
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Feb 10 17:15:49 2009 -0500

    Include Keywords header in mail sent out to allow svn-commits-list topics
    
    The way that the 'topics' feature works for svn-commits-list is looking
    for:
    
      Keywords: <MODULENAME>
    
    So, add that header to the outgoing mails.

 post-receive-email |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/post-receive-email b/post-receive-email
index cfe0511..4a806b4 100755
--- a/post-receive-email
+++ b/post-receive-email
@@ -184,10 +184,12 @@ generate_email_header()
 {
 	# --- Email (all stdout will be the email)
 	# Generate header
+	# Keywords: header is set to allow use of the Mailman 'topics' feature for svn-commits-list
 	cat <<-EOF
 	To: $recipients
 	From: $USER src gnome org
 	Subject: ${emailprefix}$projectshort $refname_type $short_refname, ${change_type}d. $describe
+	Keywords: $projectshort
 	X-Git-Refname: $refname
 	X-Git-Reftype: $refname_type
 	X-Git-Oldrev: $oldrev



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