Actions
Bug #5528
closedAssets should be precompiled in ruby-foreman-setup
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
foreman_setup ships assets (well, one small piece of javascript) so this requires compilation for use in production mode. The RPM currently does this at build time (foreman is a BuildRequires), but the Debian package should try doing this too - even though it's not exactly shipping the plugin itself.
The foreman_setup RPM ships the following files:
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/foreman_setup /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/foreman_setup/provisioner-136a7e29cf64723a3ed46faa12c90324.js /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/foreman_setup/provisioner-136a7e29cf64723a3ed46faa12c90324.js.gz /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/foreman_setup/provisioner.js /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/foreman_setup/provisioner.js.gz /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/setup /opt/rh/ruby193/root/usr/share/gems/gems/foreman_setup-2.0.3/public/assets/setup/manifest.yml
Updated by Dominic Cleal almost 10 years ago
- Status changed from New to Rejected
The JS is now inlined, so this problem doesn't occur, but it'd be useful to know how to do it in Debian packages.
Actions