foreman_bootdisk 23.2.3 → 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: 47a164e7be4aa1b774c02d0b73a90ddb273e4db96faa93c618d455b7eb82a0ce
4
- data.tar.gz: 2983f0ff062f2e0e9e8564ce481cc9f7627a5331183bb7fd837616d4cf9e83eb
3
+ metadata.gz: 1ac9d004cd74a553ef76cdcaa091b3071d05e93e727fe3ec0d5f6e00330bd1ee
4
+ data.tar.gz: d1dfefd6e23bb9d18539c4c30eecf6a43c45e6851a1ea6bc95135cb9851bb038
5
5
  SHA512:
6
- metadata.gz: 97a88a100772292d55017f68debb1492a5fac35f4e5a095fa20dfb0647541cfd17cebade99f1a92fc6643ae9ccf0e7645fd9296987fe4f8d23c9d7b3f2708bd2
7
- data.tar.gz: 58d5311b0ae20b4baf16dff3ff96cd69e096798717900d146b1a2a83497d92fa144379853f8648edcfc91049bf1467ecc3c74bfced47c5d5deb7f0cf89bf7e7e
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.3'
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,28 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 23.2.3
4
+ version: 24.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
- dependencies:
12
- - !ruby/object:Gem::Dependency
13
- name: theforeman-rubocop
14
- requirement: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: '0'
19
- type: :development
20
- prerelease: false
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: '0'
11
+ dependencies: []
26
12
  description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
27
13
  without the need for PXE infrastructure.
28
14
  email: dcleal@redhat.com
@@ -138,7 +124,6 @@ files:
138
124
  - webpack/__mocks__/foremanReact/redux/API/APISelectors.js
139
125
  - webpack/__mocks__/foremanReact/redux/API/index.js
140
126
  - webpack/global_index.js
141
- - webpack/global_test_setup.js
142
127
  - webpack/index.js
143
128
  - webpack/src/extensions/constants.js
144
129
  - webpack/src/extensions/host/HostBootdiskButtons.js
@@ -146,6 +131,7 @@ files:
146
131
  - webpack/src/extensions/host/HostBootdiskButtonsSelectors.js
147
132
  - webpack/src/extensions/host/__tests__/HostBootdiskButtonsSelectors.test.js
148
133
  - webpack/src/extensions/host/__tests__/__snapshots__/HostBootdiskButtonsSelectors.test.js.snap
134
+ - webpack/test_setup.js
149
135
  homepage: https://github.com/theforeman/foreman_bootdisk
150
136
  licenses:
151
137
  - GPL-3.0
@@ -157,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
143
  requirements:
158
144
  - - ">="
159
145
  - !ruby/object:Gem::Version
160
- version: '2.7'
146
+ version: '3.0'
161
147
  - - "<"
162
148
  - !ruby/object:Gem::Version
163
149
  version: '4'
@@ -167,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
153
  - !ruby/object:Gem::Version
168
154
  version: '0'
169
155
  requirements: []
170
- rubygems_version: 4.0.6
156
+ rubygems_version: 4.0.16
171
157
  specification_version: 4
172
158
  summary: Create boot disks to provision hosts with Foreman
173
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);