Hey Dave
we have a pr commit hook we activate for projects on github in the Apache
org that sends these email. The hook is specific to github.com/apache/ and
maps back to the correct commits@ list.  This address that sends the commit
notification is white listed as a allowed sender in the mail queues which
is what makes this all possible (also does some batching so 500 emails are
not sent when pushing a ton of commits).

Pull requests are now offered as a branch from github, you could add this
to the mirroring and then a commit email would be generated every time a pr
is issued since a new branch would be created for it (just a thought, not
sure if it would work that easily).

-Jake



On Thu, Jan 16, 2014 at 1:29 PM, Dave <[email protected]> wrote:

> I just setup automatic syncing of our code-review repo at GitHub
> (usergrid/usergrid) to our official (Apache Git repo incubator-usergrid).
> The sync is a simple shell script that runs git clone --mirror and then git
> push --mirror to push to Apache Git. It runs via cron every hour.
>
> This is part of implementing our Contributor Workflow:
>
> https://cwiki.apache.org/confluence/display/usergrid/Contributor+Workflow+Policy
>
> Next, I'd like to figure out how to send comments on Pull Requests back to
> our commit mailing list as well so that those conversations are part of our
> official record.
>
> Feedback and suggestions most welcome.
>
> Thanks,
> - Dave
>

Reply via email to