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

Ramon Medeiros ramonn at linux.vnet.ibm.com
Thu Jul 28 15:11:10 UTC 2016


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




More information about the Kimchi-devel mailing list