katello 4.2.0.rc1 → 4.2.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb +20 -2
- data/app/controllers/katello/api/v2/content_uploads_controller.rb +2 -1
- data/app/controllers/katello/api/v2/repositories_controller.rb +1 -0
- data/app/lib/actions/katello/content_view_version/create_repos.rb +1 -1
- data/app/lib/actions/katello/host/upload_package_profile.rb +7 -21
- data/app/lib/actions/katello/host/upload_profiles.rb +6 -52
- data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +2 -0
- data/app/lib/actions/katello/repository/clone_to_environment.rb +1 -1
- data/app/lib/actions/katello/repository/create.rb +8 -4
- data/app/lib/actions/katello/repository/create_root.rb +1 -1
- data/app/lib/actions/katello/repository/import_upload.rb +6 -1
- data/app/lib/actions/katello/repository/upload_files.rb +6 -8
- data/app/lib/actions/katello/repository_set/enable_repository.rb +1 -1
- data/app/lib/actions/pulp3/orchestration/repository/create.rb +2 -2
- data/app/lib/actions/pulp3/orchestration/repository/import_upload.rb +25 -4
- data/app/lib/actions/pulp3/orchestration/repository/upload_content.rb +17 -5
- data/app/lib/actions/pulp3/repository/commit_upload.rb +25 -2
- data/app/lib/actions/pulp3/repository/create.rb +4 -3
- data/app/lib/actions/pulp3/repository/refresh_distribution.rb +5 -2
- data/app/lib/actions/pulp3/repository/save_artifact.rb +8 -1
- data/app/lib/actions/pulp3/repository/update_remote.rb +7 -4
- data/app/lib/actions/pulp3/repository/upload_file.rb +29 -3
- data/app/models/katello/concerns/host_managed_extensions.rb +14 -1
- data/app/models/katello/content_view.rb +1 -1
- data/app/models/katello/content_view_repository.rb +3 -2
- data/app/models/katello/content_view_version.rb +5 -3
- data/app/models/katello/erratum.rb +2 -2
- data/app/models/katello/host/content_facet.rb +7 -2
- data/app/models/katello/repository.rb +1 -1
- data/app/models/katello/root_repository.rb +10 -6
- data/app/models/setting/content.rb +3 -1
- data/app/services/katello/applicability/applicable_content_helper.rb +2 -1
- data/app/services/katello/host/package_profile_uploader.rb +41 -0
- data/app/services/katello/host/profiles_uploader.rb +74 -0
- data/app/services/katello/pulp3/api/core.rb +4 -0
- data/app/services/katello/pulp3/repository/ansible_collection.rb +5 -9
- data/app/services/katello/pulp3/repository/yum.rb +17 -4
- data/app/services/katello/pulp3/repository.rb +42 -8
- data/app/services/katello/pulp3/repository_mirror.rb +1 -1
- data/app/views/katello/api/v2/repositories/show.json.rabl +1 -0
- data/app/views/smart_proxies/plugins/_pulpcore.html.erb +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +1 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +6 -0
- data/lib/katello/tasks/repository.rake +4 -3
- data/lib/katello/version.rb +1 -1
- data/locale/bn/katello.po +1 -1
- data/locale/bn/katello.po.time_stamp +0 -0
- data/locale/cs/katello.po +1 -1
- data/locale/cs/katello.po.time_stamp +0 -0
- data/locale/de/katello.po +1 -1
- data/locale/de/katello.po.time_stamp +0 -0
- data/locale/en/katello.po +1 -1
- data/locale/en/katello.po.time_stamp +0 -0
- data/locale/es/katello.po +1 -1
- data/locale/es/katello.po.time_stamp +0 -0
- data/locale/fr/katello.po +1 -1
- data/locale/fr/katello.po.time_stamp +0 -0
- data/locale/gu/katello.po +1 -1
- data/locale/gu/katello.po.time_stamp +0 -0
- data/locale/hi/katello.po +1 -1
- data/locale/hi/katello.po.time_stamp +0 -0
- data/locale/it/katello.po +1 -1
- data/locale/it/katello.po.time_stamp +0 -0
- data/locale/ja/katello.po +1 -1
- data/locale/ja/katello.po.time_stamp +0 -0
- data/locale/katello.pot +1 -1
- data/locale/kn/katello.po +1 -1
- data/locale/kn/katello.po.time_stamp +0 -0
- data/locale/ko/katello.po +1 -1
- data/locale/ko/katello.po.time_stamp +0 -0
- data/locale/mr/katello.po +1 -1
- data/locale/mr/katello.po.time_stamp +0 -0
- data/locale/or/katello.po +1 -1
- data/locale/or/katello.po.time_stamp +0 -0
- data/locale/pa/katello.po +1 -1
- data/locale/pa/katello.po.time_stamp +0 -0
- data/locale/pt/katello.po +1 -1
- data/locale/pt/katello.po.time_stamp +0 -0
- data/locale/pt_BR/katello.po +1 -1
- data/locale/pt_BR/katello.po.time_stamp +0 -0
- data/locale/ru/katello.po +1 -1
- data/locale/ru/katello.po.time_stamp +0 -0
- data/locale/ta/katello.po +1 -1
- data/locale/ta/katello.po.time_stamp +0 -0
- data/locale/te/katello.po +1 -1
- data/locale/te/katello.po.time_stamp +0 -0
- data/locale/zh_CN/katello.po +1 -1
- data/locale/zh_CN/katello.po.time_stamp +0 -0
- data/locale/zh_TW/katello.po +1 -1
- data/locale/zh_TW/katello.po.time_stamp +0 -0
- data/webpack/components/AddedStatusLabel.js +5 -0
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +1 -1
- data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +1 -1
- metadata +26 -2
File without changes
|
data/locale/pa/katello.po
CHANGED
@@ -363,7 +363,7 @@ msgstr ""
|
|
363
363
|
msgid "A backend service [ %s ] is unreachable"
|
364
364
|
msgstr ""
|
365
365
|
|
366
|
-
msgid "A content view can be added by using the \"
|
366
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
367
367
|
msgstr ""
|
368
368
|
|
369
369
|
#, fuzzy
|
File without changes
|
data/locale/pt/katello.po
CHANGED
@@ -296,7 +296,7 @@ msgstr ""
|
|
296
296
|
msgid "A backend service [ %s ] is unreachable"
|
297
297
|
msgstr ""
|
298
298
|
|
299
|
-
msgid "A content view can be added by using the \"
|
299
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
300
300
|
msgstr ""
|
301
301
|
|
302
302
|
msgid "A content_type must be provided."
|
File without changes
|
data/locale/pt_BR/katello.po
CHANGED
@@ -306,7 +306,7 @@ msgstr ""
|
|
306
306
|
msgid "A backend service [ %s ] is unreachable"
|
307
307
|
msgstr "Um serviço de backend [%s] não pode ser alcançado"
|
308
308
|
|
309
|
-
msgid "A content view can be added by using the \"
|
309
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
310
310
|
msgstr ""
|
311
311
|
|
312
312
|
msgid "A content_type must be provided."
|
File without changes
|
data/locale/ru/katello.po
CHANGED
@@ -305,7 +305,7 @@ msgstr ""
|
|
305
305
|
msgid "A backend service [ %s ] is unreachable"
|
306
306
|
msgstr "Служба [ %s ] недоступна"
|
307
307
|
|
308
|
-
msgid "A content view can be added by using the \"
|
308
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
309
309
|
msgstr ""
|
310
310
|
|
311
311
|
msgid "A content_type must be provided."
|
File without changes
|
data/locale/ta/katello.po
CHANGED
@@ -362,7 +362,7 @@ msgstr ""
|
|
362
362
|
msgid "A backend service [ %s ] is unreachable"
|
363
363
|
msgstr ""
|
364
364
|
|
365
|
-
msgid "A content view can be added by using the \"
|
365
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
366
366
|
msgstr ""
|
367
367
|
|
368
368
|
#, fuzzy
|
File without changes
|
data/locale/te/katello.po
CHANGED
@@ -362,7 +362,7 @@ msgstr ""
|
|
362
362
|
msgid "A backend service [ %s ] is unreachable"
|
363
363
|
msgstr ""
|
364
364
|
|
365
|
-
msgid "A content view can be added by using the \"
|
365
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
366
366
|
msgstr ""
|
367
367
|
|
368
368
|
#, fuzzy
|
File without changes
|
data/locale/zh_CN/katello.po
CHANGED
@@ -299,7 +299,7 @@ msgstr ""
|
|
299
299
|
msgid "A backend service [ %s ] is unreachable"
|
300
300
|
msgstr "无法获取后端服务 [ %s ]"
|
301
301
|
|
302
|
-
msgid "A content view can be added by using the \"
|
302
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
303
303
|
msgstr ""
|
304
304
|
|
305
305
|
msgid "A content_type must be provided."
|
File without changes
|
data/locale/zh_TW/katello.po
CHANGED
@@ -319,7 +319,7 @@ msgstr ""
|
|
319
319
|
msgid "A backend service [ %s ] is unreachable"
|
320
320
|
msgstr "無法連上後端服務 [ %s ]"
|
321
321
|
|
322
|
-
msgid "A content view can be added by using the \"
|
322
|
+
msgid "A content view can be added by using the \"Create content view\" button above."
|
323
323
|
msgstr ""
|
324
324
|
|
325
325
|
msgid "A content_type must be provided."
|
File without changes
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
2
2
|
import { Label } from '@patternfly/react-core';
|
3
3
|
import { CheckCircleIcon } from '@patternfly/react-icons';
|
4
4
|
import { translate as __ } from 'foremanReact/common/I18n';
|
5
|
+
import PropTypes from 'prop-types';
|
5
6
|
|
6
7
|
const AddedStatusLabel = ({ added }) => {
|
7
8
|
if (added) {
|
@@ -14,4 +15,8 @@ const AddedStatusLabel = ({ added }) => {
|
|
14
15
|
return __('Not added');
|
15
16
|
};
|
16
17
|
|
18
|
+
AddedStatusLabel.propTypes = {
|
19
|
+
added: PropTypes.bool.isRequired,
|
20
|
+
};
|
21
|
+
|
17
22
|
export default AddedStatusLabel;
|
@@ -142,7 +142,7 @@ const ContentViewComponents = ({ cvId, details }) => {
|
|
142
142
|
{ title: environments ? <ComponentEnvironments {...{ environments }} /> : __('Not yet published') },
|
143
143
|
{ title: <Link to={urlBuilder(`labs/content_views/${id}#repositories`, '')}>{ repositories ? repositories.length : 0 }</Link> },
|
144
144
|
{
|
145
|
-
title: <AddedStatusLabel added={componentCvId} />,
|
145
|
+
title: <AddedStatusLabel added={!!componentCvId} />,
|
146
146
|
},
|
147
147
|
{ title: <TableText wrapModifier="truncate">{description || __('No description')}</TableText> },
|
148
148
|
];
|
@@ -138,7 +138,7 @@ const ContentViewTable = () => {
|
|
138
138
|
|
139
139
|
const additionalListeners = new Array(isPublishModalOpen);
|
140
140
|
const emptyContentTitle = __("You currently don't have any Content Views.");
|
141
|
-
const emptyContentBody = __('A content view can be added by using the "
|
141
|
+
const emptyContentBody = __('A content view can be added by using the "Create content view" button above.');
|
142
142
|
const emptySearchTitle = __('No matching content views found');
|
143
143
|
const emptySearchBody = __('Try changing your search settings.');
|
144
144
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.0.
|
4
|
+
version: 4.2.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1443,6 +1443,8 @@ files:
|
|
1443
1443
|
- app/services/katello/content_view_manager.rb
|
1444
1444
|
- app/services/katello/event_monitor/poller_thread.rb
|
1445
1445
|
- app/services/katello/event_queue.rb
|
1446
|
+
- app/services/katello/host/package_profile_uploader.rb
|
1447
|
+
- app/services/katello/host/profiles_uploader.rb
|
1446
1448
|
- app/services/katello/host_status_manager.rb
|
1447
1449
|
- app/services/katello/host_trace_manager.rb
|
1448
1450
|
- app/services/katello/managed_content_medium_provider.rb
|
@@ -4489,30 +4491,52 @@ files:
|
|
4489
4491
|
- locale/README
|
4490
4492
|
- locale/action_names.rb
|
4491
4493
|
- locale/bn/katello.po
|
4494
|
+
- locale/bn/katello.po.time_stamp
|
4492
4495
|
- locale/cs/katello.po
|
4496
|
+
- locale/cs/katello.po.time_stamp
|
4493
4497
|
- locale/de/katello.po
|
4498
|
+
- locale/de/katello.po.time_stamp
|
4494
4499
|
- locale/en/katello.po
|
4500
|
+
- locale/en/katello.po.time_stamp
|
4495
4501
|
- locale/es/katello.po
|
4502
|
+
- locale/es/katello.po.time_stamp
|
4496
4503
|
- locale/fr/katello.po
|
4504
|
+
- locale/fr/katello.po.time_stamp
|
4497
4505
|
- locale/gu/katello.po
|
4506
|
+
- locale/gu/katello.po.time_stamp
|
4498
4507
|
- locale/hi/katello.po
|
4508
|
+
- locale/hi/katello.po.time_stamp
|
4499
4509
|
- locale/it/katello.po
|
4510
|
+
- locale/it/katello.po.time_stamp
|
4500
4511
|
- locale/ja/katello.po
|
4512
|
+
- locale/ja/katello.po.time_stamp
|
4501
4513
|
- locale/katello.pot
|
4502
4514
|
- locale/kn/katello.po
|
4515
|
+
- locale/kn/katello.po.time_stamp
|
4503
4516
|
- locale/ko/katello.po
|
4517
|
+
- locale/ko/katello.po.time_stamp
|
4504
4518
|
- locale/mr/katello.po
|
4519
|
+
- locale/mr/katello.po.time_stamp
|
4505
4520
|
- locale/or/katello.po
|
4521
|
+
- locale/or/katello.po.time_stamp
|
4506
4522
|
- locale/pa/katello.po
|
4523
|
+
- locale/pa/katello.po.time_stamp
|
4507
4524
|
- locale/pt/katello.po
|
4525
|
+
- locale/pt/katello.po.time_stamp
|
4508
4526
|
- locale/pt_BR/katello.po
|
4527
|
+
- locale/pt_BR/katello.po.time_stamp
|
4509
4528
|
- locale/ru/katello.po
|
4529
|
+
- locale/ru/katello.po.time_stamp
|
4510
4530
|
- locale/ta/katello.po
|
4531
|
+
- locale/ta/katello.po.time_stamp
|
4511
4532
|
- locale/te/katello.po
|
4533
|
+
- locale/te/katello.po.time_stamp
|
4512
4534
|
- locale/update-i18n
|
4513
4535
|
- locale/zanata.xml
|
4514
4536
|
- locale/zh_CN/katello.po
|
4537
|
+
- locale/zh_CN/katello.po.time_stamp
|
4515
4538
|
- locale/zh_TW/katello.po
|
4539
|
+
- locale/zh_TW/katello.po.time_stamp
|
4516
4540
|
- package.json
|
4517
4541
|
- vendor/assets/images/katello/add2.png
|
4518
4542
|
- vendor/assets/images/katello/addhost.png
|