<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 Fri, Jan 6, 2017 at 6:45 PM, Vojtech Szocs <span dir="ltr">&lt;<a href="mailto:vszocs@redhat.com" target="_blank">vszocs@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">Hello,<br>
<br>
we&#39;d like to upgrade the version of PatternFly (plus associated libraries,<br>
namely Bootstrap and jQuery) used in oVirt UI.<br>
<br>
Today, PatternFly stuff (PF + associated libraries) comes from `patternfly1`<br>
package hosted at Copr repo:<br>
<br>
  <a href="https://copr.fedorainfracloud.org/coprs/patternfly/patternfly1/" rel="noreferrer" target="_blank">https://copr.fedorainfracloud.<wbr>org/coprs/patternfly/<wbr>patternfly1/</a><br>
<br>
Today, we require `patternfly1` as both Engine RPM build dependency and the<br>
Engine devel. env. dependency.<br>
<br>
To keep things simple, I&#39;d like to propose the following approach:<br>
<br>
- create oVirt specific package, e.g. `ovirt-patternfly`, hosted at Copr,<br>
  containing PatternFly + associated libraries (Bootstrap, jQuery) which<br>
  are intended *specifically* for use by oVirt UI (hence the ovirt prefix)<br>
<br>
- discontinue maintenance of `patternfly1` package at Copr<br>
<br>
- keep the existing approach: require `ovirt-patternfly` as both the Engine<br>
  build dependency and the Engine devel. env. dependency<br></blockquote><div><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​+1 from me.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">The only issue is that we combine several javascript libraries in a package named ovirt-patternfly. Is there a high probabily that we will need some other javascript libraries in near future? If so, then I&#39;d rather call the package ovirt-javascript-dependencies (or ovirt-js-dependencies).<br>​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
An alternative approach would be to introduce Node.js as Engine devel. env.<br>
dependency (use `npm install` to pull PF stuff), while using the existing<br>
ovirt-engine-{nodejs,nodejs-<wbr>modules} packages for Engine RPM build.<br>
<br>
However, this alternative has some downsides, namely complication of devel.<br>
env. just to fetch the PF stuff. I don&#39;t like the idea of complicating the<br>
existing devel. env. just for the sake of fetching some 3rd party libs.<br>
<br>
I&#39;m wondering what others think about this.<br>
<br>
Regards,<br>
Vojtech<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>