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.

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/4e737144fd4cf7c18a6b42dada28f3745536de8d
  Author: Stefan Schubert <[email protected]>
  Date:   2011-06-16 (Thu, 16 Jun 2011)

  Changed paths:
    M plugins/software/app/models/patch.rb
  M plugins/software/package/webyast-software-ws.changes

  Log Message:
  -----------
  accepting more than one EULA in a patch (bnc#698416)


  Commit: 90ef75342066aa698dfb1801f3d4438ad9ecb7a8

https://github.com/webyast/rest-service/commit/90ef75342066aa698dfb1801f3d4438ad9ecb7a8
  Author: Ladislav Slezak <[email protected]>
  Date:   2011-07-12 (Tue, 12 Jul 2011)

  Changed paths:
    M README

  Log Message:
  -----------
  README - update WebYaST home page URL


  Commit: 3ea100aaa138f9093f82df7fc8ed2688585abbb3

https://github.com/webyast/rest-service/commit/3ea100aaa138f9093f82df7fc8ed2688585abbb3
  Author: Ladislav Slezák <[email protected]>
  Date:   2011-07-12 (Tue, 12 Jul 2011)

  Changed paths:
    M README

  Log Message:
  -----------
  Merge pull request #1 from lslezak/master

Updated opensuse wiki URL


Compare: https://github.com/webyast/rest-service/compare/8145eb1...3ea100a
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to