<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 2:29 PM, Alan Pevec <span dir="ltr"><<a href="mailto:apevec@redhat.com" target="_blank">apevec@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> git clone <a href="https://git.openstack.org/openstack/tripleo-heat-templates" rel="noreferrer" target="_blank">https://git.openstack.org/openstack/tripleo-heat-templates</a><br>
> cd tripleo-heat-templates/<br>
> git checkout -b stable/mitaka origin/stable/mitaka<br>
<br>
</span>^ this is manually switching to the stable source branch<br>
<span class=""><br>
> sed -i -e "s%distro=.*%distro=rpm-mitaka%" projects.ini<br>
> sed -i -e "s%source=.*%source=stable/mitaka%" projects.ini<br>
<br>
</span>^ this configures dlrn to the correct combination of distro and source<br>
branches, but ...<br>
<span class=""><br>
> ./venv/bin/dlrn --config-file projects.ini --head-only --package-name<br>
> openstack-tripleo-heat-templates --local<br>
<br>
</span>^ ... --local here keeps local checkout untouched, so you end up with<br>
default rpm-master in distro git checkout.<br>
If you remove --local it will reset local checkouts to the branches<br>
specified in projects.ini<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>Alan,<br></div><div>I don't want to reset local checkouts and reset branches - I need to build with these checkout, it's all CI is for. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Alan<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best regards<br></div>Sagi Shnaidman<br></div></div>
</div></div>