katello 4.16.0 → 4.16.1
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.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/lib/actions/candlepin/environment/set_content.rb +2 -2
- data/app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb +1 -1
- data/app/models/katello/candlepin/repository_mapper.rb +1 -1
- data/app/views/foreman/job_templates/flatpak_install.erb +10 -2
- data/app/views/foreman/job_templates/flatpak_login_action.erb +2 -5
- data/lib/katello/version.rb +1 -1
- data/webpack/components/extensions/HostDetails/DetailsTabCards/ImageModeCard.js +1 -0
- metadata +15 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb2357fe16d379c2691305fffcd2cb20cf8ecc04763097b3310fbe31e3b66b1d
|
4
|
+
data.tar.gz: deb604ec240a906e8cd2b38e23c489adbb012fda39b67921640db2827b9c53ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffbb828f6647dc9b0cf83359d87904f7800188db5cabe971266030c400467bbb6796583aca5a6b3f4be80e8a8bf1a084e28c3f7e37bff4588562ca416ba86318
|
7
|
+
data.tar.gz: 460e776a608d60564a905afe622fa4d14cd43efd553656db33fa3b1dd2a1e68ec1e440706d6b6bab32cd9fd4be8d976d637feac4dd3404df572d16ef2efd7480
|
@@ -36,12 +36,12 @@ module Actions
|
|
36
36
|
# Since its a dup id refresh the existing ids list (which hopefully will not have the duplicate content)
|
37
37
|
# and try again.
|
38
38
|
output[:add_ids] = content_ids - existing_ids
|
39
|
-
rescue RestClient::ResourceNotFound => e
|
39
|
+
rescue RestClient::ResourceNotFound, RestClient::NotFound => e
|
40
40
|
# Set a higher limit for retries just in case the missing content is not being parsed from the error body correctly.
|
41
41
|
# If the content is not found after the retries, assume it is gone and continue.
|
42
42
|
raise e if ((retries += 1) == 1_000)
|
43
43
|
# Parse the missing content from the Candlepin response and remove it from the add_ids list.
|
44
|
-
missing_content = JSON.parse(e.response.body)['displayMessage'].split(' ')[-1].gsub(/"
|
44
|
+
missing_content = JSON.parse(e.response.body)['displayMessage'].split(' ')[-1].gsub(/[".]/, '')
|
45
45
|
Rails.logger.debug "Content #{missing_content} not found in the environment. Removing it from the add_ids list."
|
46
46
|
output[:add_ids].delete(missing_content)
|
47
47
|
end
|
@@ -9,7 +9,7 @@ module Actions
|
|
9
9
|
|
10
10
|
def run
|
11
11
|
repository = ::Katello::Repository.find(input[:repository_id])
|
12
|
-
ForemanTasks.async_task(::Actions::Pulp3::Repository::
|
12
|
+
ForemanTasks.async_task(::Actions::Pulp3::Repository::UpdateCVRepositoryCertGuard, repository, smart_proxy)
|
13
13
|
end
|
14
14
|
|
15
15
|
def humanized_name
|
@@ -139,7 +139,7 @@ module Katello
|
|
139
139
|
end
|
140
140
|
|
141
141
|
def download_policy
|
142
|
-
if katello_content_type
|
142
|
+
if ::Katello::RootRepository::CONTENT_ATTRIBUTE_RESTRICTIONS[:download_policy].include?(katello_content_type)
|
143
143
|
Setting[:default_redhat_download_policy]
|
144
144
|
else
|
145
145
|
""
|
@@ -13,11 +13,19 @@ template_inputs:
|
|
13
13
|
description: Name of the application to install
|
14
14
|
input_type: user
|
15
15
|
required: true
|
16
|
+
- name: Launch a session bus instance
|
17
|
+
description: Launch a session bus instance for the flatpak application using 'dbus-run-session'. Requires package dbus-daemon on client. Select 'true' for machines without a display server.
|
18
|
+
input_type: user
|
19
|
+
required: false
|
20
|
+
options: "true\r\nfalse"
|
21
|
+
advanced: false
|
22
|
+
value_type: plain
|
23
|
+
default: 'false'
|
16
24
|
%>
|
17
25
|
|
18
26
|
<%
|
19
27
|
remote_name = input('Flatpak remote name')
|
20
28
|
app_name = input('Application name')
|
29
|
+
use_dbus_session = input('Launch a session bus instance') == 'true'
|
21
30
|
%>
|
22
|
-
|
23
|
-
sudo dbus-launch flatpak install <%= remote_name %> <%= app_name %> --assumeyes
|
31
|
+
sudo <%= use_dbus_session ? 'dbus-run-session ' : ''%>flatpak install <%= remote_name %> <%= app_name %> --assumeyes
|
@@ -6,7 +6,7 @@ description_format: 'Login to flatpak registry via podman'
|
|
6
6
|
provider_type: script
|
7
7
|
template_inputs:
|
8
8
|
- name: Flatpak registry URL
|
9
|
-
description: URL of
|
9
|
+
description: URL of container registry
|
10
10
|
input_type: user
|
11
11
|
required: true
|
12
12
|
- name: Username
|
@@ -26,7 +26,4 @@ template_inputs:
|
|
26
26
|
password = input('Password')
|
27
27
|
%>
|
28
28
|
|
29
|
-
sudo podman login <%= server_url %> --username <%= username %> --password
|
30
|
-
if test -f "/run/containers/0/auth.json"; then
|
31
|
-
sudo cp --update /run/containers/0/auth.json /etc/flatpak/oci-auth.json
|
32
|
-
fi
|
29
|
+
echo <%= shell_escape(password) %> | sudo podman login <%= server_url %> --username <%= username %> --password-stdin --authfile /etc/flatpak/oci-auth.json
|
data/lib/katello/version.rb
CHANGED
@@ -33,6 +33,7 @@ const ImageModeCard = ({ isExpandedGlobal, hostDetails }) => {
|
|
33
33
|
expandable
|
34
34
|
masonryLayout
|
35
35
|
isExpandedGlobal={isExpandedGlobal}
|
36
|
+
ouiaId="image-mode"
|
36
37
|
>
|
37
38
|
<a href={actionUrl(hostDetails.name)}>{__('Modify via remote execution')}</a>
|
38
39
|
<DescriptionList isHorizontal>
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.16.
|
4
|
+
version: 4.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rails
|
@@ -87,6 +86,9 @@ dependencies:
|
|
87
86
|
- - ">="
|
88
87
|
- !ruby/object:Gem::Version
|
89
88
|
version: '9.1'
|
89
|
+
- - "<"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '11.0'
|
90
92
|
type: :runtime
|
91
93
|
prerelease: false
|
92
94
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -94,6 +96,9 @@ dependencies:
|
|
94
96
|
- - ">="
|
95
97
|
- !ruby/object:Gem::Version
|
96
98
|
version: '9.1'
|
99
|
+
- - "<"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '11.0'
|
97
102
|
- !ruby/object:Gem::Dependency
|
98
103
|
name: foreman_remote_execution
|
99
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,6 +106,9 @@ dependencies:
|
|
101
106
|
- - ">="
|
102
107
|
- !ruby/object:Gem::Version
|
103
108
|
version: 7.1.0
|
109
|
+
- - "<"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '16.0'
|
104
112
|
type: :runtime
|
105
113
|
prerelease: false
|
106
114
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -108,6 +116,9 @@ dependencies:
|
|
108
116
|
- - ">="
|
109
117
|
- !ruby/object:Gem::Version
|
110
118
|
version: 7.1.0
|
119
|
+
- - "<"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '16.0'
|
111
122
|
- !ruby/object:Gem::Dependency
|
112
123
|
name: dynflow
|
113
124
|
requirement: !ruby/object:Gem::Requirement
|
@@ -5498,7 +5509,6 @@ homepage: http://www.katello.org
|
|
5498
5509
|
licenses:
|
5499
5510
|
- GPL-2.0
|
5500
5511
|
metadata: {}
|
5501
|
-
post_install_message:
|
5502
5512
|
rdoc_options: []
|
5503
5513
|
require_paths:
|
5504
5514
|
- lib
|
@@ -5516,8 +5526,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
5516
5526
|
- !ruby/object:Gem::Version
|
5517
5527
|
version: '0'
|
5518
5528
|
requirements: []
|
5519
|
-
rubygems_version: 3.
|
5520
|
-
signing_key:
|
5529
|
+
rubygems_version: 3.6.2
|
5521
5530
|
specification_version: 4
|
5522
5531
|
summary: Content and Subscription Management plugin for Foreman
|
5523
5532
|
test_files: []
|