Description of problem:
There is no `bootstrap.min.css` file in the package. This is a problem because the upstream documentation refers to this file. See https://getbootstrap.com/docs/3.3/getting-started/
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -ql xstatic-bootstrap-scss-common |grep "min\."
There is only `bootstrap.min.js`, no `bootstrap.min.css`
There should be also a `bootstrap.min.css` file
The xstatic packages should not contain minified files — those are generated by the application using them. The bootstrap.min.js is an exception, because the process of compiling it is non-trivial.
Thank you for the reply Radomir.
I would like to note, that there is also no `bootstrap.css` file. Should this one be generated too?
In such case, I think that it would be a good idea to explain this in README.txt and show us the way how to do it. Or if this is a case for most xstatic packages, describing it on https://fedoraproject.org/wiki/Packaging:Web_Assets
I also don't understand why xstatic packages should not contain minified files. Why don't we generate such files during %build phase and provide them?
The python-xstatic packages were included to carry libraries required for OpenStack dashboard. bootstrap.min.js was not required, since openstack dashboard compresses js files at runtime/when required. There is often a disussion around this mine-field. For example, Debian considers minified js as non-free.
which has no clear guideline for or against minification.
Jakub, can you tell us what is the actual problem you are trying to solve here? Maybe we could then suggest a better solution.
Thank you guys,
I am currently not trying to solve any actual problem, I just think that xstatic packages are an awesome thing and helped me to remove hundreds of files of third-party code that were bundled in the project.
The only issue of this packages, in general, is a lack of documentation. Particularly in case of `xstatic-bootstrap-scss-common` I don't even know how to use it.
Can I ask you to update the README.txt and add a few lines about how to use it?