Project

General

Profile

Actions

Bug #5528

closed

Assets should be precompiled in ruby-foreman-setup

Added by Dominic Cleal almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

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

Also available in: Atom PDF