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 auctex-di...@gnu.org + git config multimailhook.mailinglist emacs-elpa-di...@gnu.org +The result will be this in the git config file. + + [multimailhook] + mailinglist = emacs-elpa-di...@gnu.org + 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/emacs-de...@gnu.org/gr...@gnu.org/ /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