views:

94

answers:

3

We use Git as a revision control system for our code.

I need to setup a mailing list to help code reviews.

Each new commit to a specified subset of Git branches must be sent to the list as the full patch inside the post body.

List must support human replies as well, so all developers would be able to comment on the code.

I guess, I need to set up common mailing list and then set up some fancy post-receive hook in the main Git repository.

I do not want to reinvent the wheel here. Are there any existing tools that would help me?

+1  A: 

Web based review tool can be easier to use than email based review. See this stackoverfloow thread.

grokus
Web-based tool is probably a cool addition, but I feel that we'd need a mailing list in any way. Even if only as a commit notification service.
Alexander Gladysh
+1  A: 

See contrib/hooks/post-receive-email example hook in Git sources (link is to gitweb)

Jakub Narębski
+1  A: 

Gerrit uses email pretty extensively for notifications; see the Android workflow for an example.

Nicholas Riley
Thanks for the suggestion!I'm accepting the other answer, since it answers my direct question. However I'd try to use Gerrit first :-)
Alexander Gladysh