Dne 13.7.2011 10:54, Jiri Suchomel napsal(a): [...]
2. Think about the commit emails. I consider the mails being sent to yast-commit@opensuse.org 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.
But the hooks are open source (see https://github.com/github/github-services),
we could possibly enhance the email hook.
Another solution would be to send the messages to a dedicated email proxy
which would process the incoming messages (add the diff) and then resend to a
mailing-list.
GitHub email example:
------------------------------------------------------------------------
Branch: refs/heads/master
Home: https://github.com/webyast/rest-service
Commit: 4e737144fd4cf7c18a6b42dada28f3745536de8d
https://github.com/webyast/rest-service/commit/4e737144fd4cf7c18a6b42dada28f...
Author: Stefan Schubert