<div dir="ltr">This is great info!<div>It's very similar to the part of the rationale for using <a href="https://lernajs.io/">lerna</a> in RainCatcher, though the main points are the versioning of published npm packages and the symlinking for local development.</div><div><br></div><div>I was wondering if there is a way to filter repositories form `mr run`, considering for example you could have registered other, non-apb repos under mr.</div><div>It seems this is possible through a skip param that receives a bash command and passes the repository's name via $1.</div><div><br></div><div>Looking at more of the documentation of both myrepos and <a href="https://source.android.com/setup/using-repo">repo</a> it seems they support the notion of sharing the configuration file, so it might be worth looking into having i.e. a small repository/gist with an .mrconfig for the set of apb repos</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 8:10 AM, David Martin <span dir="ltr"><<a href="mailto:davmarti@redhat.com" target="_blank">davmarti@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>For future handiness,</div><div><br></div><div>If you've already run 'mr register' in each of the cloned apb repos (e.g <a href="https://github.com/feedhenry/unifiedpush-apb" target="_blank">https://github.com/feedhenry/<wbr>unifiedpush-apb</a>), here's some commands to update the same file in each repo, and create a PR.<br></div><div>In this case, it was updating the apb tools image name.</div><div><br></div><div><br></div><div># Checkout master, update it, then checkout a new branch</div><div>mr run git checkout master<br></div><div>mr run git pull origin master</div><div>mr run git checkout -b update-apb-tools-image<br></div><div><br></div><div># Replace the image name in the Makefile<br></div><div>mr run sed -i 's/ansibleplaybookbundle\/apb/<wbr>ansibleplaybookbundle\/apb-<wbr>tools/' Makefile<br clear="all"><div><br></div><div># Add, Commit and push</div><div>mr run git add Makefile<br></div><div>mr run git commit -m "Update the apb image to use apb-tools"<br></div><div>mr run git push origin update-apb-tools-image<br></div><div><br></div><div># Create the pull requests</div><div><div>mr run hub pull-request -b feedhenry:master -m "Update the apb image to use apb-tools"</div><div>.....</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>[1] <a href="https://myrepos.branchable.com/" target="_blank">https://myrepos.<wbr>branchable.com/</a></div><div>[2[ <a href="https://github.com/github/hub" target="_blank">https://github.com/github/<wbr>hub</a></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_3629101476290998708gmail_signature"><div dir="ltr"><div><div dir="ltr">David Martin<div>Red Hat Mobile</div><div>Twitter: <span style="font-size:12.8px">@irldavem</span></div><div><span style="font-size:12.8px">IRC: @irldavem (feedhenry, mobile-internal)</span></div></div></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
feedhenry-dev mailing list<br>
<a href="mailto:feedhenry-dev@redhat.com">feedhenry-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/feedhenry-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/feedhenry-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAOLO</span> <span>HAJI</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER, RED HAT MOBILE APPLICATION PLATFORM</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>Brasil</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:phaji@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">phaji@redhat.com</a>   </span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr></tr></tbody></table></div></div></div></div></div></div>
</div>