<div dir="ltr">+1<div><br></div><div>There are other tools that could help us with front-end development but since we already use the Makefiles and it would require other major changes in the HTML templates I don't recommend it. I think NPM is a welcome improvement.</div><div><br></div><div>FYI: <a href="https://www.quora.com/Why-use-Bower-when-there-is-npm">https://www.quora.com/Why-use-Bower-when-there-is-npm</a></div><div><br></div><div>Samuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-28 12:11 GMT-03:00 Ramon Medeiros <span dir="ltr"><<a href="mailto:ramonn@linux.vnet.ibm.com" target="_blank">ramonn@linux.vnet.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
i want to use javascript libraries from rpms, but, not all libraries are available in distro repos. So let's discuss how i can do it:<br>
<br>
Fedora case:<br>
Fedora has jquery, lodash, moment, typeahead and es5-shim libraries available.<br>
<br>
Opensuse:<br>
No library available<br>
<br>
Ubuntu:<br>
<br>
Ubuntu has bootstrap, jquery, jquery-ui e lodash.<br>
<br>
<br>
As not all libraries are available, i received a suggestion to use a parameter at <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>, like --with-spice, to choose libs from rpm or from the code. So, what is best:<br>
<br>
Use single parameter (--use-js-from-rpms)<br>
<br>
I will need to check the distro by code and generate the html templates with the script tag changed.<br>
<br>
Use parameters with distros (--ubuntu-use-js-from-rpms)<br>
Same as above, but distro will not be checked.<br>
<br>
-- <br>
<br>
Ramon Nunes Medeiros<br>
Kimchi Developer<br>
Linux Technology Center Brazil<br>
IBM Systems & Technology Group<br>
Phone : <a href="tel:%2B55%2019%202132%207878" value="+551921327878" target="_blank">+55 19 2132 7878</a><br>
<a href="mailto:ramonn@br.ibm.com" target="_blank">ramonn@br.ibm.com</a><br>
<br>
_______________________________________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
</blockquote></div><br></div>