<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-07-12 10:37 GMT+02:00 Ankur Sinha <span dir="ltr">&lt;<a href="mailto:sanjay.ankur@gmail.com" target="_blank">sanjay.ankur@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Sun, 2015-07-12 at 00:01 +0100, Sérgio Basto wrote:<br>
&gt; On Seg, 2015-06-08 at 00:14 +0200, Nicolas Chauvet wrote:<br>
&gt; &gt; I still need to discover how to properly mirror the git modules to<br>
&gt; &gt; github, but that&#39;s a low priority WRT having the <a href="http://pkgs.rpmfusion.org" rel="noreferrer" target="_blank">pkgs.rpmfusion.org</a><br>
&gt; up<br>
&gt; &gt; and running.<br>
<br>
<br>
</span>I found this:<br>
<br>
<a href="https://help.github.com/articles/about-github-mirrors/" rel="noreferrer" target="_blank">https://help.github.com/articles/about-github-mirrors/</a><br>
<br>
which says one needs a post receive hook that automatically pushes<br>
commits to a mirror repository on github. I can ask the fedora infra<br>
folks for details if required? I think they even have fedmsg setup on<br>
the fedora-infra-application github repos - I remember seeing messages.<span><font color="#888888"><br></font></span></blockquote><div>Pushing the content into github as a post-receive is only one aspect of the setup.<br></div><div>There is a need to hook the github module creation and setup (module description, disable wiki and emails notification) from the &quot;fedora&quot; git module creation script.<br><br>This script is located here from the fedora- infrastructure ansible git ( <a href="https://infrastructure.fedoraproject.org/infra/ansible.git">https://infrastructure.fedoraproject.org/infra/ansible.git</a>)<br>ansible/roles/distgit/files/setup_git_package<br></div><div>I&#39;ve already made a dedicated git module for each ansible role, so once you figured-out what to modify; I can give you access to the module that I&#39;ve already modified to setup the distgit packages.<br><br>There is indeed a github2fedmsg ansible role, probably used to retrieve notifications from github..<br></div><div><br><br></div></div>Thx<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div><div dir="ltr"><div>-<br><br></div>Nicolas (kwizart)<br></div></div>
</div></div>