Project

General

Profile

Bug #34507

foreman.rpm pulls in nodejs

Added by Ewoud Kohl van Wijngaarden 4 months ago. Updated 4 months ago.


Description

Due to automatic dependencies foreman.rpm ends up pulling in nodejs, at least on EL8:

# rpm -q --requires foreman
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/etc/cron.d
/usr/bin/node
/usr/bin/ruby
/usr/libexec/platform-python
chkconfig
chkconfig
config(foreman) = 3.3.0-0.1.develop.20220221122918git221d255.el8
foreman-debug
gawk
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
ruby(release)
rubygem(activerecord-session_store) >= 2.0.0
rubygem(activerecord-session_store) < 3
rubygem(ancestry) >= 3.0.7
rubygem(ancestry) < 4
rubygem(apipie-dsl) >= 2.2.6
rubygem(apipie-rails) >= 0.5.17
rubygem(apipie-rails) < 0.6.0
rubygem(audited) >= 4.9.0
rubygem(audited) < 5
rubygem(bcrypt) >= 3.1
rubygem(bcrypt) < 4.0
rubygem(bigdecimal)
rubygem(bundler_ext)
rubygem(daemons)
rubygem(deacon) >= 1.0
rubygem(deacon) < 2.0
rubygem(deep_cloneable) >= 3
rubygem(deep_cloneable) < 4
rubygem(dynflow) >= 1.4.4
rubygem(dynflow) < 2.0.0
rubygem(facter)
rubygem(fast_gettext) >= 1.4
rubygem(fast_gettext) < 2.0
rubygem(fog-core) = 2.1.0
rubygem(friendly_id) >= 5.3.0
rubygem(friendly_id) < 5.4
rubygem(get_process_mem)
rubygem(gettext_i18n_rails) >= 1.8
rubygem(gettext_i18n_rails) < 2.0
rubygem(graphql) >= 1.8.0
rubygem(graphql) < 1.9.0
rubygem(graphql-batch)
rubygem(i18n) >= 1.1
rubygem(i18n) < 2.0
rubygem(jwt) >= 2.2.2
rubygem(jwt) < 2.3.0
rubygem(ldap_fluff) >= 0.5.0
rubygem(ldap_fluff) < 1.0
rubygem(logging) >= 1.8.0
rubygem(logging) < 3.0.0
rubygem(mail) >= 2.7
rubygem(mail) < 3.0
rubygem(net-ldap) >= 0.16.0
rubygem(net-ping)
rubygem(net-scp)
rubygem(net-ssh) = 4.2.0
rubygem(oauth) >= 0.5.4
rubygem(oauth) < 1
rubygem(rabl) >= 0.14.2
rubygem(rabl) < 0.15.0
rubygem(rack-cors) >= 1.0.2
rubygem(rack-cors) < 1.1.0
rubygem(rack-jsonp)
rubygem(rails) >= 6.0.3.1
rubygem(rails) < 6.0.4.0
rubygem(rails-i18n) >= 6.0
rubygem(rails-i18n) < 7.0
rubygem(rake) >= 0.8.3
rubygem(rdoc)
rubygem(rdoc) < 6.4
rubygem(responders) >= 3.0
rubygem(responders) < 4.0
rubygem(rest-client) >= 2.0.0
rubygem(rest-client) < 3
rubygem(roadie-rails) >= 2.0
rubygem(roadie-rails) < 3.0
rubygem(safemode) >= 1.3.5
rubygem(safemode) < 2
rubygem(scoped_search) >= 4.1.8
rubygem(scoped_search) < 5
rubygem(secure_headers) >= 6.3
rubygem(secure_headers) < 7.0
rubygem(sprockets) >= 4.0
rubygem(sprockets) < 5.0
rubygem(sprockets-rails) >= 3.0
rubygem(sprockets-rails) < 4.0
rubygem(sshkey) >= 1.9
rubygem(sshkey) < 2.0
rubygem(validates_lengths_from_database) >= 0.5
rubygem(validates_lengths_from_database) < 1.0
rubygem(webpack-rails) < 0.10.0
rubygem(webpack-rails) >= 0.9.8
rubygem(will_paginate) >= 3.1.7
rubygem(will_paginate) < 4
rubygems
shadow-utils
systemd
systemd
systemd
systemd-sysv
systemd-units
systemd-units
wget

Note that /usr/bin/node is in there. This comes from the script/npm* files due to using /usr/bin/node as a shebang.

Associated revisions

Revision eb435531 (diff)
Added by Ewoud Kohl van Wijngaarden 4 months ago

Fixes #34507 - Drop Foreman's nodejs dependency

Due to automatic dependencies nodejs ended up being pulled in. This
moves some NPM related scripts to foreman-assets which already depends
on nodejs anyway. It also excludes the systemd files because they're
redundant.

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/7619 added

#2 Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Bugzilla link set to 2057605
  • Triaged changed from No to Yes
  • Target version changed from 3.2.0 to 3.1.3

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.3.0 added

#4 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/7622 added

#5 Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/7623 added

#7 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/7624 added

#8 Updated by Amit Upadhye 4 months ago

  • Target version changed from 3.1.3 to 3.0.2
  • Fixed in Releases 3.0.2 added

Also available in: Atom PDF