On Wednesday, July 13, 2011 11:23:10 AM Ladislav Slezak wrote: > Dne 13.7.2011 10:54, Jiri Suchomel napsal(a): > [...] > > > 2. Think about the commit emails. I consider the mails being sent to > > [email protected] as ideal. With webyast in git, we do not have > > equally good solution (there's RSS or web). It is possible to hook > > "Email" service hook, but does anyone know how the mail look like? > > GitHub has several hooks, one of them is email target. > Unfortunately it does not send the full diff in the commit notification, > see the example at the end of this mail.
DISCLAIMER: url below is SUSE-internal, sorry For our internal git server I created a custom email hook that we are using for several projects that switched from svn to git and wanted to have full diffs in the commit mails: http://git.suse.de/git-suse-de/commit-mail After a cleanup I think we could use it for our public repos as well. Example from SMT repo: ===== snip ============================================================ The branch_SMT11 branch has been updated via 1b089ec78daac9eea28dfe977afbd43bd144a3ae (commit) from a971c1b0f775da2934eb869c51c09f9357401397 (commit) -- Git log ------------------------------------------------------------ commit 1b089ec78daac9eea28dfe977afbd43bd144a3ae Author: Foo Bar <[email protected]> Date: Tue Jun 11 11:22:33 2011 +0200 fix bug #123456 -- Summary ------------------------------------------------------------ package/foopkg.changes | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) -- Git diff ----------------------------------------------------------- diff --git a/package/foopkg.changes b/package/foopkg.changes index aa4521f..cb1ab02 100644 --- a/package/foopkg.changes +++ b/package/foopkg.changes @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jun 11 11:10:10 CEST 2011 - [email protected] + +- fix ABC +- fix DEF +- improve GHI + +------------------------------------------------------------------- Mon Feb 10 11:22:33 UTC 2011 - [email protected] - fixed nothing ======================================================================= Ciao, Daniel -- J. Daniel Schmidt <[email protected]> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
