You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by Dave <sn...@gmail.com> on 2014/01/16 19:29:39 UTC

Please pardon the commit spam; GitHub -> Apache sync is in place

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

Re: Please pardon the commit spam; GitHub -> Apache sync is in place

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Thanks for this Dave. Great to see this is moving on.
Regarding  sunc'ing with commits@ I am not quite sure about this... sorry.
Lewis


On Thu, Jan 16, 2014 at 6:29 PM, Dave <sn...@gmail.com> 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
>



-- 
*Lewis*

Re: Please pardon the commit spam; GitHub -> Apache sync is in place

Posted by Jake Farrell <jf...@apache.org>.
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 <sn...@gmail.com> 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
>

Re: Please pardon the commit spam; GitHub -> Apache sync is in place

Posted by Tim Anglade <ti...@apache.org>.
Can't we just create a github account with the email address of our commit
list and have it watch the repo?

On Thursday, January 16, 2014, Dave <sn...@gmail.com> 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
>

Re: Please pardon the commit spam; GitHub -> Apache sync is in place

Posted by Tim Anglade <ti...@gmail.com>.
Can't we just create a github account with the email address of our commit
list and have it watch the repo?

On Thursday, January 16, 2014, Dave <sn...@gmail.com> 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
>