<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 3:17 PM, Martin Sivak <span dir="ltr">&lt;<a href="mailto:msivak@redhat.com" target="_blank">msivak@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; The thing about specifying the oVirt releases in a test file is that<br>
&gt; this can lead to weird edge cases. Suppose for example we have the<br>
&gt; same text file in two branches, specifying the same oVirt releases?<br>
&gt; I&#39;d like the specification to at least guarantee that an oVirt release<br>
&gt; can take builds from at most one branch.<br>
<br>
Right, this can indeed be an issue. But the only way you can enforce<br>
this without touching repository metadata is to have a separate repo<br>
with the publisher configuration.<br>
<br>
I believe Sandro uses something like that here:<br>
<a href="https://gerrit.ovirt.org/gitweb?p=releng-tools.git;a=summary" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/<wbr>gitweb?p=releng-tools.git;a=<wbr>summary</a></blockquote><div><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​Yes, adding exact package version​</div> <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​into a specific file under releases worked fine so far and I don&#39;t see any issue with that.<br>​<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">And I definitely don&#39;t want to create branches per oVirt version in smaller projects, because we reuse the same version for multiple oVirt major releases. So adding branch per version is a waste of time, when we can compose repository for a version using text file under releases directory.<br><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
You can always chose to trust us to not misconfigure the project like that :)<br>
<br>
Martin<br>
<br>
On Tue, Jan 10, 2017 at 2:51 PM, Barak Korren &lt;<a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a>&gt; wrote:<br>
&gt; On 10 January 2017 at 15:32, Martin Sivak &lt;<a href="mailto:msivak@redhat.com">msivak@redhat.com</a>&gt; wrote:<br>
&gt;&gt; This is on topic. We can (and should) take inspiration in how others<br>
&gt;&gt; are doing it or we will be repeating the mistakes again and again.<br>
&gt;&gt;<br>
&gt;&gt; Travis automation notices pushes to all branches and then uses<br>
&gt;&gt; conditional checks to decide if anything needs to be done. We should<br>
&gt;&gt; do the same and put all that to the automation directory. Including<br>
&gt;&gt; patch testing, building, platforms and publishing.<br>
&gt;<br>
&gt; I still stand behind my assertion that Travis does not do integration.<br>
&gt; I&#39;ll try to clarify what I mean by that. The thing is that Travis<br>
&gt; always looks at a single repo. AFAIK it never tries to look across<br>
&gt; different repositories and compose them together to create a final<br>
&gt; product. You can of-course rig things together so that this sort of<br>
&gt; happens - you make it upload the artifacts somewhere and then trigger<br>
&gt; something else to do the composite test.<br>
&gt;<br>
&gt; The thing about specifying the oVirt releases in a test file is that<br>
&gt; this can lead to weird edge cases. Suppose for example we have the<br>
&gt; same text file in two branches, specifying the same oVirt releases?<br>
&gt; I&#39;d like the specification to at least guarantee that an oVirt release<br>
&gt; can take builds from at most one branch.<br>
&gt;<br>
&gt; --<br>
&gt; Barak Korren<br>
&gt; <a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a><br>
&gt; RHCE, RHCi, RHV-DevOps Team<br>
&gt; <a href="https://ifireball.wordpress.com/" rel="noreferrer" target="_blank">https://ifireball.wordpress.<wbr>com/</a><br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>