[Kimchi-devel] [RFC] Use javascript libraries from rpms instead of hardcode it inside the git

Samuel Guimarães sguimaraes943 at gmail.com
Thu Aug 4 16:15:20 UTC 2016


+1

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.

FYI: https://www.quora.com/Why-use-Bower-when-there-is-npm

Samuel

2016-07-28 12:11 GMT-03:00 Ramon Medeiros <ramonn at linux.vnet.ibm.com>:

> Hi,
>
> 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:
>
> Fedora case:
> Fedora has jquery, lodash, moment, typeahead and es5-shim libraries
> available.
>
> Opensuse:
> No library available
>
> Ubuntu:
>
> Ubuntu has bootstrap, jquery, jquery-ui e lodash.
>
>
> As not all libraries are available, i received a suggestion to use a
> parameter at configure.ac, like --with-spice, to choose libs from rpm or
> from the code. So, what is best:
>
> Use single parameter (--use-js-from-rpms)
>
> I will need to check the distro by code and generate the html templates
> with the script tag changed.
>
> Use parameters with distros (--ubuntu-use-js-from-rpms)
> Same as above, but distro will not be checked.
>
> --
>
> Ramon Nunes Medeiros
> Kimchi Developer
> Linux Technology Center Brazil
> IBM Systems & Technology Group
> Phone : +55 19 2132 7878
> ramonn at br.ibm.com
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20160804/5365cb18/attachment.html>


More information about the Kimchi-devel mailing list