foreman_bootdisk 23.2.4 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8219b320fe41315c074cdbee38da3ef5ee21a5dbc767dbd50cff9d5bff85c778
4
- data.tar.gz: 12fe11583700845f8c1ddcf1dd7b0e3b4d6ee515f84e598d85efbc25e071d9c6
3
+ metadata.gz: 1ac9d004cd74a553ef76cdcaa091b3071d05e93e727fe3ec0d5f6e00330bd1ee
4
+ data.tar.gz: d1dfefd6e23bb9d18539c4c30eecf6a43c45e6851a1ea6bc95135cb9851bb038
5
5
  SHA512:
6
- metadata.gz: 87d49409c4d8f4bf0ef127ab72f0e18ef024b00869e9096c43cbb9a3ec392105f3789194f4cc88738c17af196c74275bde01654a35a5e27e4364ff84a1c8e2d5
7
- data.tar.gz: '07931bd1a6eea3568f5c5f99de4fd1bca07564fb192f7945f827b78ad0fbd26cbaf70b6e1b152f89e55ba58ada64391cdd6728556dae9b60cdb42e0365a8e41e'
6
+ metadata.gz: 027bd65f741d4e4610774251b84c0a362ac72d68067b3bf44b4d307823b064f8409106b02b629ed2d9099112525db593a6216dcfdc2e52f627755b5b9b05d84b
7
+ data.tar.gz: fed16d5eae70be6e07c394b78e2563a6729236f86426ba27a6776ba60a4f7beda53cd251c1a24f3bc1223b91921745eb8cbbc2e99ecc31d8aa7b02a214be0912
data/README.md CHANGED
@@ -27,7 +27,7 @@ Debian users can install the "ruby-foreman-bootdisk" package.
27
27
 
28
28
  * iPXE images are required
29
29
  * syslinux is required
30
- * genisoimage/mkisofs and isohybrid are required
30
+ * xorrisofs (or genisoimage/mkisofs) and isohybrid are required
31
31
 
32
32
  gPXE images are unsupported due to lack of initrd support.
33
33
 
@@ -328,7 +328,10 @@ the Foreman UI.
328
328
  * _iPXE directory_ (`bootdisk_ipxe_dir`) points to the directory containing
329
329
  ipxe.lkrn
330
330
  * _ISO generation command_ (`bootdisk_mkiso_command`) is the name of
331
- genisoimage/mkisofs on your OS
331
+ xorrisofs, genisoimage, or mkisofs on your OS. Defaults to `xorrisofs`
332
+ since EL10 dropped genisoimage/cdrkit; EL9 and earlier can still be
333
+ pointed at `genisoimage` or `mkisofs` if preferred, all three names
334
+ resolve to the same underlying tool where `xorriso` is installed
332
335
  * _SYSLINUX directory_ (`bootdisk_syslinux_dir`) points to the directory
333
336
  containing syslinux images
334
337
 
@@ -7,7 +7,7 @@ require 'uri'
7
7
 
8
8
  # Generates an iPXE ISO hybrid image
9
9
  #
10
- # requires syslinux, ipxe/ipxe-bootimgs, genisoimage, isohybrid
10
+ # requires syslinux, ipxe/ipxe-bootimgs, xorrisofs (or genisoimage/mkisofs), isohybrid
11
11
  module ForemanBootdisk
12
12
  class ISOGenerator
13
13
  extend Foreman::HttpProxy
@@ -112,9 +112,9 @@ module ForemanBootdisk
112
112
 
113
113
  setting "bootdisk_mkiso_command",
114
114
  type: :string,
115
- default: "genisoimage",
115
+ default: "xorrisofs",
116
116
  full_name: N_("ISO generation command"),
117
- description: N_("Command to generate ISO image, use genisoimage or mkisofs")
117
+ description: N_("Command to generate ISO image, use xorrisofs, genisoimage or mkisofs")
118
118
 
119
119
  setting "bootdisk_cache_media",
120
120
  type: :boolean,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanBootdisk
4
- VERSION = '23.2.4'
4
+ VERSION = '24.0.0'
5
5
  end
@@ -4,9 +4,11 @@ import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
4
4
 
5
5
  import HostBootdiskButtons from './src/extensions/host/HostBootdiskButtons';
6
6
 
7
+ const HOST_BOOTDISK_BUTTONS_WEIGHT = 300;
8
+
7
9
  addGlobalFill(
8
10
  'host-details-kebab',
9
11
  'host-bootdisk-buttons',
10
12
  <HostBootdiskButtons key="host-bootdisk-buttons" />,
11
- 300
13
+ HOST_BOOTDISK_BUTTONS_WEIGHT
12
14
  );
@@ -0,0 +1 @@
1
+ import 'foremanJSTestSetup';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 23.2.4
4
+ version: 24.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
@@ -124,7 +124,6 @@ files:
124
124
  - webpack/__mocks__/foremanReact/redux/API/APISelectors.js
125
125
  - webpack/__mocks__/foremanReact/redux/API/index.js
126
126
  - webpack/global_index.js
127
- - webpack/global_test_setup.js
128
127
  - webpack/index.js
129
128
  - webpack/src/extensions/constants.js
130
129
  - webpack/src/extensions/host/HostBootdiskButtons.js
@@ -132,6 +131,7 @@ files:
132
131
  - webpack/src/extensions/host/HostBootdiskButtonsSelectors.js
133
132
  - webpack/src/extensions/host/__tests__/HostBootdiskButtonsSelectors.test.js
134
133
  - webpack/src/extensions/host/__tests__/__snapshots__/HostBootdiskButtonsSelectors.test.js.snap
134
+ - webpack/test_setup.js
135
135
  homepage: https://github.com/theforeman/foreman_bootdisk
136
136
  licenses:
137
137
  - GPL-3.0
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: '2.7'
146
+ version: '3.0'
147
147
  - - "<"
148
148
  - !ruby/object:Gem::Version
149
149
  version: '4'
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 4.0.6
156
+ rubygems_version: 4.0.16
157
157
  specification_version: 4
158
158
  summary: Create boot disks to provision hosts with Foreman
159
159
  test_files: []
@@ -1,11 +0,0 @@
1
- // runs before each test to make sure console.error output will
2
- // fail a test (i.e. default PropType missing). Check the error
3
- // output and traceback for actual error.
4
- global.console.error = (error, stack) => {
5
- /* eslint-disable-next-line no-console */
6
- if (stack) console.log(stack); // Prints out original stack trace
7
- throw new Error(error);
8
- };
9
-
10
- // Increase jest timeout as some tests using multiple http mocks can time out on CI systems.
11
- jest.setTimeout(10000);