[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [77] Update git notification setup for git_multimail inst
From: |
Bob Proulx |
Subject: |
[Savannah-cvs] [77] Update git notification setup for git_multimail instead of previous. |
Date: |
Wed, 05 Mar 2014 07:47:15 +0000 |
Revision: 77
http://svn.sv.gnu.org/viewvc/?view=rev&root=administration&revision=77
Author: rwp
Date: 2014-03-05 07:47:07 +0000 (Wed, 05 Mar 2014)
Log Message:
-----------
Update git notification setup for git_multimail instead of previous.
Modified Paths:
--------------
trunk/sviki/Git.mdwn
Modified: trunk/sviki/Git.mdwn
===================================================================
--- trunk/sviki/Git.mdwn 2014-02-25 23:41:57 UTC (rev 76)
+++ trunk/sviki/Git.mdwn 2014-03-05 07:47:07 UTC (rev 77)
@@ -58,20 +58,32 @@
Set git configurations:
cd /srv/git/auctex.git/
- git config hooks.mailinglist address@hidden
+ git config multimailhook.mailinglist address@hidden
+The result will be this in the git config file.
+
+ [multimailhook]
+ mailinglist = address@hidden
+
Unprotect hooks/ directory:
chattr -i hooks/
- cd hooks/
-Link to post-receive-email script in hooks directory:
+Link git_multimail.py to the local hooks directory:
- ln -s /usr/src/git/contrib/hooks/post-receive-email hooks/post-receive
+ ln -s /usr/src/git-multimail/git-multimail/git_multimail.py hooks/
-Protect hooks/ direcotry again:
+Copy another projects template into the hooks directory and then edit
+it to configure it for the new project. This can be done on the fly
+using sed. This sets the Mail-Followup-To: header address to the
+devel discussion mailing list which is separate from the commit diff
+mailing list. Set it to where follow-up discussion is desired.
- cd ../..
+ sed s/address@hidden/address@hidden/
/srv/git/emacs/elpa.git/hooks/post-receive > hooks/post-receive
+ chmod a+x hooks/post-receive
+
+Protect hooks/ directory again:
+
chattr +i hooks/
If multiple post-receive hooks are desired then special handling is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [77] Update git notification setup for git_multimail instead of previous.,
Bob Proulx <=