From f95cdd0ed246e2f93c745543ef8313249d5351ec Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 20 Nov 2024 13:51:07 +0000 Subject: [PATCH] import RHEL 10 Beta subscription-manager-1.30.1-1.el10 --- .gitignore | 2 +- SOURCES/subscription-manager-debrand.patch | 32 - ...scription-manager-remove-redhat.repo.patch | 16 - SOURCES/use-almalinux-syspurposes.patch | 20 - sources | 1 + ...-manager.spec => subscription-manager.spec | 2579 ++++++++--------- 6 files changed, 1275 insertions(+), 1375 deletions(-) delete mode 100644 SOURCES/subscription-manager-debrand.patch delete mode 100644 SOURCES/subscription-manager-remove-redhat.repo.patch delete mode 100644 SOURCES/use-almalinux-syspurposes.patch create mode 100644 sources rename SPECS/subscription-manager.spec => subscription-manager.spec (84%) diff --git a/.gitignore b/.gitignore index 465a6cf..ad06c30 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/subscription-manager-1.28.42.tar.gz +subscription-manager-1.30.1.tar.gz diff --git a/SOURCES/subscription-manager-debrand.patch b/SOURCES/subscription-manager-debrand.patch deleted file mode 100644 index ac83ccc..0000000 --- a/SOURCES/subscription-manager-debrand.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in ---- subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in 2022-04-13 18:01:03.000000000 +0300 -+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in 2022-05-10 19:54:57.000000000 +0300 -@@ -1,5 +1,5 @@ - [Desktop Entry] --_Name=Red Hat Subscription Manager -+_Name=Subscription Manager - Icon=subscription-manager - Type=Application - TryExec=/usr/libexec/cockpit-desktop -diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in ---- subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in 2022-04-13 18:01:03.000000000 +0300 -+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in 2022-05-10 19:55:18.000000000 +0300 -@@ -1,5 +1,5 @@ - [Desktop Entry] --_Name=Red Hat Subscription Manager -+_Name=Subscription Manager - Icon=subscription-manager - Exec=subscription-manager-gui - Terminal=false -diff -aruN subscription-manager-1.28.29/src/subscription_manager/repolib.py subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py ---- subscription-manager-1.28.29/src/subscription_manager/repolib.py 2022-04-13 18:01:03.000000000 +0300 -+++ subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py 2022-05-10 20:01:44.000000000 +0300 -@@ -87,7 +87,7 @@ - @staticmethod - def warning_message(enabled_yum_plugins): - message = _('The yum/dnf plugins: %s were automatically enabled for the benefit of ' -- 'Red Hat Subscription Management. If not desired, use ' -+ 'Subscription Management. If not desired, use ' - '"subscription-manager config --rhsm.auto_enable_yum_plugins=0" to ' - 'block this behavior.') % ', '.join(enabled_yum_plugins) - return message diff --git a/SOURCES/subscription-manager-remove-redhat.repo.patch b/SOURCES/subscription-manager-remove-redhat.repo.patch deleted file mode 100644 index 0001d86..0000000 --- a/SOURCES/subscription-manager-remove-redhat.repo.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py ---- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py 2020-07-28 11:06:10.000000000 -0500 -+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py 2020-08-05 16:48:00.911709258 -0500 -@@ -368,11 +368,7 @@ class RepoFileBase(object): - Try to create new repo file. - :return: None - """ -- self.create_dir_path() -- if self.path_exists(self.path) or not self.manage_repos: -- return -- with open(self.path, 'w') as f: -- f.write(self.REPOFILE_HEADER) -+ pass - - def fix_content(self, content): - return content diff --git a/SOURCES/use-almalinux-syspurposes.patch b/SOURCES/use-almalinux-syspurposes.patch deleted file mode 100644 index 2cfced4..0000000 --- a/SOURCES/use-almalinux-syspurposes.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/etc-conf/syspurpose/valid_fields.json b/etc-conf/syspurpose/valid_fields.json -index 1ac7ea0e..305ec4b9 100644 ---- a/etc-conf/syspurpose/valid_fields.json -+++ b/etc-conf/syspurpose/valid_fields.json -@@ -1,12 +1,10 @@ - { - "role": [ -- "Red Hat Enterprise Linux Server", -- "Red Hat Enterprise Linux Workstation", -- "Red Hat Enterprise Linux Compute Node" -+ "AlmaLinux Server", -+ "AlmaLinux Workstation", -+ "AlmaLinux Compute Node" - ], - "service_level_agreement": [ -- "Premium", -- "Standard", - "Self-Support" - ], - "usage": [ diff --git a/sources b/sources new file mode 100644 index 0000000..6a44395 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (subscription-manager-1.30.1.tar.gz) = dd8736098eae91577fc41a1c2313f91807a684bf644e2f86db918b9b14da26859918ece61789d33a1ee41fd71574c09157be91d350cd77481f2271b9411bb196 diff --git a/SPECS/subscription-manager.spec b/subscription-manager.spec similarity index 84% rename from SPECS/subscription-manager.spec rename to subscription-manager.spec index 43d53be..a1fbd46 100644 --- a/SPECS/subscription-manager.spec +++ b/subscription-manager.spec @@ -1,16 +1,10 @@ -%global dist %{?dist}.alma.1 -# Prefer systemd over sysv on Fedora and RHEL 7+ -%global use_systemd 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} && 0%{?suse_version} >= 1315) # For optional building of ostree-plugin sub package. Unrelated to systemd # but the same versions apply at the moment. -%global has_ostree %use_systemd && 0%{?suse_version} == 0 -%global use_initial_setup 0 -%global use_firstboot 0 +%global has_ostree 0%{?suse_version} == 0 %global use_inotify 1 -%global py2_package_prefix python2 -# Plugin for container (docker, podman) is not supported on RHEL 8 and higher -%if (0%{?rhel} && 0%{?rhel} >= 8) +# Plugin for container (docker, podman) is not supported on RHEL +%if 0%{?rhel} %global use_container_plugin 0 %else %global use_container_plugin 1 @@ -18,102 +12,29 @@ %global dmidecode_arches %{ix86} x86_64 aarch64 -# We use the tmpfiles_create macro from systemd-rpm-macros rpm. -# Because of an incorrect version labelling of that rpm in SLES 12 which -# contains the necessary macro definition, we are not able to simply require -# a certain version of systemd-rpm-macros which will definitely contain this -# macro. To keep our SLES builds working we define the macro here for ourselves. -%if !0%{?tmpfiles_create:1} -%define tmpfiles_create() \ -[ -x /usr/bin/systemd-tmpfiles ] && \ - /usr/bin/systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : \ -%{nil} -%endif - - -# borrowed from dnf spec file & tweaked -%if (0%{?rhel} && 0%{?rhel} <= 7) || 0%{?suse_version} -%bcond_with python3 -%else -%bcond_without python3 -%endif - -%if !(0%{?fedora} < 30 && %{with python3}) || 0%{?rhel} >= 8 -%bcond_with python2_rhsm -%else -%bcond_without python2_rhsm -%endif - -%if %{with python3} || 0%{?suse_version} -%global use_subman_gui 0 -%else -%global use_subman_gui 1 -%endif - -%if 0%{?suse_version} && 0%{?suse_version} < 1200 -%global completion_dir %{_sysconfdir}/bash_completion.d -%else %global completion_dir %{_datadir}/bash-completion/completions -%endif -%if 0%{?suse_version} > 1110 || 0%{?rhel} >= 7 || 0%{?fedora} %global run_dir /run -%else -%global run_dir /var/run -%endif %global rhsm_plugins_dir /usr/share/rhsm-plugins -# on recent Fedora and RHEL 7, let's not use m2crypto -%global use_m2crypto (0%{?fedora} < 23 && 0%{?rhel} < 7) - -%if %{use_systemd} -# Note that the global gtk3 will be undefined if it's not used -%global gtk3 1 -%endif - -%if 0%{?rhel} == 6 -%global use_initial_setup 0 -%global use_firstboot 1 -%global use_inotify 0 -%endif %if 0%{?suse_version} -%global use_initial_setup 0 -%global use_firstboot 0 -%global use_subman_gui 0 %global use_container_plugin 0 %global use_inotify 0 %endif -# Do not ship initial-setup in CentOS -%if %{defined centos} -%global use_initial_setup 0 -%endif +%global use_dnf (0%{?fedora} || (0%{?rhel})) +%global create_libdnf_rpm (0%{?fedora} || 0%{?rhel} > 8) -%if (%{use_subman_gui} || %{use_initial_setup} || %{use_firstboot}) -%global use_rhsm_gtk 0 -%else -%global use_rhsm_gtk 0 -%endif - -%global use_dnf (%{with python3} && (0%{?fedora} || (0%{?rhel}))) || (0%{?rhel} >= 7) -%global use_yum (0%{?rhel} && 0%{?rhel} <= 7) -%global use_cockpit 0 - -%if %{with python3} %global python_sitearch %python3_sitearch %global python_sitelib %python3_sitelib %global __python %__python3 +%if 0%{?suse_version} +%global py_package_prefix python3 +%else %global py_package_prefix python%{python3_pkgversion} +%endif %global rhsm_package_name %{py_package_prefix}-subscription-manager-rhsm -%else -%if 0%{?suse_version} >= 1500 -%global py_package_prefix python2 -%else -%global py_package_prefix python -%endif -%global rhsm_package_name subscription-manager-rhsm -%endif %global _hardened_build 1 %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now} @@ -130,26 +51,8 @@ %global install_container INSTALL_CONTAINER_PLUGIN=false %endif -# makefile will guess, but be specific. -%if 0%{?gtk3} -%global gtk_version GTK_VERSION=3 -%else -%global gtk_version GTK_VERSION=2 -%endif - -%if %{use_initial_setup} -%global post_boot_tool INSTALL_INITIAL_SETUP=true INSTALL_FIRSTBOOT=false -%else -%if %{use_firstboot} -%global post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=true -%else -%global post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=false -%endif -%endif - %if 0%{?suse_version} %global install_zypper_plugins INSTALL_ZYPPER_PLUGINS=true -%global post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=false %else %global install_zypper_plugins INSTALL_ZYPPER_PLUGINS=false %endif @@ -161,31 +64,6 @@ %global install_dnf_plugins INSTALL_DNF_PLUGINS=false %endif -# makefile defaults to INSTALL_YUM_PLUGINS=true -%if %{use_yum} -%global install_yum_plugins INSTALL_YUM_PLUGINS=true -%else -%global install_yum_plugins INSTALL_YUM_PLUGINS=false -%endif - -%if %{use_systemd} -%global with_systemd WITH_SYSTEMD=true -%else -%global with_systemd WITH_SYSTEMD=false -%endif - -%if %{use_subman_gui} -%global with_subman_gui WITH_SUBMAN_GUI=true -%else -%global with_subman_gui WITH_SUBMAN_GUI=false -%endif - -%if %{use_cockpit} && !0%{use_subman_gui} -%global with_cockpit WITH_COCKPIT=true -%else -%global with_cockpit WITH_COCKPIT=false -%endif - # Build a list of python package to exclude from the build. # This is necessary because we have multiple rpms which may or may not # need to be built depending on the distro which are all in one source tree. @@ -208,10 +86,6 @@ # add new exclude packages items after me -%if !%{use_rhsm_gtk} -%global exclude_packages %{exclude_packages}subscription_manager.gui, -%endif - %if !%{use_container_plugin} %global exclude_packages %{exclude_packages}*.plugin.container, %endif @@ -220,21 +94,15 @@ %global exclude_packages %{exclude_packages}" -# Moving our shared icon dependancies to their own package -# Both our cockpit plugin and the rhsm-gtk package require an overlapping -# set of icons. -%global use_rhsm_icons 0%{use_cockpit} || 0%{use_rhsm_gtk} - Name: subscription-manager -Version: 1.28.42 +Version: 1.30.1 Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} Group: Productivity/Networking/System License: GPL-2.0 %else -Group: System Environment/Base -License: GPLv2 +License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later %endif URL: http://www.candlepinproject.org/ @@ -244,22 +112,12 @@ URL: http://www.candlepinproject.org/ # yum install tito # tito build --tag subscription-manager-$VERSION-$RELEASE --tgz Source0: %{name}-%{version}.tar.gz -# this is a little different from the Source0, because of limitations in tito, -# namely that tito expects only one source tarball -%if %{use_cockpit} -Source1: %{name}-cockpit-%{version}.tar.gz -%endif -%if (0%{?suse_version} && 0%{?suse_version} < 1500) + +# Especially for the OpenSuse Build Service we need to have another lint config +%if 0%{?suse_version} Source2: subscription-manager-rpmlintrc %endif -%if (0%{?suse_version} && 0%{?suse_version} < 1200) -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%endif -Patch100: use-almalinux-syspurposes.patch -Patch101: subscription-manager-remove-redhat.repo.patch -Patch102: subscription-manager-debrand.patch - # The following macro examples are preceeded by '%' to stop macro expansion # in the comments. (See https://bugzilla.redhat.com/show_bug.cgi?id=1224660 for # why this is necessary) @@ -272,149 +130,109 @@ Patch102: subscription-manager-debrand.patch # nesting is required since RPM requires the various preamble directives to be # at the start of a line making meaningful indentation impossible. -Requires: %{py_package_prefix}-ethtool +Requires: iproute Requires: %{py_package_prefix}-iniparse Requires: %{py_package_prefix}-decorator Requires: virt-what +Requires: %{rhsm_package_name} = %{version} +Requires: subscription-manager-rhsm-certificates %ifarch %{dmidecode_arches} Requires: dmidecode %endif %if 0%{?suse_version} -Requires: logrotate -Requires: cron -%endif -Requires: %{rhsm_package_name} = %{version} -Requires: %{py_package_prefix}-six -%if 0%{?suse_version} >= 1500 -BuildRequires: %{py_package_prefix}-python-dateutil -Requires: %{py_package_prefix}-python-dateutil +Requires: %{py_package_prefix}-python-dateutil +Requires: %{py_package_prefix}-dbus-python +Requires: logrotate +Requires: cron +Requires: %{py_package_prefix}-gobject2 +Requires: libzypp +Requires: %{py_package_prefix}-zypp-plugin %else -BuildRequires: %{py_package_prefix}-dateutil Requires: %{py_package_prefix}-dateutil +Requires: %{py_package_prefix}-dbus +Requires: usermode +Requires: python3-gobject-base %endif -Requires: %{py_package_prefix}-syspurpose = %{version}-%{release} # rhel 8 has different naming for setuptools going forward +# on newer rhels and Fedora setuptools is not needed on runtime at all %if (0%{?rhel} && 0%{?rhel} == 8) Requires: platform-python-setuptools +%endif + +%if %{use_dnf} +%if %{create_libdnf_rpm} +Requires: python3-dnf +Requires: python3-dnf-plugins-core +Requires: python3-librepo %else -Requires: %{py_package_prefix}-setuptools -%endif - -%if %{with python3} -Requires: python3-dbus -%else -Requires: %{?suse_version:dbus-1-python} %{!?suse_version:dbus-python} -%endif - -%if %{use_yum} -Requires: %{?suse_version:yum} %{!?suse_version:yum >= 3.2.29-73} -%endif - -%if (%{use_dnf} && (0%{?fedora} || 0%{?rhel} >= 8)) Requires: dnf-plugin-subscription-manager = %{version} %endif - -# Support GTK2 and GTK3 on both SUSE and RHEL... -%if 0%{?suse_version} -Requires: %{?gtk3:python-gobject} %{!?gtk3:python-gobject2, libzypp, zypp-plugin-python, python-zypp} -%else -Requires: usermode -%if %{with python3} -Requires: python3-gobject-base -%else -Requires: %{?gtk3:gobject-introspection, pygobject3-base} %{!?gtk3:pygobject2} -%endif %endif %if %use_inotify Requires: %{py_package_prefix}-inotify %endif -%if %use_systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -%else -Requires: %{?suse_version:aaa_base} %{!?suse_version:chkconfig} -Requires(post): %{?suse_version:aaa_base} %{!?suse_version:chkconfig} -Requires(preun): %{?suse_version:aaa_base} %{!?suse_version:chkconfig, initscripts} -%endif Requires: python3-cloud-what = %{version}-%{release} -BuildRequires: %{?suse_version:python-devel >= 2.6} %{!?suse_version:%{py_package_prefix}-devel} +BuildRequires: %{py_package_prefix}-devel BuildRequires: openssl-devel BuildRequires: gcc BuildRequires: %{py_package_prefix}-setuptools BuildRequires: gettext -BuildRequires: intltool -BuildRequires: %{py_package_prefix}-six - -%if %{use_subman_gui} || %{use_cockpit} -BuildRequires: desktop-file-utils -%endif - -%if 0%{?suse_version} <= 1110 -BuildRequires: %{?suse_version:sles-release} %{!?suse_version:system-release} -%else -BuildRequires: %{?suse_version:distribution-release} %{!?suse_version:system-release} -%endif +BuildRequires: glib2-devel %if 0%{?suse_version} +BuildRequires: distribution-release BuildRequires: libzypp -%endif - -%if %{use_subman_gui} -BuildRequires: %{?suse_version:update-desktop-files} %{!?suse_version:scrollkeeper} -%endif - -%if %use_systemd -# We need the systemd RPM macros -%if 0%{?suse_version} >= 1210 BuildRequires: systemd-rpm-macros +BuildRequires: python3-rpm-macros +BuildRequires: %{py_package_prefix}-python-dateutil +%else +BuildRequires: system-release +BuildRequires: %{py_package_prefix}-dateutil %endif + BuildRequires: systemd -%endif Obsoletes: subscription-manager-migration <= %{version}-%{release} +Obsoletes: subscription-manager-initial-setup-addon <= %{version}-%{release} + +Obsoletes: rhsm-gtk <= %{version}-%{release} + %if !%{use_container_plugin} -Obsoletes: subscription-manager-plugin-container +Obsoletes: subscription-manager-plugin-container <= %{version} %endif -# AlmaLinux do not provide the following packages no more -Obsoletes: subscription-manager-cockpit -Obsoletes: subscription-manager-initial-setup-addon -Obsoletes: rhsm-gtk -Obsoletes: rhsm-icons + +%if %{use_dnf} +%if %{create_libdnf_rpm} +# The libdnf plugin is in separate RPM, but shubscription-manager should be dependent +# on this RPM, because somebody can install microdnf on host and installing of product +# certs would not work as expected without libdnf plugin +Requires: libdnf-plugin-subscription-manager = %{version} +# The dnf plugin is now part of subscription-manager +Obsoletes: dnf-plugin-subscription-manager < 1.29.0 +%endif +%endif + +Obsoletes: %{py_package_prefix}-syspurpose <= %{version} %description The Subscription Manager package provides programs and libraries to allow users -to manage subscriptions and yum repositories from the EL entitlement +to manage subscriptions and yum repositories from the Red Hat entitlement platform. -%package -n %{py_package_prefix}-syspurpose -Summary: A commandline utility for declaring system syspurpose -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif -%description -n %{py_package_prefix}-syspurpose -Provides the syspurpose commandline utility. This utility manages the -system syspurpose. - - %if %{use_container_plugin} %package -n subscription-manager-plugin-container Summary: A plugin for handling container content -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif Requires: %{name} = %{version}-%{release} %description -n subscription-manager-plugin-container @@ -422,72 +240,31 @@ Enables handling of content of type 'containerImage' in any certificates from the server. Populates /etc/docker/certs.d appropriately. %endif -%if %{use_rhsm_gtk} -%package -n rhsm-gtk -Summary: GTK+ widgets used by subscription-manager-gui and initial_setup -%if 0%{?suse_version} -Group: Productivity/Networking/System +%if %{use_dnf} + +# RPM containing libdnf plugin +%if %{create_libdnf_rpm} +%package -n libdnf-plugin-subscription-manager +Summary: Subscription Manager plugin for libdnf +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: json-c-devel +BuildRequires: libdnf-devel >= 0.22.5 + +Obsoletes: dnf-plugin-subscription-manager < 1.29.0 + +%description -n libdnf-plugin-subscription-manager +This package provides a plugin to interact with repositories from the Red Hat +entitlement platform; contains only one product-id binary plugin used by +e.g. microdnf. + %else -Group: System Environment/Base -%endif -Requires: %{?gtk3:%{py_package_prefix}-gobject, gtk3} %{!?gtk3:pygtk2, pygtk2-libglade} -Requires: usermode-gtk -# Fedora can figure this out automatically, but RHEL cannot: -# See #987071 -Requires: librsvg2%{?_isa} -Requires: rhsm-icons -%if 0%{?gtk3} -Requires: font(cantarell) -%else -Requires: %{?suse_version:dejavu} %{!?suse_version:dejavu-sans-fonts} -%endif - - -%description -n rhsm-gtk -This package contains GUI and widgets used by subscription-manager-gui -and RHSM initial_setup module for Anaconda. -%endif - -%if %{use_subman_gui} -%package -n subscription-manager-gui -Summary: A GUI interface to manage product subscriptions -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif -Requires: %{name} = %{version}-%{release} -Requires: gnome-icon-theme - -Requires: rhsm-gtk = %{version}-%{release} - -# Renamed from -gnome, so obsolete it properly -Obsoletes: %{name}-gnome < 1.0.3-1 -Provides: %{name}-gnome = %{version}-%{release} - -%if !0%{?suse_version} -Requires(post): scrollkeeper -Requires(postun): scrollkeeper -%else -%endif - -%description -n subscription-manager-gui -This package contains a GTK+ graphical interface for configuring and -registering a system with a Entitlement platform and manage -subscriptions. -%endif - - -%if %use_dnf +# RPM containing DNF plugin %package -n dnf-plugin-subscription-manager Summary: Subscription Manager plugins for DNF -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif -%if (0%{?fedora} >= 29 || 0%{?rhel} >= 8) + +%if (0%{?fedora} || 0%{?rhel}) BuildRequires: cmake BuildRequires: gcc BuildRequires: json-c-devel @@ -495,79 +272,35 @@ BuildRequires: libdnf-devel >= 0.22.5 Requires: json-c Requires: libdnf >= 0.22.5 %endif -# See BZ 1581410 - avoid a circular dependency -%if (0%{?rhel} < 8) -Requires: %{name} >= %{version}-%{release} -%endif -%if %{with python3} + Requires: python3-dnf-plugins-core Requires: python3-librepo -%else -Requires: python2-dnf-plugins-core -%if (0%{?rhel} == 7) -Requires: python-librepo -%else -Requires: python2-librepo -%endif -%endif -Requires: dnf >= 1.0.0 +Requires: dnf >= 1.0.0 %description -n dnf-plugin-subscription-manager This package provides plugins to interact with repositories and subscriptions -from the entitlement platform; contains subscription-manager and +from the Red Hat entitlement platform; contains subscription-manager and product-id plugins. %endif +# This redefinition of debuginfo package has to be here, because we +# need to solve the issue described in this BZ: +# https://bugzilla.redhat.com/show_bug.cgi?id=1920568 +# We need to obsolete old dnf-sub-man-plugin-debuginfo RPM +%package -n libdnf-plugin-subscription-manager-debuginfo +Summary: Debug information for package libdnf-plugin-subscription-manager +Obsoletes: dnf-plugin-subscription-manager-debuginfo < 1.29.0 +%description -n libdnf-plugin-subscription-manager-debuginfo +This package provides debug information for package libdnf-plugin-subscription-manager. +Debug information is useful when developing applications that use this +package or when debugging this package. -%if %use_firstboot -%package -n subscription-manager-firstboot -Summary: Firstboot screens for subscription manager -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif -Requires: rhsm-gtk = %{version}-%{release} -Requires: rhn-setup-gnome - -# Fedora can figure this out automatically, but RHEL cannot: -Requires: librsvg2 - -%description -n subscription-manager-firstboot -This package contains the firstboot screens for subscription-manager. -%endif - - -%if %use_initial_setup -%package -n subscription-manager-initial-setup-addon -Summary: initial-setup screens for subscription-manager -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif -Requires: rhsm-gtk = %{version}-%{release} -Requires: initial-setup-gui >= 0.3.9.24-1 -Obsoletes: subscription-manager-firstboot < 1.15.3-1 -%if %{undefined almalinux_ver} -%if (0%{?rhel} >= 8) -Supplements: initial-setup-gui -%endif -%endif - -%description -n subscription-manager-initial-setup-addon -This package contains the initial-setup screens for subscription-manager. %endif %if %has_ostree %package -n subscription-manager-plugin-ostree Summary: A plugin for handling OSTree content. -%if 0%{?suse_version} -Group: Productivity/Networking/System -%else -Group: System Environment/Base -%endif Requires: %{py_package_prefix}-gobject-base # plugin needs a slightly newer version of python-iniparse for 'tidy' @@ -582,119 +315,40 @@ the remote in the currently deployed .origin file. %package -n %{rhsm_package_name} -Summary: A Python library to communicate with a Unified Entitlement Platform +Summary: A Python library to communicate with a Red Hat Unified Entitlement Platform %if 0%{?suse_version} Group: Development/Libraries/Python -%else -Group: Development/Libraries %endif -%if %use_m2crypto -Requires: %{?suse_version:python-m2crypto} %{!?suse_version:m2crypto} -%endif -%if 0%{?suse_version} >= 1500 + +%if 0%{?suse_version} Requires: %{py_package_prefix}-python-dateutil %else Requires: %{py_package_prefix}-dateutil %endif Requires: %{py_package_prefix}-iniparse -# rpm-python is an old name for python2-rpm but RHEL6 uses the old name -Requires: %{py_package_prefix}-six Requires: subscription-manager-rhsm-certificates # Required by Fedora packaging guidelines %{?python_provide:%python_provide %{py_package_prefix}-rhsm} -%if %{with python3} Requires: python3-cloud-what = %{version}-%{release} Requires: python3-rpm Provides: python3-rhsm = %{version}-%{release} Obsoletes: python3-rhsm <= 1.20.3-1 Provides: python-rhsm = %{version}-%{release} Obsoletes: python-rhsm <= 1.20.3-1 -%else -Requires: rpm-python -Provides: python-rhsm = %{version}-%{release} -Obsoletes: python-rhsm <= 1.20.3-1 -%endif %description -n %{rhsm_package_name} -A small library for communicating with the REST interface of a Unified +A small library for communicating with the REST interface of a Red Hat Unified Entitlement Platform. This interface is used for the management of system entitlements, certificates, and access to content. -%if %{with python2_rhsm} -%package -n python2-subscription-manager-rhsm -Summary: A Python library to communicate with a Unified Entitlement Platform -%if 0%{?suse_version} -Group: Development/Libraries/Python -%else -Group: Development/Libraries -%endif - -BuildRequires: python2-devel - -%if %use_m2crypto -Requires: %{?suse_version:python-m2crypto} %{!?suse_version:m2crypto} -%endif -Requires: %{py2_package_prefix}-dateutil -Requires: %{py2_package_prefix}-iniparse -# rpm-python is an old name for python2-rpm but RHEL6 uses the old name -Requires: %{py2_package_prefix}-six -Requires: subscription-manager-rhsm-certificates -# Required by Fedora packaging guidelines -%{?python_provide:%python_provide %{py2_package_prefix}-rhsm} -Requires: rpm-python -Provides: python-rhsm = %{version}-%{release} -Obsoletes: python-rhsm <= 1.20.3-1 - -%description -n python2-subscription-manager-rhsm -A small library for communicating with the REST interface of a Unified -Entitlement Platform. This interface is used for the management of system -entitlements, certificates, and access to content. -%endif - -%if %use_cockpit -%package -n subscription-manager-cockpit -Summary: Subscription Manager Cockpit UI -License: GPLv2 -BuildArch: noarch - -Requires: subscription-manager -Requires: cockpit-bridge -Requires: cockpit-shell -Requires: rhsm-icons -# Used by desktop UI, but not necessary for web UI -Recommends: cockpit-ws - -%description -n subscription-manager-cockpit -Subscription Manager Cockpit UI -%endif - -%if %{use_rhsm_icons} -%package -n rhsm-icons -Summary: Icons for Subscription Management client tools -License: GPLv2 -BuildArch: noarch - -# As these two packages previously contained the icons now contained in -# rhsm-icons package, we need to specify the logical complement to a -# "Requires", which is "Conflicts". With any luck the underlying -# depsolver will cause the removal of this package if the request -# is to downgrade either of the following to a version below these -# requirements. -Conflicts: rhsm-gtk < 1.26.7 -Conflicts: subscription-manager-cockpit < 1.26.7 - -%description -n rhsm-icons -This package contains the desktop icons for the graphical interfaces provided for management -of subscriptions. There are many such interfaces, subscription-manager-gui, -subscription-manager-initial-setup-addon, and subscription-manager-cockpit-plugin primarily. -%endif - %package -n python3-cloud-what Summary: Python package for detection of public cloud provider -License: GPLv2 +%if 0%{?suse_version} +Group: Productivity/Networking/System +%endif Requires: python3-requests %ifarch %{dmidecode_arches} Requires: dmidecode @@ -707,22 +361,14 @@ cloud metadata and signatures. %prep %setup -q -%patch100 -p1 -%patch101 -p1 -%patch102 -p1 %build make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \ LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python}" \ - %{?gtk_version} \ - %{exclude_packages} %{?with_subman_gui} + %{?subpackages} %{exclude_packages} -%if %{with python2_rhsm} -python2 ./setup.py build --quiet --gtk-version=%{?gtk3:3}%{?!gtk3:2} --rpm-version=%{version}-%{release} -%endif - -%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8)) -pushd src/dnf-plugins/product-id +%if %{use_dnf} +pushd src/plugins/libdnf %cmake -DCMAKE_BUILD_TYPE="Release" %if (0%{?rhel} && 0%{?rhel} <= 8) %make_build @@ -739,16 +385,14 @@ make -f Makefile install VERSION=%{version}-%{release} \ OS_VERSION=%{?fedora}%{?rhel}%{?suse_version} OS_DIST=%{dist} \ COMPLETION_DIR=%{completion_dir} \ RUN_DIR=%{run_dir} \ - %{?install_ostree} %{?install_container} %{?post_boot_tool} %{?gtk_version} \ - %{?install_yum_plugins} %{?install_dnf_plugins} \ + %{?install_ostree} %{?install_container} \ + %{?install_dnf_plugins} \ %{?install_zypper_plugins} \ - %{?with_systemd} \ - %{?with_subman_gui} \ - %{?with_cockpit} \ + %{?subpackages} \ %{?exclude_packages} -%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8)) -pushd src/dnf-plugins/product-id +%if %{use_dnf} +pushd src/plugins/libdnf mkdir -p %{buildroot}%{_libdir}/libdnf/plugins %if (0%{?rhel} && 0%{?rhel} <= 8) %make_install @@ -758,39 +402,12 @@ mkdir -p %{buildroot}%{_libdir}/libdnf/plugins popd %endif -%if %{with python2_rhsm} -mkdir -p %{buildroot}%{python2_sitearch}/rhsm -# Build binary extension in Python2 site-packages directory -python2 ./setup.py build_ext --build-lib %{buildroot}%{python2_sitearch} --quiet -# Copy all *.py file from Python3 to Python2 directory -cp %{buildroot}%{python_sitearch}/rhsm/*.py %{buildroot}%{python2_sitearch}/rhsm/ -%endif - -%if 0%{?suse_version} -%if %use_subman_gui -%suse_update_desktop_file -n -r subscription-manager-gui Settings PackageManager -%endif -%endif - -%if %use_subman_gui -desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-gui.desktop -%else - -%if %use_cockpit -desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-cockpit.desktop -%endif - -%endif - %find_lang rhsm -%find_lang syspurpose # fake out the redhat.repo file -%if %{use_yum} || %{use_dnf} +%if %{use_dnf} mkdir %{buildroot}%{_sysconfdir}/yum.repos.d - %if %{undefined almalinux_ver} touch %{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo - %endif %endif # fake out the certificate directories @@ -800,37 +417,22 @@ mkdir -p %{buildroot}%{_sysconfdir}/pki/entitlement %if %{use_container_plugin} # Setup cert directories for the container plugin: mkdir -p %{buildroot}%{_sysconfdir}/docker/certs.d/ -%if %{undefined almalinux_ver} mkdir %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com install -m 644 %{_builddir}/%{buildsubdir}/src/content_plugins/redhat-entitlement-authority.pem %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt %endif -%endif - -%if %use_cockpit - # install cockpit dist targz - tar --strip-components=1 -xzf %{SOURCE1} -C %{buildroot} -%endif # fix timestamps on our byte compiled files so they match across arches find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; -%if %{with python3} +%if !0%{?suse_version} %py_byte_compile %{__python3} %{buildroot}%{rhsm_plugins_dir}/ -%py_byte_compile %{__python3} %{buildroot}%{_datadir}/anaconda/addons/com_redhat_subscription_manager/ %endif # symlink services to /usr/sbin/ when building for SUSE distributions %if 0%{?suse_version} - %if %{use_systemd} - ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsm - ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsm-facts - ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsmcertd - %else - ln -s %{_initrddir}/rhsmcertd %{buildroot}%{_sbindir}/rcrhsmcertd - %endif -%endif -%if %{defined almalinux_ver} -sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscription-manager.conf + ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsm + ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsm-facts + ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrhsmcertd %endif # base/cli tools use the gettext domain 'rhsm', while the @@ -838,35 +440,34 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %files -f rhsm.lang %defattr(-,root,root,-) -# Make some unusual directories for suse part of subscription-manager +# Make some unusual directories and files for suse part of subscription-manager %if 0%{?suse_version} + %dir %{_sysconfdir}/pki %dir %{_prefix}/share/polkit-1 %dir %{_prefix}/share/polkit-1/actions +%dir %{_sysconfdir}/dbus-1 +%dir %{_sysconfdir}/dbus-1/system.d +%attr(755,root,root) %dir %{_sysconfdir}/rhsm/zypper.repos.d +%attr(644,root,root) %config(noreplace) %{_sysconfdir}/rhsm/zypper.conf +# zypper plugin +%{_prefix}/lib/zypp/plugins/services/rhsm +# links to /usr/sbin/service +%{_sbindir}/rcrhsm +%{_sbindir}/rcrhsm-facts +%{_sbindir}/rcrhsmcertd -# Suse specific -%if %{use_yum} - %dir %{_sysconfdir}/yum - %dir %{_sysconfdir}/yum/pluginconf.d - %dir %{_prefix}/lib/yum-plugins/ -%endif +%else -# Suse specific -%if %{use_dnf} - %dir %{_sysconfdir}/dnf - %dir %{_sysconfdir}/dnf/plugins - %dir %{_prefix}/lib/dnf-plugins/ -%endif - -# Suse specific -%if %{use_yum} || %{use_dnf} - %dir %{_sysconfdir}/yum.repos.d -%endif +# symlink to console-helper +%{_bindir}/subscription-manager +# PAM config +%{_sysconfdir}/pam.d/subscription-manager +%{_sysconfdir}/security/console.apps/subscription-manager %endif %dir %{python_sitearch}/rhsmlib/candlepin -%dir %{python_sitearch}/rhsmlib/compat %dir %{python_sitearch}/rhsmlib/dbus %dir %{python_sitearch}/rhsmlib/dbus/facts %dir %{python_sitearch}/rhsmlib/dbus/objects @@ -875,23 +476,15 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %dir %{python_sitearch}/subscription_manager-%{version}-*.egg-info %dir %{python_sitearch}/subscription_manager/api %dir %{python_sitearch}/subscription_manager/branding +%dir %{python_sitearch}/subscription_manager/cli_command %dir %{python_sitearch}/subscription_manager/model %dir %{python_sitearch}/subscription_manager/plugin %dir %{python_sitearch}/subscription_manager/scripts %dir %{_var}/spool/rhsm -%if 0%{?suse_version} && 0%{?suse_version} < 1315 -%dir %{_prefix}/share/locale/ta_IN -%dir %{_prefix}/share/locale/ta_IN/LC_MESSAGES -%endif %attr(755,root,root) %{_sbindir}/subscription-manager -# symlink to console-helper -%if !0%{?suse_version} -%{_bindir}/subscription-manager -%endif %attr(755,root,root) %{_bindir}/rhsmcertd - %attr(755,root,root) %{_libexecdir}/rhsmcertd-worker %attr(755,root,root) %{_libexecdir}/rhsm-package-profile-uploader @@ -899,37 +492,17 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti # our config dirs and files %attr(755,root,root) %dir %{_sysconfdir}/pki/consumer %attr(755,root,root) %dir %{_sysconfdir}/pki/entitlement -%attr(755,root,root) %dir %{_sysconfdir}/rhsm %attr(755,root,root) %dir %{_sysconfdir}/rhsm/facts -%if 0%{?suse_version} -%attr(755,root,root) %dir %{_sysconfdir}/rhsm/zypper.repos.d -%endif + +%attr(755,root,root) %dir %{_sysconfdir}/rhsm/syspurpose +%attr(644,root,root) %{_sysconfdir}/rhsm/syspurpose/valid_fields.json %attr(644,root,root) %config(noreplace) %{_sysconfdir}/rhsm/rhsm.conf -%config %attr(644,root,root) %{_sysconfdir}/rhsm/logging.conf -%if 0%{?suse_version} - %attr(644,root,root) %config(noreplace) %{_sysconfdir}/rhsm/zypper.conf -%endif - -# PAM config -%if !0%{?suse_version} -%{_sysconfdir}/pam.d/subscription-manager -%{_sysconfdir}/security/console.apps/subscription-manager -%endif - -%if %{use_yum} || %{use_dnf} +%if %{use_dnf} %ghost %{_sysconfdir}/yum.repos.d/redhat.repo %endif -# yum plugin config -%if %{use_yum} - # remove the repo file when we are deleted - %config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/subscription-manager.conf - %config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/product-id.conf - %config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/search-disabled-repos.conf -%endif - # dnf plugin config %if %{use_dnf} # remove the repo file when we are deleted @@ -961,70 +534,48 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %{python_sitearch}/subscription_manager/*.py* %{python_sitearch}/subscription_manager/api/*.py* %{python_sitearch}/subscription_manager/branding/*.py* +%{python_sitearch}/subscription_manager/cli_command/*.py* %{python_sitearch}/subscription_manager/model/*.py* %{python_sitearch}/subscription_manager/plugin/__init__.py* %{python_sitearch}/subscription_manager/scripts/*.py* -%if %{with python3} %{python_sitearch}/subscription_manager/__pycache__ %{python_sitearch}/subscription_manager/api/__pycache__ %{python_sitearch}/subscription_manager/branding/__pycache__ +%{python_sitearch}/subscription_manager/cli_command/__pycache__ %{python_sitearch}/subscription_manager/model/__pycache__ %{python_sitearch}/subscription_manager/plugin/__pycache__ %{python_sitearch}/subscription_manager/scripts/__pycache__ -%endif - -# our gtk2/gtk3 compat modules -%dir %{python_sitearch}/subscription_manager/ga_impls -%{python_sitearch}/subscription_manager/ga_impls/__init__.py* -%if %{with python3} -%{python_sitearch}/subscription_manager/ga_impls/__pycache__ -%endif - -%if 0%{?gtk3} -%{python_sitearch}/subscription_manager/ga_impls/ga_gtk3.py* -%else -%dir %{python_sitearch}/subscription_manager/ga_impls/ga_gtk2 -%{python_sitearch}/subscription_manager/ga_impls/ga_gtk2/*.py* -%endif # subscription-manager plugins %dir %{rhsm_plugins_dir} %dir %{_sysconfdir}/rhsm/pluginconf.d -# yum plugins -# Using _prefix + lib here instead of libdir as that evaluates to /usr/lib64 on x86_64, -# but yum plugins seem to normally be sent to /usr/lib/: -%if %{use_yum} - %{_prefix}/lib/yum-plugins/subscription-manager.py* - %{_prefix}/lib/yum-plugins/product-id.py* - %{_prefix}/lib/yum-plugins/search-disabled-repos.py* -%endif - -# zypper plugins -%if 0%{?suse_version} -%{_prefix}/lib/zypp/plugins/services/rhsm +# When libdnf rpm is created, then dnf plugin is part of subscription-manager rpm +%if %{create_libdnf_rpm} +%{python_sitelib}/dnf-plugins/* %endif # rhsmlib %dir %{python_sitearch}/rhsmlib %{python_sitearch}/rhsmlib/*.py* %{python_sitearch}/rhsmlib/candlepin/*.py* -%{python_sitearch}/rhsmlib/compat/*.py* %{python_sitearch}/rhsmlib/facts/*.py* %{python_sitearch}/rhsmlib/services/*.py* %{python_sitearch}/rhsmlib/dbus/*.py* %{python_sitearch}/rhsmlib/dbus/facts/*.py* %{python_sitearch}/rhsmlib/dbus/objects/*.py* -%if %{with python3} %{python_sitearch}/rhsmlib/__pycache__ %{python_sitearch}/rhsmlib/candlepin/__pycache__ -%{python_sitearch}/rhsmlib/compat/__pycache__ %{python_sitearch}/rhsmlib/dbus/__pycache__ %{python_sitearch}/rhsmlib/dbus/facts/__pycache__ %{python_sitearch}/rhsmlib/dbus/objects/__pycache__ %{python_sitearch}/rhsmlib/facts/__pycache__ %{python_sitearch}/rhsmlib/services/__pycache__ -%endif + +# syspurpose +%dir %{python_sitearch}/syspurpose +%{python_sitearch}/syspurpose/*.py* +%{python_sitearch}/syspurpose/__pycache__ %{_datadir}/polkit-1/actions/com.redhat.*.policy %{_datadir}/dbus-1/system-services/com.redhat.*.service @@ -1032,35 +583,19 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti # Despite the name similarity dbus-1/system.d has nothing to do with systemd %config(noreplace) %{_sysconfdir}/dbus-1/system.d/com.redhat.*.conf -%if %use_systemd - %attr(644,root,root) %{_unitdir}/*.service - %attr(644,root,root) %{_tmpfilesdir}/%{name}.conf - %if 0%{?suse_version} - %{_sbindir}/rcrhsm - %{_sbindir}/rcrhsm-facts - %endif -%else - %attr(755,root,root) %{_initrddir}/rhsmcertd -%endif - -%if 0%{?suse_version} - %{_sbindir}/rcrhsmcertd -%endif +%attr(644,root,root) %{_unitdir}/*.service +%attr(644,root,root) %{_tmpfilesdir}/%{name}.conf # Incude rt CLI tool %dir %{python_sitearch}/rct %{python_sitearch}/rct/*.py* -%if %{with python3} %{python_sitearch}/rct/__pycache__ -%endif %attr(755,root,root) %{_bindir}/rct # Include consumer debug CLI tool %dir %{python_sitearch}/rhsm_debug %{python_sitearch}/rhsm_debug/*.py* -%if %{with python3} %{python_sitearch}/rhsm_debug/__pycache__ -%endif %attr(755,root,root) %{_bindir}/rhsm-debug %doc @@ -1071,126 +606,19 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %{_mandir}/man5/rhsm.conf.5* %doc LICENSE - -%if %{use_rhsm_gtk} -%files -n rhsm-gtk -%defattr(-,root,root,-) -%dir %{python_sitearch}/subscription_manager/gui -%{python_sitearch}/subscription_manager/gui/*.py* -%{python_sitearch}/subscription_manager/gui/data/ui/*.ui -%{python_sitearch}/subscription_manager/gui/data/glade/*.glade -%{python_sitearch}/subscription_manager/gui/data/icons/*.svg -%if %{with python3} -%{python_sitearch}/subscription_manager/gui/__pycache__ -%endif -%endif - - -%if %{use_subman_gui} -%files -n subscription-manager-gui -%defattr(-,root,root,-) -%attr(755,root,root) %{_sbindir}/subscription-manager-gui -%if 0%{?suse_version} -%dir %{python_sitearch}/subscription_manager/gui/data -%dir %{python_sitearch}/subscription_manager/gui/data/glade -%dir %{python_sitearch}/subscription_manager/gui/data/icons -%dir %{python_sitearch}/subscription_manager/gui/data/ui -%dir %{_datadir}/appdata -%dir %{_datadir}/gnome -%dir %{_datadir}/gnome/help -%dir %{_datadir}/gnome/help/subscription-manager -%dir %{_datadir}/gnome/help/subscription-manager/C -%dir %{_datadir}/gnome/help/subscription-manager/C/figures -%dir %{_datadir}/omf -%dir %{_datadir}/omf/subscription-manager -%else -# symlink to console-helper -%{_bindir}/subscription-manager-gui -%endif - - -%doc %{_datadir}/gnome/help/subscription-manager/C/figures/*.png -%doc %{_datadir}/gnome/help/subscription-manager/C/*.xml -%{_datadir}/omf/subscription-manager/subscription-manager-C.omf - -%{_datadir}/applications/subscription-manager-gui.desktop -%{_datadir}/appdata/subscription-manager-gui.appdata.xml - - -%if !0%{?suse_version} -%{_sysconfdir}/pam.d/subscription-manager-gui -%{_sysconfdir}/security/console.apps/subscription-manager-gui -%endif - -%{completion_dir}/subscription-manager-gui - -%doc -%{_mandir}/man8/subscription-manager-gui.8* -%doc LICENSE -%endif - - -%if %use_initial_setup - -%files -n subscription-manager-initial-setup-addon -%defattr(-,root,root,-) -%dir %{_datadir}/anaconda/addons/com_redhat_subscription_manager/ -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/*.py* -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/*.py* -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/spokes/*.ui -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/spokes/*.py* -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/categories/*.py* -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/ks/*.py* -%if %{with python3} -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/__pycache__ -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/__pycache__ -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/spokes/__pycache__ -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/categories/__pycache__ -%{_datadir}/anaconda/addons/com_redhat_subscription_manager/ks/__pycache__ -%endif - -%endif - -%files -n %{py_package_prefix}-syspurpose -f syspurpose.lang -%defattr(-,root,root,-) -%dir %{python_sitelib}/syspurpose*.egg-info -%{python_sitelib}/syspurpose*.egg-info/* -%dir %{_sysconfdir}/rhsm/syspurpose -%dir %{python_sitelib}/syspurpose -%{python_sitelib}/syspurpose/*.py* -%if %{with python3} -%{python_sitelib}/syspurpose/__pycache__ -%endif -%doc %{_mandir}/man8/syspurpose.8.* -%doc LICENSE - -%attr(755, root, root) %{_sbindir}/syspurpose -%attr(644,root,root) %{_sysconfdir}/rhsm/syspurpose/valid_fields.json -%attr(644,root,root) %{completion_dir}/syspurpose - %if %{use_container_plugin} %files -n subscription-manager-plugin-container %defattr(-,root,root,-) -%if 0%{?suse_version} -%dir %{_sysconfdir}/docker -%dir %{_sysconfdir}/docker/certs.d -%dir %{_sysconfdir}/rhsm/ca -%dir %{python_sitearch}/subscription_manager/plugin -%endif %{_sysconfdir}/rhsm/pluginconf.d/container_content.ContainerContentPlugin.conf %{rhsm_plugins_dir}/container_content.py* -%if %{with python3} %{rhsm_plugins_dir}/__pycache__/*container* %{python_sitearch}/subscription_manager/plugin/container/__pycache__ -%endif %{python_sitearch}/subscription_manager/plugin/container/*.py* -%if %{undefined almalinux_ver} # Copying Red Hat CA cert into each directory: %attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com %attr(644,root,root) %{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt %endif -%endif %if %has_ostree %files -n subscription-manager-plugin-ostree @@ -1198,32 +626,22 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %{_sysconfdir}/rhsm/pluginconf.d/ostree_content.OstreeContentPlugin.conf %{rhsm_plugins_dir}/ostree_content.py* %{python_sitearch}/subscription_manager/plugin/ostree/*.py* -%if %{with python3} %{python_sitearch}/subscription_manager/plugin/ostree/__pycache__ %{rhsm_plugins_dir}/__pycache__/*ostree* %endif -%endif -%if %use_firstboot -%files -n subscription-manager-firstboot +%if %{use_dnf} +# libdnf RPM +%if %{create_libdnf_rpm} +%files -n libdnf-plugin-subscription-manager %defattr(-,root,root,-) -%if 0%{?suse_version} -%dir %{_datadir}/rhn -%dir %{_datadir}/rhn/up2date_client -%dir %{_datadir}/rhn/up2date_client/firstboot -%endif -# Not explicitly byte compiling this as we do not support firstboot -# on newer versions of fedora -%{_datadir}/rhn/up2date_client/firstboot/rhsm_login.py* -%endif - - -%if %use_dnf +%{_libdir}/libdnf/plugins/product-id.so +%else +# DNF RPM %files -n dnf-plugin-subscription-manager %defattr(-,root,root,-) %{python_sitelib}/dnf-plugins/* -%if (0%{?fedora} >= 29 || 0%{?rhel} >= 8) %{_libdir}/libdnf/plugins/product-id.so %endif %endif @@ -1234,83 +652,39 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %dir %{python_sitearch}/rhsm %{python_sitearch}/rhsm/* -%if %{with python2_rhsm} -%files -n python2-subscription-manager-rhsm -%defattr(-,root,root,-) -%dir %{python2_sitearch}/rhsm -%{python2_sitearch}/rhsm/* -%endif - %files -n python3-cloud-what %defattr(-,root,root,-) %attr(750,root,root) %dir %{_var}/cache/cloud-what %dir %{python_sitearch}/cloud_what %dir %{python_sitearch}/cloud_what/providers -%{python_sitearch}/cloud_what/* -%if %{with python3} +%{python_sitearch}/cloud_what/*.py* +%{python_sitearch}/cloud_what/providers/*.py* %{python_sitearch}/cloud_what/__pycache__ %{python_sitearch}/cloud_what/providers/__pycache__ -%endif - -%if %use_cockpit -%files -n subscription-manager-cockpit -%defattr(-,root,root,-) -%dir %{_datadir}/cockpit/subscription-manager -%{_datadir}/cockpit/subscription-manager/index.html -%{_datadir}/cockpit/subscription-manager/index.min.js.gz -%{_datadir}/cockpit/subscription-manager/index.css -%{_datadir}/cockpit/subscription-manager/manifest.json -%{_datadir}/cockpit/subscription-manager/po.*.js -%{_datadir}/cockpit/subscription-manager/po.js -%{_datadir}/metainfo/org.candlepinproject.subscription_manager.metainfo.xml -%if ! %use_subman_gui -%{_datadir}/applications/subscription-manager-cockpit.desktop -%endif -%endif - -%if %use_rhsm_icons -%files -n rhsm-icons -%defattr(-,root,root,-) -%{_datadir}/icons/hicolor/scalable/apps/*.svg -%{_datadir}/icons/hicolor/symbolic/apps/*.svg -%endif %pre -# Remove old *.egg-info empty directories not removed be previous versions of RPMs -# due to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1927245 -rmdir %{python_sitearch}/subscription_manager-*-*.egg-info 2> /dev/null || true -%if %use_systemd - %if 0%{?suse_version} - %service_add_pre rhsm.service - %service_add_pre rhsm-facts.service - %service_add_pre rhsmcertd.service - %endif +%if 0%{?suse_version} + %service_add_pre rhsm.service + %service_add_pre rhsm-facts.service + %service_add_pre rhsmcertd.service %endif %post -%if %use_systemd - %if 0%{?suse_version} - %service_add_post rhsmcertd.service - %service_add_post rhsm.service - %service_add_post rhsm-facts.service - %tmpfiles_create %{_tmpfilesdir}/subscription-manager.conf - %else - %systemd_post rhsmcertd.service - %endif +%if 0%{?suse_version} + %service_add_post rhsmcertd.service + %service_add_post rhsm.service + %service_add_post rhsm-facts.service + %tmpfiles_create %{_tmpfilesdir}/subscription-manager.conf %else - %if 0%{?suse_version} - %fillup_and_insserv -f rhsmcertd - %else - chkconfig --add rhsmcertd - %endif + %systemd_post rhsmcertd.service %endif # When subscription-manager is upgraded on RHEL 8 (from RHEL 8.2 to RHEL 8.3), then kill # instance of rhsmd, because it is not necessary anymore and it can cause issues. # See: https://bugzilla.redhat.com/show_bug.cgi?id=1840364 -%if ( 0%{?rhel} >= 8 || 0%{?fedora} ) +%if ( 0%{?rhel} || 0%{?fedora} ) if [ "$1" = "2" ] ; then killall rhsmd 2> /dev/null || true fi @@ -1323,44 +697,20 @@ if [ -x /bin/dbus-send ] ; then dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || : fi -%if !%use_systemd -if [ "$1" = "2" ] ; then - /sbin/service rhsmcertd condrestart >/dev/null 2>&1 || : -fi -%endif -%if %{use_subman_gui} -%post -n subscription-manager-gui -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -%if !0%{?suse_version} -scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : -%endif -%endif - -%if !0%{?suse_version} %if %{use_container_plugin} %post -n subscription-manager-plugin-container %{__python} %{rhsm_plugins_dir}/container_content.py || : %endif -%endif %preun if [ $1 -eq 0 ] ; then - %if %use_systemd - %if 0%{?suse_version} - %service_del_preun rhsm.service - %service_del_preun rhsm-facts.service - %service_del_preun rhsmcertd.service - %else - %systemd_preun rhsmcertd.service - %endif + %if 0%{?suse_version} + %service_del_preun rhsm.service + %service_del_preun rhsm-facts.service + %service_del_preun rhsmcertd.service %else - %if 0%{?suse_version} - %stop_on_removal %{_initrddir}/rhsmcertd - %else - /sbin/service rhsmcertd stop >/dev/null 2>&1 - /sbin/chkconfig --del rhsmcertd - %endif + %systemd_preun rhsmcertd.service %endif if [ -x /bin/dbus-send ] ; then @@ -1369,57 +719,127 @@ if [ $1 -eq 0 ] ; then fi %postun -%if %use_systemd - %if 0%{?suse_version} - %service_del_postun rhsmcertd.service - %service_del_postun rhsm.service - %service_del_postun rhsm-facts.service - %else - %systemd_postun_with_restart rhsmcertd.service - %endif +%if 0%{?suse_version} + %service_del_postun rhsmcertd.service + %service_del_postun rhsm.service + %service_del_postun rhsm-facts.service %else - %if 0%{?suse_version} - %insserv_cleanup %{_initrddir}/rhsmcertd - %endif + %systemd_postun_with_restart rhsmcertd.service %endif -%if %{use_subman_gui} -%postun -n subscription-manager-gui -if [ $1 -eq 0 ] ; then - %if (0%{?fedora} < 30 || 0%{?rhel} < 8) - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %endif - - %if !0%{?suse_version} - scrollkeeper-update -q || : - %endif -fi -%posttrans -n subscription-manager-gui -%if (0%{?fedora} < 30 || 0%{?rhel} < 8) -touch --no-create %{_datadir}/icons/hicolor &>/dev/null -gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : -%endif - -%endif +%posttrans +# Remove old *.egg-info empty directories not removed be previous versions of RPMs +# due to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1927245 +rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non-empty +# Remove old cache files +# The -f flag ensures that exit code 0 will be returned even if the file does not exist. +rm -f /var/lib/rhsm/cache/rhsm_icon.json %changelog -* Wed Mar 27 2024 Eduard Abdullin - 1.28.42-1.alma -- AlmaLinux changes +* Wed Aug 21 2024 Pino Toscano 1.30.1-1 +- feat: forcefully switch automatic cloud registration to v1 + (ptoscano@redhat.com) -* Thu Jan 25 2024 Pino Toscano 1.28.42-1 +* Fri Aug 16 2024 Pino Toscano 1.30.0-1 +- Translated using Weblate (Russian) (aleksejfedorov963@gmail.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- chore: Format register.py (mhorky@redhat.com) +- feat: Require SCA for registration (mhorky@redhat.com) +- doc: Update install and testing guide (stomsa@redhat.com) +- Fixed spec file to list packages twice (suttner@atix.de) +- code review comments fixes - update metadata and test. (chambrid@redhat.com) +- feat: Disable anonymous cloud registration temporarily (mhorky@redhat.com) +- Collect Azure VM Name and Resource Group Name as a cloud fact. + (chambrid@redhat.com) +- fix: Improve wording in redhat.repo template (glutexo@icloud.com) +- Remove commands moved to syspurpose (glutexo@icloud.com) +- doc: drop references to "activate" (ptoscano@redhat.com) +- feat: Remove import command (zpetrace@redhat.com) +- fix: make SyspurposeComplianceStatusCache.get_overall_status() always usable + (ptoscano@redhat.com) +- fix: Change order of checks (jhnidek@redhat.com) +- fix: Cache shouldn't try to get data from server without UUID + (jhnidek@redhat.com) +- feat: Add option to run smoke tests with fake IMDS servers. + (jhnidek@redhat.com) +- fix: Hide subscription management "errors" in container mode + (mhorky@redhat.com) +- feat(ci): Update testing matrix (mhorky@redhat.com) +- fix(test): Properly stop method mock (mhorky@redhat.com) +- feat: Azure: added extended location and type of location fact + (jhnidek@redhat.com) +- fix: Update version of Azure metadata (jhnidek@redhat.com) +- feat: Added Azure location to facts (jhnidek@redhat.com) +- feat: Added zone GCP fact (jhnidek@redhat.com) +- feat: Added more AWS cloud facts (jhnidek@redhat.com) +- fix: Change type hint according returned value. (jhnidek@redhat.com) +- feat: Add warning message about release version to dnf plugin + (jhnidek@redhat.com) +- Bump black from 23.3.0 to 24.3.0 + (49699333+dependabot[bot]@users.noreply.github.com) +- Format code with black==24.3.0 (ptoscano@redhat.com) +- Fix memory leaks in test-productdb.c (jhnidek@redhat.com) +- Fix memory leaks in productdb.c (jhnidek@redhat.com) +- fix: Function prototype without declaration is deprecated + (jhnidek@redhat.com) +- Removed unused includes of .h files (jhnidek@redhat.com) +- libdnf: switch from g_error_free() to g_clear_error() in tests + (ptoscano@redhat.com) +- libdnf: do not build test code in plugin (ptoscano@redhat.com) +- Change handling of deprecated `datetime.datetime.utcnow()` + (mhorky@redhat.com) +- CCT-66: Update identity reporting in DNF plugin during autoregistration + (mhorky@redhat.com) +- Remove automatic registration delay for rhsmcertd (mhorky@redhat.com) +- Remove API endpoint for automatic cloud registration v1 (mhorky@redhat.com) +- CCT-67: Use automatic registration v2 (mhorky@redhat.com) +- IdentityUpdateAction: Improve logging for updating identity certificates + (mhorky@redhat.com) +- Identity: Add method to extract current owner (mhorky@redhat.com) +- rhsmcertd: Define exit codes (mhorky@redhat.com) +- rhsmcertd: Use module-level logger (mhorky@redhat.com) +- Add AnonymousCertificateManager (mhorky@redhat.com) +- Add CloudTokenCache for Candlepin JWT (mhorky@redhat.com) +- Implement API endpoints for Automatic registration v2 (mhorky@redhat.com) +- Update documentation for one API call in connection.py (mhorky@redhat.com) +- Fix type hint of RegisterService.register() (mhorky@redhat.com) +- rhsmcertd: Drop D-Bus loop code (mhorky@redhat.com) +- rhsmcertd: Add type hints (mhorky@redhat.com) +- rhsmcertd: Remove forgotten old comment (mhorky@redhat.com) +- Stop logging full lscpu output (mhorky@redhat.com) +- Prevent double-logging of syspurpose cache log statement (mhorky@redhat.com) +- Update the log message containing response time statistics + (mhorky@redhat.com) +- CCT-266: Update TLS flags (mhorky@redhat.com) + +* Thu Jan 18 2024 Pino Toscano 1.29.40-1 - Translated using Weblate (Korean) (simmon@nplob.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (mariocanfly@hotmail.com) -- RHEL-21049: [1.28] RegisterServer is stopped, when not needed - (jhnidek@redhat.com) -- RHEL-21049: [1.28] Fix issue with registration using gsd-subman - (jhnidek@redhat.com) -* Tue Dec 05 2023 Pino Toscano 1.28.41-1 +- spec: Add missing GLib dependency when building without DNF + (debarshir@gnome.org) +- Remove deprecated `locale.*()` functions (mhorky@redhat.com) +- Remove version constraint of pytest (mhorky@redhat.com) +- RHEL-15110: RegisterServer is stopped, when not needed (jhnidek@redhat.com) +- RHEL-15110: Fix issue with registration using gsd-subman (jhnidek@redhat.com) +- Fix an error in debug logging of cloud-what (mhorky@redhat.com) +- ci: bump actions/upload-artifact from 3 to 4 + (49699333+dependabot[bot]@users.noreply.github.com) +- Improve debug logging to make it faster to understand (mhorky@redhat.com) + +* Thu Nov 23 2023 Pino Toscano 1.29.39-1 - tito: drop bz requirement (ptoscano@redhat.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (jsefler@redhat.com) +- RHEL-7206: Small change of message printed by dnf plugin (jhnidek@redhat.com) +- CCT-118: Fix flake8 error E721 (mhorky@redhat.com) +- Fix type hint in rhsm (mhorky@redhat.com) +- Simplify autoregistration test setup (mhorky@redhat.com) +- RHEL-9435: Get AWS metadata via IMDSv2 (mhorky@redhat.com) +- Fixed inappropriate logical expression (ataf@openrefactory.com) - CCT-71: Try to ping server, when --proxy is used (jhnidek@redhat.com) - CCT-10: Ensure IPv6-based URLs are properly formatted (mhorky@redhat.com) +- RPM: Avoid needless runtime requirement on python3-setuptools + (miro@hroncok.cz) - cli: normalize hostname in error message (ptoscano@redhat.com) - connection: normalize hostname in ConnectionOSErrorException (ptoscano@redhat.com) @@ -1427,140 +847,211 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - Use username and password from --proxy=URL (jhnidek@redhat.com) - Use parse_url() from utils.py for parsing URL, when --proxy is used. (jhnidek@redhat.com) -- RHEL-13375: 1.28 Parse URL properly (jhnidek@redhat.com) -- ci: stop testing on Fedora (ptoscano@redhat.com) -- Simplify autoregistration test setup (mhorky@redhat.com) -- RHEL-9435: Get AWS metadata via IMDSv2 (mhorky@redhat.com) +- 2225403: Parse URL properly (jhnidek@redhat.com) -* Thu Sep 14 2023 Pino Toscano 1.28.40-1 +* Thu Sep 14 2023 Pino Toscano 1.29.38-1 - Translated using Weblate (Chinese (Simplified) (zh_CN)) (ptoscano@redhat.com) +- ci: bump actions/checkout from 3 to 4 + (49699333+dependabot[bot]@users.noreply.github.com) +- ENT-5603: Fix a typo in a comment (mhorky@redhat.com) -* Wed Aug 23 2023 Pino Toscano 1.28.39-1 +* Wed Aug 23 2023 Pino Toscano 1.29.37-1 - Translated using Weblate (Korean) (simmon@nplob.com) - Update translation files (noreply@weblate.org) -- 2225443: [1.28] Hotfix of D-Bus policy (jhnidek@redhat.com) -- New extraction for translatable strings (ptoscano@redhat.com) -- Translated using Weblate (Punjabi) (jsefler@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- [1.28] Update messaging around the "container mode" (#3310) - (34436146+grunwmar@users.noreply.github.com) +- 2225446: Hotfix of D-Bus policy (jhnidek@redhat.com) +- TESTING: Update testing requirements (mhorky@redhat.com) +- Use Fedora registry to pull container images (mhorky@redhat.com) +- 2232316: dbus: check "force" again from the registration option + (ptoscano@redhat.com) +- dbus: run EntCertActionInvoker on PoolAttach (ptoscano@redhat.com) - ENT-5624: Properly translate error strings (mhorky@redhat.com) -- ENT-5610: Explicitly check for provided entitlement certificates - (mhorky@redhat.com) -- Fix flake8 errors (mhorky@redhat.com) -- Run flake8 and rpmlint on CI (mhorky@redhat.com) - Mock IOError for Insights fact collection tests (mhorky@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) + +* Wed Aug 02 2023 Pino Toscano 1.29.36-1 +- Translated using Weblate (Korean) (simmon@nplob.com) +- ENT-5581: Update messaging around the "container mode" (mhorky@redhat.com) +- Remove 'dbus' marker for pytest (mhorky@redhat.com) +- Rewrite D-Bus tests to be testable without pytest-forked (mhorky@redhat.com) +- Drop further ethtool dependency mentions (mhorky@redhat.com) +- tests: fix test_file_monitor without pyinotify (ptoscano@redhat.com) +- tests: switch from imp to importlib (ptoscano@redhat.com) +- Fix the order of user env var checking for translations. + (tkuratom@redhat.com) +- 2215974: Collect network facts using 'ip' (mhorky@redhat.com) +- ENT-5582: Remove container detection envvar overwrite (mhorky@redhat.com) +- ENT-5603: Explicitly check for provided entitlement certificates + (mhorky@redhat.com) +- fix test case (chambrid@redhat.com) - Collect GCP Project information as cloud facts (chambrid@redhat.com) - Collect Azure Subscription ID as a cloud fact (#3285) (chambrid@redhat.com) -- Update cockpit test lib for Chromium 113 fix (martin@piware.de) +- ENT-5580: Disable the proper container detection (mhorky@redhat.com) +- spec: convert License to SPDX (ptoscano@redhat.com) +- 2093291: Make reading of cache file more reliable (jhnidek@redhat.com) +- 2093291: Make code of DNF plugins testable (jhnidek@redhat.com) +- spec: change subscription-manager dnf dep (ptoscano@redhat.com) +- spec: update libdnf-plugin-subscription-manager deps (ptoscano@redhat.com) - tests: repair attach cases in SCA mode (ptoscano@redhat.com) -- 2091269: Make locking more reliable (jhnidek@redhat.com) -* Wed May 17 2023 Pino Toscano 1.28.38-1 +* Tue May 16 2023 Pino Toscano 1.29.35-1 - Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- Update translation files (noreply@weblate.org) - Clean up tests using Cloud What detectors properly (mhorky@redhat.com) - spec: Obsolete subscription-manager-migration (ptoscano@redhat.com) -- New extraction for translatable strings (ptoscano@redhat.com) -- Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- 2150814: Drop RHN migration (ptoscano@redhat.com) -- ci: stop testing on Fedora Rawhide (ptoscano@redhat.com) -- Drop redhat-uep.pem (ptoscano@redhat.com) -- Move redhat-entitlement-authority.pem to container plugin - (ptoscano@redhat.com) -- Drop subscription-manager-rhsm-certificates package (ptoscano@redhat.com) -- utils: import pkg_resources only when needed (ptoscano@redhat.com) -- ENT-5532: Call rhsm-package-profile-uploader with --force-upload - (jhnidek@redhat.com) -- rhsmcertd reads default_log_level from rhsm.conf (jhnidek@redhat.com) -- Create log dir by rhsmcertd, when log dir does not exist (jhnidek@redhat.com) -- Fix issue with old glib not containing one macro (jhnidek@redhat.com) -- 2132242: [1.28] Outsource uploading DNF profile to rhsmcertd - (jhnidek@redhat.com) -- 1890080: Handle IOErrors and Exceptions when looking for process names - (csnyder@redhat.com) -- ci: install nodejs-npm on Fedora (ptoscano@redhat.com) -- tito: add centos-8-stream releaser (ptoscano@redhat.com) - -* Wed Apr 19 2023 Pino Toscano 1.28.37-1 -- 2174887: register: do a simple strip() on environment(s) input - (ptoscano@redhat.com) -- [1.28] Remove source code of rhsm-icon (jhnidek@redhat.com) -- Fix of unit tests of d-bus register: extended list of exceptions for - catching. (jhnidek@redhat.com) -- [1.28] Include D-Bus sender in User-Agent http header; Singleton - (jhnidek@redhat.com) -- Revert "Try to use --forked for all unit tests." (ptoscano@redhat.com) -- test: add simple test for 1982670 (ptoscano@redhat.com) -- 2076948: [1.28] Fix issue with race condition in rhsm.service - (jhnidek@redhat.com) -- 1982670: do not collect unentitled products in SCA mode (ptoscano@redhat.com) -- Use dmidecode on aarch64 (jhnidek@redhat.com) -- Fix possible parsing issues of dmidecode output (mhorky@redhat.com) -- zypper: drop dead python-dmidecode usage (ptoscano@redhat.com) -- facts: drop DmiFirmwareInfoCollector (ptoscano@redhat.com) -- facts: switch to DmidecodeFactCollector for DMI facts (ptoscano@redhat.com) -- facts: add dmidecode parser and facts collector (ptoscano@redhat.com) -- cloud-what: switch MiniHostCollector to dmidecode(1) (ptoscano@redhat.com) -- Remove pytest arguments for CentOS 9 Stream image (mhorky@redhat.com) -- tests: Install dnf-plugins-core every time (mhorky@redhat.com) - -* Wed Feb 22 2023 Pino Toscano 1.28.36-1 -- Translated using Weblate (French) (ljanda@redhat.com) -- Translated using Weblate (French) (suanand@redhat.com) -- Translated using Weblate (Korean) (jsefler@redhat.com) -- 2168576: cockpit: insights: fix spawn_error_to_string in more cases - (ptoscano@redhat.com) -- cockpit: Fix the issue, when it is not possible to install insights-client - (jhnidek@redhat.com) -- ENT-5542: Build package using GitHub Actions (mhorky@redhat.com) -- 2166317: gui: do not use an empty environment string (ptoscano@redhat.com) -- Test libdnf plugin using GitHub Actions (mhorky@redhat.com) -- libdnf: fix return value of findProductId() (ptoscano@redhat.com) -- 1938878: Fix issues discovered by static code analyzers (#2644) - (jhnidek@redhat.com) -- ENT-5541: Publish PR coverage (mhorky@redhat.com) -- 2166623: gui: use UnknownContentException instead of NetworkException - (ptoscano@redhat.com) -- ENT-3759: Test on GitHub Actions (mhorky@redhat.com) -- Alter import of rhsm.config functions (mhorky@redhat.com) -- ENT-5536: Fix FileMonitor tests (mhorky@redhat.com) -- tests: drop test_po_files.py (ptoscano@redhat.com) -- Ensure tests don't fail when run under root (mhorky@redhat.com) -- build: pin pytest to < 7 (ptoscano@redhat.com) -- rhsm: drop custom which() implementation (ptoscano@redhat.com) -- facts: switch to shutil.which() (ptoscano@redhat.com) -- Fix tests for Python 3.6 runner (mhorky@redhat.com) -- Stop calling pytest with --failed-first (mhorky@redhat.com) -- Handle tests in containers better (mhorky@redhat.com) -* Fri Jan 20 2023 Pino Toscano 1.28.35-1 -- Translated using Weblate (Spanish) (ptoscano@redhat.com) -- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda@redhat.com) - Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) - Update translation files (noreply@weblate.org) -- Translated using Weblate (German) (atalanttore@googlemail.com) - New extraction for translatable strings (ptoscano@redhat.com) -- Base DBusServerStubProvider on SubManFixture (mhorky@redhat.com) -- Mark D-Bus tests (mhorky@redhat.com) -- Remove unused classes of DBus tests (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Unregister (mhorky@redhat.com) -- ENT-5350: Implement "force" register option in rhsm dbus python bindings +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Typo fixes (ptoscano@redhat.com) +- Avoid string puzzle (ptoscano@redhat.com) +- Properly use ungettext for plural forms (ptoscano@redhat.com) +- 2189664: cache: fix SyspurposeComplianceStatusCache on failed load + (ptoscano@redhat.com) +- dbus: don't catch exceptions in DomainSocketServer.run() + (ptoscano@redhat.com) +- cli: directly exit on InvalidCLIOptionError (ptoscano@redhat.com) +- Revert "ENT-5549: Fix return code handling of CLI" (ptoscano@redhat.com) +- ci: add dependabot config for GitHub Actions (ptoscano@redhat.com) +- Update .git-blame-ignore-revs (mhorky@redhat.com) +- Format code with black==23.3.0 (mhorky@redhat.com) +- ENT-5535: Update black to version 23.3.0 (mhorky@redhat.com) + +* Wed Apr 12 2023 Pino Toscano 1.29.34-1 +- Update TESTING.md (mhorky@redhat.com) +- Improved debug print of http traffic, when proxy is used (jhnidek@redhat.com) +- ENT-5544: Remove Jenkins jobs, Containers (mhorky@redhat.com) +- ENT-5549: Remove unused code from entcertlib (mhorky@redhat.com) +- ENT-5549: Fix issues found when type-hinting (mhorky@redhat.com) +- ENT-5549: Fix return code handling of CLI (mhorky@redhat.com) +- ENT-5549: Fix found type hint issues (mhorky@redhat.com) +- ENT-5549: Fix object instantiation in EntitlementDirectory (mhorky@redhat.com) -- ENT-5533: Fix failures of D-Bus' Register tests (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Register (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Products (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of AllFacts (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Entitlement (mhorky@redhat.com) -- Fix typo in method name of EntitlementService (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Consumer (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Attach (mhorky@redhat.com) -- ENT-5533: Update D-Bus tests of Config (mhorky@redhat.com) -- Skip AsyncPool tests (mhorky@redhat.com) -- Catch generic OSError during BaseRestLib._request() (ptoscano@redhat.com) +- ENT-5549: Refactor ProductDirectory (mhorky@redhat.com) +- ENT-5549: Change internal implementation for some Cache methods + (mhorky@redhat.com) +- ENT-5549: Clean up _sync_with_server arguments of cache objects + (mhorky@redhat.com) +- ENT-5549: Remove 'autoheal' argument from Action clients (mhorky@redhat.com) +- Refactored code a little bit (jhnidek@redhat.com) +- 2093291: Make locking more reliable (jhnidek@redhat.com) +- test: add simple test for 2178610 (ptoscano@redhat.com) +- Small improvement of debugging of http traffic (jhnidek@redhat.com) +- 2093883: Fix issue with race condition in rhsm.service (jhnidek@redhat.com) +- 2178610: do not collect unentitled products in SCA mode (ptoscano@redhat.com) +- 2174297: register: do a simple strip() on environment(s) input + (ptoscano@redhat.com) +- Stop subclassing 'object' (ptoscano@redhat.com) +- Remove pytest arguments for CentOS 9 Stream image (mhorky@redhat.com) +- tests: Install dnf-plugins-core every time (mhorky@redhat.com) +- 2169251: connection: restore UEPConnection.getJob() (ptoscano@redhat.com) +- ENT-5106: Type-hint subscription_manager/ files (mhorky@redhat.com) + +* Thu Feb 16 2023 Pino Toscano 1.29.33-1 +- Translated using Weblate (French) (ljanda@redhat.com) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) +- Translated using Weblate (Japanese) (suanand@redhat.com) +- Translated using Weblate (Japanese) (ljanda@redhat.com) +- Translated using Weblate (French) (suanand@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- Translated using Weblate (Korean) (jsefler@redhat.com) +- ENT-5542: Build package using GitHub Actions (mhorky@redhat.com) +- Test libdnf plugin using GitHub Actions (mhorky@redhat.com) +- libdnf: fix return value of findProductId() (ptoscano@redhat.com) +- ENT-5541: Publish PR coverage (mhorky@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- Translated using Weblate (Kannada) (jsefler@redhat.com) +- Translated using Weblate (Spanish) (ptoscano@redhat.com) +- Simplify test setup for D-Bus fact collection (mhorky@redhat.com) +- ENT-3759: Test on GitHub Actions (mhorky@redhat.com) + +* Mon Jan 16 2023 Pino Toscano 1.29.32-1 +- Translated using Weblate (French) (ljanda@redhat.com) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- utils: import pkg_resources only when needed (ptoscano@redhat.com) +- ENT-5536: Fix FileMonitor tests (mhorky@redhat.com) +- Alter import of rhsm.config functions (mhorky@redhat.com) +- Handle tests in containers better (mhorky@redhat.com) +- Call parent methods in DBusServerStubProvider (mhorky@redhat.com) +- Base D-Bus tests on SubManFixture (mhorky@redhat.com) +- ENT-5532: Call rhsm-package-profile-uploader with --force-upload + (jhnidek@redhat.com) +- 2108549: do not detect containers in OCP as such (ptoscano@redhat.com) +- tests: extend InContainerTests for path checks (ptoscano@redhat.com) +- Resolved issues in PR feedback (jajerome@redhat.com) +- Updated request handling in connection.py (jajerome@redhat.com) +- Resolve issues from PR review (jajerome@redhat.com) +- Removed fixme since activateMachine() is still used (jajerome@redhat.com) +- Black/flake8 fixes (jajerome@redhat.com) +- FIXME: renamed default argument to not shadow inbuilt type + (jajerome@redhat.com) +- FIXME: removed Restlib and using only BaseRestLib (jajerome@redhat.com) +- FIXME: updated unregisterConsumer() to return True if status code is 204 + (jajerome@redhat.com) +- FIXME: changed unbindBySerial/unbindByPoolId to return bool + (jajerome@redhat.com) +- FIXME: changed default value of facts in updateConsumerFacts() + (jajerome@redhat.com) +- FIXME: sanitized email/lang variables in activateMachine() + (jajerome@redhat.com) +- FIXME: made email argument required in activatemachine() + (jajerome@redhat.com) +- FIXME: changed default value of serials argument to None + (jajerome@redhat.com) +- FIXME: removed unused username/password arguments (jajerome@redhat.com) +- FIXME: raise exceptions where sanitizing guest Id returns None + (jajerome@redhat.com) +- FIXME: renamed response argument to result in validateResponse() + (jajerome@redhat.com) +- FIXME: rename info argument to params in _request() (jajerome@redhat.com) +- FIXME: added error message when redeeming subscription fails + (jajerome@redhat.com) +- FIXME: removed unused UEPConnection class methods (jajerome@redhat.com) +- Fixed profile tests setting Package release numbers as int instead of str + (jajerome@redhat.com) +- FIXME: changed epoch data type to str in Package class (jajerome@redhat.com) +- FIXME: added null-checks for stdout/stderr wrapper (jajerome@redhat.com) +- FIXME: re-iterated a fix is not needed for urlparse (jajerome@redhat.com) +- FIXME: added exception messages to parse_url() (jajerome@redhat.com) +- FIXME: changed lists to tuples in StatusSpinnerStyle class + (jajerome@redhat.com) +- FIXME: fixed type hints for _normalize_string() (jajerome@redhat.com) +- FIXME: use super() instead of class name (jajerome@redhat.com) +- FIXME: fixed strings not being translated in is_log_level_valid() + (jajerome@redhat.com) +- FIXME: resolved improper use of tempfile in save() (jajerome@redhat.com) +- FIXME: fixed config_file argument not being used in save() + (jajerome@redhat.com) +- FIXME: updated default value for files_name argument in read() + (jajerome@redhat.com) +- FIXME: fixed minor typo in bogus() (jajerome@redhat.com) +- FIXME: changed read() to return self instead of None (jajerome@redhat.com) +- FIXME: set default argument 'facts' to None in registerConsumer() + (jajerome@redhat.com) +- FIXME: renamed argument 'type' to 'consumer_type' in registerConsumer() + (jajerome@redhat.com) +- FIXME: ping() resolved in rhsm/connection.py (jajerome@redhat.com) +- Remove test dependency 'mock' (mhorky@redhat.com) +- Fix failures of D-Bus' Register tests (mhorky@redhat.com) +- Mark D-Bus tests (mhorky@redhat.com) +- 2131789: Outsource uploading DNF profile to rhsmcertd (jhnidek@redhat.com) +- Catch generic OSError during HTTPSConnection.connect() (ptoscano@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- Translated using Weblate (French) (vincent.lefebvre59@gmail.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Fix formatting of proxy errors w/o errno (ptoscano@redhat.com) - Catch also CertificateLoadingError for identity cert loading (ptoscano@redhat.com) -- Fix formatting of proxy errors w/o errno (ptoscano@redhat.com) +- ENT-4286: Additional fix for exception handling (jajerome@redhat.com) +- Remove D-Bus env vars from container and CI files (mhorky@redhat.com) +- 2121350: Implement "force" register option in rhsm dbus python binding + (jajerome@redhat.com) +- Show locals in pytest output (mhorky@redhat.com) - Improve formatting of CertificateLoadingError (ptoscano@redhat.com) - Raise a new CertificateLoadingError on X.509 loading failures (ptoscano@redhat.com) @@ -1578,136 +1069,414 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - connection: extend BadCertificateException w/ SSL exception (ptoscano@redhat.com) - connection: drop dead code (ptoscano@redhat.com) -- ENT-4286: Additional fix for exception handling (jajerome@redhat.com) - ENT-4286: Simplify exception reporting with system_exit() (jajerome@redhat.com) -- Cloud-what: Make saving token file more robust (jhnidek@redhat.com) -- Remove deprecated function call (mhorky@redhat.com) -- Fix failures of D-Bus' Register tests (mhorky@redhat.com) -- Show locals in pytest output (mhorky@redhat.com) +- 2136694: Clear progress messages properly (mhorky@redhat.com) +- rhsmcertd reads default_log_level from rhsm.conf (jhnidek@redhat.com) +- 2097679: Additional fix for non-interactive parameters (jajerome@redhat.com) +- 2097679: Fixed script hang in non-interactive execution (jajerome@redhat.com) -* Fri Dec 02 2022 Pino Toscano 1.28.34-1 -- tito: add rhel 8.8 releaser (ptoscano@redhat.com) -- Translated using Weblate (Japanese) (suanand@redhat.com) -- Translated using Weblate (French) (vincent.lefebvre59@gmail.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- ENT-5510: Fix issues with proxy and cockpit interaction (jajerome@redhat.com) -- 2118486: [1.28] Implement "force" register option in rhsm dbus python binding - (jajerome@redhat.com) - -* Mon Oct 31 2022 Christopher Snyder 1.28.33-1 -- Translated using Weblate (Korean) (simmon@nplob.com) +* Wed Oct 19 2022 Christopher Snyder 1.29.31-1 +- warning: refname 'subscription-manager-1.29.30-1' is ambiguous. - Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) -- 2096852: [1.28] Fixed script hang in non-interactive execution +- tests: fix typos in test method names (ptoscano@redhat.com) +- 2125227: Fixed incorrect registration warning with yum/dnf (jajerome@redhat.com) -- 2134165: Fixed incorrect registration warning with yum/dnf - (jajerome@redhat.com) -- 2097672: Fixed expected message for manual attach case (jajerome@redhat.com) -- 2097672: [1.28] Improve warning message (auto-attach in SCA mode) +- 2094942: Fixed expected message for manual attach case (jajerome@redhat.com) +- ENT-5102: Type-hint rhsmlib/facts (mhorky@redhat.com) +- 2094942: Improve warning message (auto-attach in SCA mode) (jhnidek@redhat.com) +- Update INSTALL.md (mhorky@redhat.com) +- Remove unused classes of DBus tests (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Unregister objects (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Register objects (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Products object (mhorky@redhat.com) +- ENT-5317: Update DBus tests of AllFacts object (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Entitlement object (mhorky@redhat.com) +- Fix typo in method name of EntitlementService (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Consumer object (mhorky@redhat.com) +- ENT-5317: Update DBus tests of Attach object (mhorky@redhat.com) +- Fix possible parsing issues of dmidecode output (mhorky@redhat.com) +- ENT-5317: New way to test DBus methods, starting with Config + (mhorky@redhat.com) +- cockpit: disable the reference branch for sub-man-cockpit + (ptoscano@redhat.com) +- TESTING.md: Remove mention of pytest-xdist (mhorky@redhat.com) +- INSTALL.md: Update list of packages to be installed (mhorky@redhat.com) +- Stop calling pytest with --failed-first (mhorky@redhat.com) +- GCP: Better computing of cached token TTL (jhnidek@redhat.com) +- 2101510: Fix D-Bus Register() and update entitlement certs + (jhnidek@redhat.com) +- 2120744: Close keycloak connection properly (jhnidek@redhat.com) +- 2094942: [RFE] Improve the message, when SCA is enabled (jhnidek@redhat.com) +- Replaced list[] with List[] and dict[] with Dict[]. (jhnidek@redhat.com) +- Update TESTING.md (mhorky@redhat.com) +- Update README.md (mhorky@redhat.com) +- Add INSTALL.md (mhorky@redhat.com) +- Added type hints to package rhsmlib.service (jhnidek@redhat.com) +- Added some missing imports. (jhnidek@redhat.com) +- Reformated using black. (jhnidek@redhat.com) +- Added one FIXME to redeem.py (jhnidek@redhat.com) +- Added type hints and FIXMEs to rhsm package. (jhnidek@redhat.com) +- [wip] ENT-5100: Type hint rhsm (mhorky@redhat.com) +- Added type hints to syspurpose package (jhnidek@redhat.com) +- Drop libnotify-devel usage (ptoscano@redhat.com) + +* Tue Aug 09 2022 Christopher Snyder 1.29.30-1 +- Fix issue, when connection is not shared (jhnidek@redhat.com) +- Unit tests: Add stub class for SyspurposeComplianceStatusCache + (jhnidek@redhat.com) +- ENT-4664: Ensure tests clean up after themselves (mhorky@redhat.com) +- Refactoring of cloud-what unit tests (jhnidek@redhat.com) +- 2111035: Do not allow reusing TCP connection for rhsm.service + (jhnidek@redhat.com) +- spec: remove redundant License from python3-cloud-what (ptoscano@redhat.com) +- Ensure tests don't fail when run under root (mhorky@redhat.com) +- Fix issue with unit tests (jhnidek@redhat.com) +- 2111757: Make parsing of HTTP headers more reliable (jhnidek@redhat.com) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda@redhat.com) +- Update translation files (noreply@weblate.org) +- ENT-5286: Unify environment variable evaluation (mhorky@redhat.com) +- Use dmidecode on aarch64 (jhnidek@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- Increase security level for zypper repos managed by sub-man (suttner@atix.de) +- ENT-5271: Fix spelling of Candlepin API endpoint description + (mhorky@redhat.com) + +* Wed Jul 13 2022 Pino Toscano 1.29.29-1 +- Translated using Weblate (Japanese) (suanand@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- ENT-5215: Handle all exceptions caused by network problems + (mhorky@redhat.com) +- ENT-5215: Handle errors raised in DNF plugin (mhorky@redhat.com) +- Make TestProfileManager subclass of SubManFixture (mhorky@redhat.com) +- ENT-5054: Drop singleton implementation in rhsmlib/utils.py + (mhorky@redhat.com) +- Rename test file for rhsm/utils.py (mhorky@redhat.com) +- ENT-5054: Create singleton decorators in rhsm/utils.py (mhorky@redhat.com) +- zypper: drop dead python-dmidecode usage (ptoscano@redhat.com) +- facts: drop DmiFirmwareInfoCollector (ptoscano@redhat.com) +- facts: switch to DmidecodeFactCollector for DMI facts (ptoscano@redhat.com) +- facts: add dmidecode parser and facts collector (ptoscano@redhat.com) +- cloud-what: switch MiniHostCollector to dmidecode(1) (ptoscano@redhat.com) +- 2096446: Make 'rhsm-debug' autocomplete --no-progress-messages + (mhorky@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- 2092014: Do not use injections in rhsm (mhorky@redhat.com) +- ci: run rpmlint as part of stylish (ptoscano@redhat.com) - build: switch rpmlint check to rpmlint 2.x (ptoscano@redhat.com) -- Only rpmlint our specfiles (csnyder@redhat.com) -- integration-test: Use custom TLS certs for mock-insights - (mvollmer@redhat.com) -- integration-test: Updates for newer insights-client (mvollmer@redhat.com) +- ci: drop stylish job from Jenkins (ptoscano@redhat.com) +- ci: add black & flake8 check using GitHub Actions (ptoscano@redhat.com) +- build: install files without exec permissions (ptoscano@redhat.com) +- 2092014: Disable progress messages when sub-man RPM is not installed + (mhorky@redhat.com) + +* Thu Jun 02 2022 Christopher Snyder 1.29.28-1 +- Make keeping connection more reliable (jhnidek@redhat.com) +- Small improvements of keep alive (jhnidek@redhat.com) +- Keep TCP/TLS connection alive and close connection properly + (jhnidek@redhat.com) +- ENT-4700: Switch away from 'imp' (mhorky@redhat.com) +- ENT-4088: Fix flake8 error E731 (mhorky@redhat.com) +- ENT-4048: Fix flake8 error E501 (mhorky@redhat.com) +- ENT-240: Add --no-progress-messages CLI option (mhorky@redhat.com) +- ENT-240: Use spinner to indicate that API communication is pending + (mhorky@redhat.com) +- ENT-240: Make verbose messages translatable (mhorky@redhat.com) +- ENT-240: Make subscription-manager more verbose (mhorky@redhat.com) +- 2075455: enable sslverifystatus on repos if advertized by CP + (ptoscano@redhat.com) +- RepoUpdateActionCommand: lazy load the consumer auth (ptoscano@redhat.com) +- 2043331: Do not delete installed SCA cert during registration + (jhnidek@redhat.com) +- Remove Group tag from .spec file for RHEL/Fedora (jhnidek@redhat.com) +- 2073354: Print correct status, when access mode has changed + (jhnidek@redhat.com) +- flake8: ignore the build directory (ptoscano@redhat.com) +- Remove ownership of /etc/rhsm (csnyder@redhat.com) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (ptoscano@redhat.com) +- Revert "build: pin flake8 to < 4" (ptoscano@redhat.com) +- build: simplify flake8 run (ptoscano@redhat.com) +- flake8: improve the config a bit (ptoscano@redhat.com) +- jenkins: run stylish.sh with -e (ptoscano@redhat.com) +- flake8: simplify/update config (ptoscano@redhat.com) +- tests: remove unused exception variable (ptoscano@redhat.com) +- Drop cockpit sources & related bits (ptoscano@redhat.com) +- cockpit: test with split subscription-manager-cockpit (ptoscano@redhat.com) +- Remove print statements from test suite (mhorky@redhat.com) +- Run CI's pytest with verbose flag (mhorky@redhat.com) +- Optimize rhsmlib DBus test strings (mhorky@redhat.com) +- Change names of some directories in test/ (mhorky@redhat.com) +- Reorder rhsmlib tests (mhorky@redhat.com) +- refresh: clear also the release status (ptoscano@redhat.com) +- 2074110: clear the release cache on release change (ptoscano@redhat.com) +- Add gcp_license_codes to system facts. (jhnidek@redhat.com) +- Pass version to make in debian/rules using 'pkg-info.mk' (reisner@atix.de) +- Refactored rpm-version to pkg-version (reisner@atix.de) +- Ignore black commit hashes (mhorky@redhat.com) +- Add check to YumPluginManager.enable_pkg_plugins() if system is using yum/dnf + to prevent warnings on debian based systems (reisner@atix.de) +- Extend HardwareCollector.get_distribution() to return ID and ID_LIKE + (reisner@atix.de) +- Format code with black==22.3.0 (mhorky@redhat.com) +- Add Black to CI (mhorky@redhat.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Fix few grammar mistakes in rhsm.conf and man page (jhnidek@redhat.com) +- 2058662: Fix inaccurate module status in combined profile + (jhnidek@redhat.com) +- Add file .git-blame-ignore-revs (mhorky@redhat.com) +- Update configuration files for flake8 (mhorky@redhat.com) +- Use double quotes for strings (mhorky@redhat.com) +- Format the code with black (mhorky@redhat.com) +- Custom facts should not influence unit tests of cloud-what + (jhnidek@redhat.com) +- Drop redhat-uep.pem (ptoscano@redhat.com) +- Move redhat-entitlement-authority.pem to container plugin + (ptoscano@redhat.com) +- Drop subscription-manager-rhsm-certificates package (ptoscano@redhat.com) +- spec: relax subscription-manager-rhsm-certificates requires + (ptoscano@redhat.com) - test: Rely on insights-client.service to succeed in testSubAndInAndFail (mvollmer@redhat.com) - integration-tests: Run testSubAndInAndFail with "setenforce 0" (mvollmer@redhat.com) -- 2101510: [1.28] Fix D-Bus Register() and update entitlement certs - (jhnidek@redhat.com) -- 2097672: [RFE][1.28] Improve the message, when SCA is enabled - (jhnidek@redhat.com) - -* Thu Aug 04 2022 Christopher Snyder 1.28.32-1 -- cockpit: Allow unexpected message from RHEL 8.5 version of cockpit-ws - (martin@piware.de) -- test: use --track-naughties option (martin@piware.de) -- Bump cockpit test API to 273 + run-tests scheduler fix (martin@piware.de) -- ENT-5215: Handle all exceptions caused by network problems - (mhorky@redhat.com) -- ENT-5215: Handle errors raised in DNF plugin (mhorky@redhat.com) -- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda@redhat.com) -* Tue Jun 28 2022 Christopher Snyder 1.28.31-1 -- Translated using Weblate (Korean) (simmon@nplob.com) -- Update translation files (noreply@weblate.org) +- integration-test: Use custom TLS certs for mock-insights + (mvollmer@redhat.com) +- Keep the user namespace from the host (csnyder@redhat.com) +- tracking return values of tests (jmolet@redhat.com) +- Adding containers for development and test (csnyder@redhat.com) +- Drop old git-checkcommits bits (ptoscano@redhat.com) +- tests: drop no more needed bits (ptoscano@redhat.com) +- tests: switch away from SyspurposeTestBase (ptoscano@redhat.com) +- Drop the rel-eng directory for old tito versions (ptoscano@redhat.com) +- tests: switch away from SyspurposeTestBase.assertRaisesNothing() + (ptoscano@redhat.com) +- tests: use write_to_file_utf8() from syspurpose.utils (ptoscano@redhat.com) +- tests: directly use tempfile.TemporaryDirectory() (ptoscano@redhat.com) +- tests: use Capture from the main sub-man fitxure module (ptoscano@redhat.com) +- tests: switch from assert_equal_dict() to assertEqual() (ptoscano@redhat.com) +- tests: switch from assert_string_equals() to assertEqual() + (ptoscano@redhat.com) +- cockpit: bump API version to 264 (ptoscano@redhat.com) +- cockpit: simplify skipUnlessDistroFamily() to properly skip tests + (ptoscano@redhat.com) +- cockpit: drop rhel-atomic bits (ptoscano@redhat.com) +- cockpit: bump candlepin minimum waiting time to 10 seconds + (ptoscano@redhat.com) +- integration-test: Updates for newer insights-client (mvollmer@redhat.com) +- 2018221: Cockpit use "Organization ID" in label (jhnidek@redhat.com) +- 2059631: rhsm.conf: fix typo in comment (ptoscano@redhat.com) +- 2057053: Improve API of detection of cloud-what (jhnidek@redhat.com) +- 1935446: Revert "Revert "1935446: Use updated cert with SHA-256 algorithm"" + (ptoscano@redhat.com) +- cockpit: set $RPM_BUILD_ROOT w/ installing (ptoscano@redhat.com) +- 2057053: Facts: do no use heuristics detection of cloud (jhnidek@redhat.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) -- New extraction for translatable strings (ptoscano@redhat.com) -- 2043331: Do not delete installed SCA cert during registration - (jhnidek@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- build: fix extraction of cockpit messages (ptoscano@redhat.com) -- cockpit: Fix continuation lines for gettext strings (ptoscano@redhat.com) -- 1822242: cockpit: fix/simplify the loading/error view checks - (ptoscano@redhat.com) -- 2076522: enable sslverifystatus on repos if advertized by CP - (ptoscano@redhat.com) -- RepoUpdateActionCommand: lazy load the consumer auth (ptoscano@redhat.com) -- 2071622: Updated redhat-uep.pem to not use SHA-1 algorithm - (jhnidek@redhat.com) -- cockpit: insights: properly show error message in Insights dialog - (ptoscano@redhat.com) -- cockpit: insights: fix formatting of multiline insights-client output - (ptoscano@redhat.com) -- cockpit: insights: improve handling of registration/unregistration errors - (ptoscano@redhat.com) -- cockpit: insights: merge insights-client stderr with stdout - (ptoscano@redhat.com) -- cockpit: Remove extra toString() call (ptoscano@redhat.com) - -* Mon May 16 2022 Christopher Snyder 1.28.30-1 -- Add 8.7 tito releaser (csnyder@redhat.com) -- spec: relax subscription-manager-rhsm-certificates requires - (ptoscano@redhat.com) -- 2073347: [1.28] Print correct status, when access mode has changed - (jhnidek@redhat.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Improve azure determination method (suttner@atix.de) - 2056896: Handle all exceptions of gathering data properly (jhnidek@redhat.com) -- Improve azure determination method (suttner@atix.de) -- ENT-4939: [1.28] Drop old dbus_interface.py (mhorky@redhat.com) -- cockpit: Read files in /var/lib/insights as superuser (mvollmer@redhat.com) -- refresh: clear also the release status (ptoscano@redhat.com) -- 2074111: clear the release cache on release change (ptoscano@redhat.com) -- 1.28 Add gcp_license_codes to system facts. (jhnidek@redhat.com) -- build: always build & ship syspurpose bits (ptoscano@redhat.com) -- 2057732: [1.28] Fix inaccurate module status in combined profile + +* Thu Jun 02 2022 Christopher Snyder +- Make keeping connection more reliable (jhnidek@redhat.com) +- Small improvements of keep alive (jhnidek@redhat.com) +- Keep TCP/TLS connection alive and close connection properly (jhnidek@redhat.com) -- 2064002: fix named argument for registerConsumer() (ptoscano@redhat.com) +- ENT-4700: Switch away from 'imp' (mhorky@redhat.com) +- ENT-4088: Fix flake8 error E731 (mhorky@redhat.com) +- ENT-4048: Fix flake8 error E501 (mhorky@redhat.com) +- ENT-240: Add --no-progress-messages CLI option (mhorky@redhat.com) +- ENT-240: Use spinner to indicate that API communication is pending + (mhorky@redhat.com) +- ENT-240: Make verbose messages translatable (mhorky@redhat.com) +- ENT-240: Make subscription-manager more verbose (mhorky@redhat.com) +- 2075455: enable sslverifystatus on repos if advertized by CP + (ptoscano@redhat.com) +- RepoUpdateActionCommand: lazy load the consumer auth (ptoscano@redhat.com) +- 2043331: Do not delete installed SCA cert during registration + (jhnidek@redhat.com) +- Remove Group tag from .spec file for RHEL/Fedora (jhnidek@redhat.com) +- 2073354: Print correct status, when access mode has changed + (jhnidek@redhat.com) +- flake8: ignore the build directory (ptoscano@redhat.com) +- Remove ownership of /etc/rhsm (csnyder@redhat.com) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (ptoscano@redhat.com) +- Revert "build: pin flake8 to < 4" (ptoscano@redhat.com) +- build: simplify flake8 run (ptoscano@redhat.com) +- flake8: improve the config a bit (ptoscano@redhat.com) +- jenkins: run stylish.sh with -e (ptoscano@redhat.com) +- flake8: simplify/update config (ptoscano@redhat.com) +- tests: remove unused exception variable (ptoscano@redhat.com) +- Drop cockpit sources & related bits (ptoscano@redhat.com) +- cockpit: test with split subscription-manager-cockpit (ptoscano@redhat.com) +- Remove print statements from test suite (mhorky@redhat.com) +- Run CI's pytest with verbose flag (mhorky@redhat.com) +- Optimize rhsmlib DBus test strings (mhorky@redhat.com) +- Change names of some directories in test/ (mhorky@redhat.com) +- Reorder rhsmlib tests (mhorky@redhat.com) +- refresh: clear also the release status (ptoscano@redhat.com) +- 2074110: clear the release cache on release change (ptoscano@redhat.com) +- Add gcp_license_codes to system facts. (jhnidek@redhat.com) +- Pass version to make in debian/rules using 'pkg-info.mk' (reisner@atix.de) +- Refactored rpm-version to pkg-version (reisner@atix.de) +- Ignore black commit hashes (mhorky@redhat.com) +- Add check to YumPluginManager.enable_pkg_plugins() if system is using yum/dnf + to prevent warnings on debian based systems (reisner@atix.de) +- Extend HardwareCollector.get_distribution() to return ID and ID_LIKE + (reisner@atix.de) +- Format code with black==22.3.0 (mhorky@redhat.com) +- Add Black to CI (mhorky@redhat.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Fix few grammar mistakes in rhsm.conf and man page (jhnidek@redhat.com) +- 2058662: Fix inaccurate module status in combined profile + (jhnidek@redhat.com) +- Add file .git-blame-ignore-revs (mhorky@redhat.com) +- Update configuration files for flake8 (mhorky@redhat.com) +- Use double quotes for strings (mhorky@redhat.com) +- Format the code with black (mhorky@redhat.com) +- Custom facts should not influence unit tests of cloud-what + (jhnidek@redhat.com) +- Drop redhat-uep.pem (ptoscano@redhat.com) +- Move redhat-entitlement-authority.pem to container plugin + (ptoscano@redhat.com) +- Drop subscription-manager-rhsm-certificates package (ptoscano@redhat.com) +- spec: relax subscription-manager-rhsm-certificates requires + (ptoscano@redhat.com) +- test: Rely on insights-client.service to succeed in testSubAndInAndFail + (mvollmer@redhat.com) +- integration-tests: Run testSubAndInAndFail with "setenforce 0" + (mvollmer@redhat.com) +- integration-test: Use custom TLS certs for mock-insights + (mvollmer@redhat.com) +- Keep the user namespace from the host (csnyder@redhat.com) +- tracking return values of tests (jmolet@redhat.com) +- Adding containers for development and test (csnyder@redhat.com) +- Drop old git-checkcommits bits (ptoscano@redhat.com) +- tests: drop no more needed bits (ptoscano@redhat.com) +- tests: switch away from SyspurposeTestBase (ptoscano@redhat.com) +- Drop the rel-eng directory for old tito versions (ptoscano@redhat.com) +- tests: switch away from SyspurposeTestBase.assertRaisesNothing() + (ptoscano@redhat.com) +- tests: use write_to_file_utf8() from syspurpose.utils (ptoscano@redhat.com) +- tests: directly use tempfile.TemporaryDirectory() (ptoscano@redhat.com) +- tests: use Capture from the main sub-man fitxure module (ptoscano@redhat.com) +- tests: switch from assert_equal_dict() to assertEqual() (ptoscano@redhat.com) +- tests: switch from assert_string_equals() to assertEqual() + (ptoscano@redhat.com) +- cockpit: bump API version to 264 (ptoscano@redhat.com) +- cockpit: simplify skipUnlessDistroFamily() to properly skip tests + (ptoscano@redhat.com) +- cockpit: drop rhel-atomic bits (ptoscano@redhat.com) +- cockpit: bump candlepin minimum waiting time to 10 seconds + (ptoscano@redhat.com) +- integration-test: Updates for newer insights-client (mvollmer@redhat.com) +- 2018221: Cockpit use "Organization ID" in label (jhnidek@redhat.com) +- 2059631: rhsm.conf: fix typo in comment (ptoscano@redhat.com) - 2057053: Improve API of detection of cloud-what (jhnidek@redhat.com) +- 1935446: Revert "Revert "1935446: Use updated cert with SHA-256 algorithm"" + (ptoscano@redhat.com) +- cockpit: set $RPM_BUILD_ROOT w/ installing (ptoscano@redhat.com) - 2057053: Facts: do no use heuristics detection of cloud (jhnidek@redhat.com) -- 2018215: Cockpit use "Organization ID" in label (jhnidek@redhat.com) -- 1822242: Cockpit: another improvement of curtain view (jhnidek@redhat.com) -- 1822242: cockpit: improve handling of main curtain view (ptoscano@redhat.com) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Improve azure determination method (suttner@atix.de) +- 2056896: Handle all exceptions of gathering data properly + (jhnidek@redhat.com) -* Fri Mar 11 2022 Christopher Snyder 1.28.29-1 -- Update translation files (noreply@weblate.org) - -* Tue Feb 15 2022 Christopher Snyder 1.28.28-1 -- Revert "1887600: Use updated cert with SHA-256 algorithm" +* Tue Feb 15 2022 Christopher Snyder 1.29.26-1 +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (German) (atalanttore@googlemail.com) +- Revert "1935446: Use updated cert with SHA-256 algorithm" (csnyder@redhat.com) -- environments: fix usage of injection (ptoscano@redhat.com) -* Mon Feb 14 2022 Christopher Snyder 1.28.27-1 -- Update translation files (noreply@weblate.org) -- 1887600: Use updated cert with SHA-256 algorithm (jhnidek@redhat.com) +* Fri Feb 11 2022 Christopher Snyder 1.29.25-1 - 2046516: register: do not check environments w/ activation keys (ptoscano@redhat.com) - No-op refactor of RegisterCommand._process_environments() (ptoscano@redhat.com) -- environments: fix list for account in env-less org (ptoscano@redhat.com) -- 1994056: Multiple environment capability (wpoteat@redhat.com) +- 1935446: Use updated cert with SHA-256 algorithm (jhnidek@redhat.com) +- build: pin pytest to < 7 (ptoscano@redhat.com) +- Update translation files (noreply@weblate.org) -* Thu Feb 10 2022 Christopher Snyder 1.28.26-1 -- 2049441: [1.28] Cockpit registration dialog: enable insights by default - (jhnidek@redhat.com) +* Thu Feb 10 2022 Christopher Snyder 1.29.24-1 +- 2023430: Cockpit: another improvement of curtain view (jhnidek@redhat.com) +- environments: fix list for account in env-less org (ptoscano@redhat.com) - Reverting disabling AutoAttach() and PoolAttach() in SCA mode (jhnidek@redhat.com) -- 2046302: Apply Conscious language initiative changes (mhorky@redhat.com) +- 2023430: cockpit: improve handling of main curtain view (ptoscano@redhat.com) +- Squelch DeprecationWarning's when importing pyinotify (ptoscano@redhat.com) +- Drop tox.ini, no more needed now (ptoscano@redhat.com) +- flake8: improve, and integrate bits from tox.ini (ptoscano@redhat.com) +- flake8: misc fixes in tito/tests (ptoscano@redhat.com) +- 2035662: facts: tweak message for dmidecode warnings (ptoscano@redhat.com) +- facts: improve/tweak logging of warnings (ptoscano@redhat.com) +- jenkins: use custom settings for the RH internal npmjs repo + (ptoscano@redhat.com) +- jenkins: switch away from readFile() (ptoscano@redhat.com) +- jenkins: simplify script filenames & labels (ptoscano@redhat.com) +- jenkins: remove old scripts (ptoscano@redhat.com) - ENT-4671: Improve debug logging to stdout (mhorky@redhat.com) +- Drop non-systemd support (ptoscano@redhat.com) +- ENT-4650: Remove python-six from build system (mhorky@redhat.com) +- ENT-4093: Fix flake8 warning W605 (mhorky@redhat.com) +- ENT-4618: Switch away from six.get_method_* (mhorky@redhat.com) +- ENT-4414: Remove RhsmIconCache (mhorky@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- ENT-4589: Switch away from six.reraise (mhorky@redhat.com) +- 2041968: Update man and help for environments options (wpoteat@redhat.com) + +* Mon Jan 17 2022 Christopher Snyder 1.29.23-1 +- Ignore debian architecture ALL (schmidt@atix.de) +- 2028894: Don't allow service-level --serverurl on registered system + (mhorky@redhat.com) +- 2037771: Cockpit registration dialog: enable insights by default + (jhnidek@redhat.com) +- 2039322: fix string representation of DMI facts (ptoscano@redhat.com) +- Drop usage of six.python_2_unicode_compatible (ptoscano@redhat.com) +- ENT-4588: Switch away from six iterators (mhorky@redhat.com) +- ENT-4590: Switch away from six.callable (mhorky@redhat.com) +- ENT-4587: Switch away from six types (mhorky@redhat.com) +- Adding permissive coverage publishing (jmolet@redhat.com) +- Ensure that prompted environment entry follows state of multiples + (wpoteat@redhat.com) +- 2026316: Do not delete cache of content_access during refresh + (jhnidek@redhat.com) +- More SUSE compliance (jhnidek@redhat.com) +- Updates for non-multi-environment scenario (wpoteat@redhat.com) +- Fix some minor issues related to syspurpose (jhnidek@redhat.com) +- syspurpose: handle users w/o organizations (ptoscano@redhat.com) +- service-level: drop useless check (ptoscano@redhat.com) +- 2026286: consider user-specified --org in any case (ptoscano@redhat.com) +- Drop the Vagrant bits (ptoscano@redhat.com) +- 1995032: Use multiple environments (wpoteat@redhat.com) +- cache: fix typo in debug message (ptoscano@redhat.com) +- Switch away from Thread.getName() (ptoscano@redhat.com) - Fix indentation of ProductStatus. (jhnidek@redhat.com) - 2028969: Do not try to load compliance status from cache (jhnidek@redhat.com) +- Switch comma-separated join to space-separated join (schmidt@atix.de) +- 2029927: Fix bash autocompletion (mhorky@redhat.com) +- utils: use shutil.get_terminal_size() (ptoscano@redhat.com) +- Remove PyXML leftovers (ptoscano@redhat.com) +- 2026320: fix format of HTTP-date headers (ptoscano@redhat.com) +- connection: move HTTP-date formatting to own helper (ptoscano@redhat.com) +- Ensure datetime.timezone.utc objects for parsed UTC dates + (ptoscano@redhat.com) +- rhsm: drop custom which() implementation (ptoscano@redhat.com) +- facts: switch to shutil.which() (ptoscano@redhat.com) +- test: unconditionally use hashlib (ptoscano@redhat.com) +- 1999048: Fixed partially subscribed product in Cockpit plugin + (jhnidek@redhat.com) +- test: rename tests to default pytest filename pattern (ptoscano@redhat.com) - Fixed last bits related to updated D-Bus Register method. (jhnidek@redhat.com) +- Cockpit plugin: display syspurpose card without attributes + (jhnidek@redhat.com) +- 2023257: Disallowed attaching using D-Bus in SCA mode (jhnidek@redhat.com) +- 2023257: Disallowed attaching pool in SCA mode: (jhnidek@redhat.com) - Refactoring of temporary disablement of dir watchers. (jhnidek@redhat.com) - Ignore enable_content option in RegisterWithActivationKeys() (jhnidek@redhat.com) @@ -1716,63 +1485,103 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - Added refresh() method to entitlement service (jhnidek@redhat.com) - Fixed issue with status cache (jhnidek@redhat.com) - Add information about content access mode to consumer (jhnidek@redhat.com) -- cockpit: fix system installation of subscription-manager - (ptoscano@redhat.com) +- 2024929: build: fix build on 'build' target (ptoscano@redhat.com) +- 2023391: libdnf: respect environment CFLAGS (ptoscano@redhat.com) +- Drop unused ssl_verify_depth config option (ptoscano@redhat.com) +- tests: drop test_po_files.py (ptoscano@redhat.com) +- Update translation files (noreply@weblate.org) - New extraction for translatable strings (ptoscano@redhat.com) -- Adding permissive coverage publishing (jmolet@redhat.com) -- WIP: try to not use junit('coverage.xml') (jhnidek@redhat.com) -- 2024573: [1.28] Do not delete cache of content_access during refresh - (jhnidek@redhat.com) -* Thu Jan 06 2022 Christopher Snyder 1.28.25-1 +* Mon Jan 17 2022 Christopher Snyder +- Ignore debian architecture ALL (schmidt@atix.de) +- 2028894: Don't allow service-level --serverurl on registered system + (mhorky@redhat.com) +- 2037771: Cockpit registration dialog: enable insights by default + (jhnidek@redhat.com) +- 2039322: fix string representation of DMI facts (ptoscano@redhat.com) +- Drop usage of six.python_2_unicode_compatible (ptoscano@redhat.com) +- ENT-4588: Switch away from six iterators (mhorky@redhat.com) +- ENT-4590: Switch away from six.callable (mhorky@redhat.com) +- ENT-4587: Switch away from six types (mhorky@redhat.com) +- Adding permissive coverage publishing (jmolet@redhat.com) +- Ensure that prompted environment entry follows state of multiples + (wpoteat@redhat.com) +- 2026316: Do not delete cache of content_access during refresh + (jhnidek@redhat.com) +- More SUSE compliance (jhnidek@redhat.com) +- Updates for non-multi-environment scenario (wpoteat@redhat.com) +- Fix some minor issues related to syspurpose (jhnidek@redhat.com) - syspurpose: handle users w/o organizations (ptoscano@redhat.com) - service-level: drop useless check (ptoscano@redhat.com) -- 2037902: consider user-specified --org in any case (ptoscano@redhat.com) -- 2037901: Fix organizations hint in syspurpose commands (mhorky@redhat.com) -- 2037901: Only hint organizations if it's needed (mhorky@redhat.com) -- 2037901: Show available organizations before asking for input - (mhorky@redhat.com) +- 2026286: consider user-specified --org in any case (ptoscano@redhat.com) +- 1995032: Use multiple environments (wpoteat@redhat.com) - cache: fix typo in debug message (ptoscano@redhat.com) -- 2017795: Disallowed attaching using D-Bus in SCA mode (jhnidek@redhat.com) -- 2017795: Disallowed attaching pool in SCA mode: (jhnidek@redhat.com) -- Extended D-Bus API - syspurpose methods; ENT-2373 (jhnidek@redhat.com) -- 2029384: Fix bash autocompletion (mhorky@redhat.com) -- Try to use --forked for all unit tests. (jhnidek@redhat.com) -- Updates to cherry pick for pytest (wpoteat@redhat.com) -- test: rename tests to default pytest filename pattern (ptoscano@redhat.com) -- Use pytest --forked for D-Bus unit tests (jhnidek@redhat.com) -- Added cleanup for one patcher; fixed some comments. (jhnidek@redhat.com) -- Remove i-notify watchers on the end of the loop (jhnidek@redhat.com) -- Remove outdated comments from the coverage Jenkins job (mhorky@redhat.com) -- ENT-4252: Migrate from nose to pytest (mhorky@redhat.com) +- Switch away from Thread.getName() (ptoscano@redhat.com) +- Fix indentation of ProductStatus. (jhnidek@redhat.com) +- 2028969: Do not try to load compliance status from cache (jhnidek@redhat.com) +- Switch comma-separated join to space-separated join (schmidt@atix.de) +- 2029927: Fix bash autocompletion (mhorky@redhat.com) +- utils: use shutil.get_terminal_size() (ptoscano@redhat.com) - Remove PyXML leftovers (ptoscano@redhat.com) -- 2024589: fix format of HTTP-date headers (ptoscano@redhat.com) +- 2026320: fix format of HTTP-date headers (ptoscano@redhat.com) - connection: move HTTP-date formatting to own helper (ptoscano@redhat.com) - Ensure datetime.timezone.utc objects for parsed UTC dates (ptoscano@redhat.com) +- rhsm: drop custom which() implementation (ptoscano@redhat.com) +- facts: switch to shutil.which() (ptoscano@redhat.com) +- test: unconditionally use hashlib (ptoscano@redhat.com) +- 1999048: Fixed partially subscribed product in Cockpit plugin + (jhnidek@redhat.com) +- test: rename tests to default pytest filename pattern (ptoscano@redhat.com) +- Fixed last bits related to updated D-Bus Register method. + (jhnidek@redhat.com) - Cockpit plugin: display syspurpose card without attributes (jhnidek@redhat.com) -- 2000326: Fixed partially subscribed product in Cockpit plugin +- 2023257: Disallowed attaching using D-Bus in SCA mode (jhnidek@redhat.com) +- 2023257: Disallowed attaching pool in SCA mode: (jhnidek@redhat.com) +- Refactoring of temporary disablement of dir watchers. (jhnidek@redhat.com) +- Ignore enable_content option in RegisterWithActivationKeys() (jhnidek@redhat.com) +- Use benefits of enable_content in cockpit plugin. (jhnidek@redhat.com) +- Added enable_content option to Register() D-Bus method (jhnidek@redhat.com) +- Added refresh() method to entitlement service (jhnidek@redhat.com) +- Fixed issue with status cache (jhnidek@redhat.com) +- Add information about content access mode to consumer (jhnidek@redhat.com) +- 2024929: build: fix build on 'build' target (ptoscano@redhat.com) +- 2023391: libdnf: respect environment CFLAGS (ptoscano@redhat.com) +- Drop unused ssl_verify_depth config option (ptoscano@redhat.com) +- tests: drop test_po_files.py (ptoscano@redhat.com) - Update translation files (noreply@weblate.org) -- 2024930: build: fix build on 'build' target (ptoscano@redhat.com) -- Add 8.6 releaser (csnyder@redhat.com) -- 2023392: libdnf: respect environment CFLAGS (ptoscano@redhat.com) - -* Thu Nov 18 2021 Christopher Snyder 1.28.24-1 -- 1995465: Do not use deprecated collections.MutableMapping - (jhnidek@redhat.com) -- connection: recognize proxy errors (ptoscano@redhat.com) -- 2020284: handle server-side consumer deletion in syspurpose commands - (ptoscano@redhat.com) - -* Thu Nov 11 2021 Christopher Snyder 1.28.23-1 -- 2021982: Fix syspurpose bash completion (mhorky@redhat.com) - New extraction for translatable strings (ptoscano@redhat.com) -- syspurpose: remove redundant _() (ptoscano@redhat.com) -- syspurpose: translate more UI strings (ptoscano@redhat.com) -- syspurpose: include argparse string in message catalog (ptoscano@redhat.com) + +* Thu Nov 11 2021 Christopher Snyder 1.29.21-1 +- 2020248: handle server-side consumer deletion in syspurpose commands + (ptoscano@redhat.com) +- connection: recognize proxy errors (ptoscano@redhat.com) + +* Thu Nov 11 2021 Christopher Snyder 1.29.20-1 +- ENT-4279: Switch away from rhsmlib.compat.subprocess_compat + (mhorky@redhat.com) +- 2021578: Remove proxy server test as it is unnecessary (wpoteat@redhat.com) +- cockpit: validate SSL connection to mock-insights (ptoscano@redhat.com) +- cockpit: fix hostname of the fake Insights server (ptoscano@redhat.com) +- cockpit: validate the SSL connection to candlepin (ptoscano@redhat.com) +- cockpit: resolve hostname of service machine (ptoscano@redhat.com) +- cockpit: use CANDLEPIN_URL consistently (ptoscano@redhat.com) - 1719690: Update to message formatting (wpoteat@redhat.com) +- cockpit: account for missing insights-client on non-RHEL systems + (ptoscano@redhat.com) +- cockpit: skip Insights tests on non-RHEL OSes (ptoscano@redhat.com) +- ENT-4370: Drop old dbus_interface.py (mhorky@redhat.com) +- ENT-4278: Drop unittest2 imports (mhorky@redhat.com) +- 1985845: Fix sub-man service-level --show (jhnidek@redhat.com) +- spec: drop non-systemd support (ptoscano@redhat.com) +- spec: drop support for Python < 3 (ptoscano@redhat.com) +- spec: drop support for Fedora < 33 (ptoscano@redhat.com) +- spec: drop support for RHEL < 8 (ptoscano@redhat.com) +- spec: drop support for SUSE < 15 (ptoscano@redhat.com) +- 2015173: chmod /etc/pki/entitlement/*.pem only when existing + (ptoscano@redhat.com) - cockpit: port subscriptions info icons to PF4 icons (kkoukiou@redhat.com) - cockpit: translate some untranslated aria-labels (kkoukiou@redhat.com) - cockpit: Port Po2JSONPlugin to webpack 5 (kkoukiou@redhat.com) @@ -1780,6 +1589,7 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - cockpit: port Insights dialog remaining non PF4 parts (kkoukiou@redhat.com) - cockpit: port subscriptions register dialog to Patternfly 4 (kkoukiou@redhat.com) +- cockpit: make default TEST_OS rhel-8-4 (kkoukiou@redhat.com) - cockpit: port spinners to PF4 spinners (kkoukiou@redhat.com) - cockpit: replace custom Revealer component with 'ExpandableSection' from PF4 (kkoukiou@redhat.com) @@ -1798,277 +1608,434 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : (kkoukiou@redhat.com) - cockpit: checkout Cockpit's PF/React/build library instead of keeping a direct copy of it locally (kkoukiou@redhat.com) -- 1979323: Cockpit - do not show red red icon in SCA mode (jhnidek@redhat.com) -- New D-Bus method GetOrg() (jhnidek@redhat.com) -- cockpit: Test also system purpose (mmarusak@redhat.com) -- cockpit: Use current PF4 components and design (mmarusak@redhat.com) -- test: Update cockpit test/common library (mmarusak@redhat.com) -- cockpit: Update babel (mmarusak@redhat.com) -- cockpit: Sync lib/patternfly with Cockpit (mmarusak@redhat.com) -- cockpit: Use PF4 based empty state (mmarusak@redhat.com) -- cockpit: Drop uglification (mmarusak@redhat.com) -- cockpit: Add `standard-jsx` eslint plugin (mmarusak@redhat.com) -- cockpit: Use 'noreferrer' for external links (mmarusak@redhat.com) -- cockpit: Remove loaders for .es6 files (mmarusak@redhat.com) -- cockpit: Add package-lock.json to .gitignore (mmarusak@redhat.com) -- cockpit: Lower cockpit-ws dependency to Recommends (martin@piware.de) -- test: Robustify and trim down cockpit-ws installation (martin@piware.de) -- 1859529: Remove proxy server test as it is unnecessary (wpoteat@redhat.com) -- 2015173: chmod /etc/pki/entitlement/*.pem only when existing +- cockpit: update npmshrinkwrap file (kkoukiou@redhat.com) +- Use pytest --forked for D-Bus unit tests (jhnidek@redhat.com) +- Support of python3 of zypper rhsm script (suttner@atix.de) +- 2003777: Fix organizations hint in syspurpose commands (mhorky@redhat.com) +- Small style changes of d-bus server and d-bus unit tests (jhnidek@redhat.com) +- * Removed GLib.threads_init() (jhnidek@redhat.com) +- Added cleanup for one patcher; fixed some comments. (jhnidek@redhat.com) +- cockpit: skip RHEL 9 tests using insights-client (ptoscano@redhat.com) +- cockpit: fix system installation of subscription-manager (ptoscano@redhat.com) -- Fix redundant API calls to Candlepin (hyu@redhat.com) -- 2014646: fix rhn-migrate-classic-to-rhsm & its tests for argparse - (ptoscano@redhat.com) -- cockpit: Move from obsolete node-sass to Dart sass (martin@piware.de) - cockpit: wait 5 seconds for candlepin at first (ptoscano@redhat.com) - cockpit: use the self-signed key in mock-insights (ptoscano@redhat.com) +- test: Building requires gcc (mmarusak@redhat.com) +- test: Tell tests about rhel-9 package manager (mmarusak@redhat.com) +- facts: drop dead/unused code from CleanupCollector (ptoscano@redhat.com) - 1989955: use /proc/device-tree/ibm,partition-uuid on POWER LPARs (ptoscano@redhat.com) - facts: prepare _get_devicetree_uuid() for multiple files (ptoscano@redhat.com) - facts: refactor device-tree parts of VirtUuidCollector (ptoscano@redhat.com) +- cockpit: Move from obsolete node-sass to Dart sass (martin@piware.de) +- Cloud-what: Make saving token file more robust (jhnidek@redhat.com) +- Fix redundant API calls to Candlepin (hyu@redhat.com) +- Remove i-notify watchers on the end of the loop (jhnidek@redhat.com) - build: pin flake8 to < 4 (ptoscano@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Spanish) (ehespinosa57@gmail.com) +- Only rpmlint our specfiles (csnyder@redhat.com) +- Version our obsoletes of syspurpose and the container plugin + (csnyder@redhat.com) +- Remove unnecessary comment and sles/suse tests (csnyder@redhat.com) +- ENT-4273: Drop usage of six.moves (mhorky@redhat.com) +- ENT-4379: Remove function make_utf8 (mhorky@redhat.com) +- ENT-4087: Fix flake8 error E722 (mhorky@redhat.com) +- make spec file SUSE / Open Build Service compliant (p.seiler@linuxmail.org) +- 2003777: Only hint organizations if it's needed (mhorky@redhat.com) +- Drop old GUI docs leftovers (ptoscano@redhat.com) +- tests: drop no more needed rhsm_display (ptoscano@redhat.com) +- build: remove old specific check for GUI file (ptoscano@redhat.com) +- Drop async_utils & its tests (ptoscano@redhat.com) +- Remove rhsm-icon leftovers (ptoscano@redhat.com) +- build: remove unused detect_overindent function (ptoscano@redhat.com) +- build: drop lxml leftovers (ptoscano@redhat.com) +- build: drop Glade leftovers (ptoscano@redhat.com) +- Add rhsm proxy support to apt-transport-katello (suttner@atix.de) - ENT-4289: Drop Sphinx (mhorky@redhat.com) +- ENT-4340: Resolve deprecation warnings (mhorky@redhat.com) +- Fixed one unused import of six (jhnidek@redhat.com) +- ENT-4272: Remove Python 2 conditionals (mhorky@redhat.com) +- ENT-4274: Remove six.assert* methods (mhorky@redhat.com) +- ENT-4275: Switch away from six.BytesIO and six.StringIO (mhorky@redhat.com) +- ENT-4082: Fix flake8 error E265 (mhorky@redhat.com) -* Thu Sep 23 2021 Christopher Snyder 1.28.22-1 -- 1924338: [1.28] list prints no status and dates in SCA mode +* Thu Sep 23 2021 Christopher Snyder 1.29.19-1 +- ENT-4083: Fix flake8 error E402 (mhorky@redhat.com) +- ENT-4085: Fix flake8 error E713 (mhorky@redhat.com) +- 2003777: Show available organizations before asking for input + (mhorky@redhat.com) +- ENT-4302: Remove "u" prefix from strings (mhorky@redhat.com) +- ENT-4326: Drop "-*- coding" comment (mhorky@redhat.com) +- ENT-4277: Drop __future__ imports (mhorky@redhat.com) +- 1979323: Cockpit - do not show red red icon in SCA mode (jhnidek@redhat.com) +- Remove outdated comments from the coverage Jenkins job (mhorky@redhat.com) +- ENT-4252: Migrate from nose to pytest (mhorky@redhat.com) +- Debian / Ubuntu multi-architectures support + (sbernhard@users.noreply.github.com) +- Translated using Weblate (Spanish) (ehespinosa57@gmail.com) +- 1859157: Display better error message on incorrect --org (mhorky@redhat.com) +- New D-Bus method GetOrg() (jhnidek@redhat.com) +- 1924338: list prints not status and dates in SCA mode (jhnidek@redhat.com) +- 1983144: More useful feedback on unknown argument (mhorky@redhat.com) +- ENT-4089: Fix flake8 error E741 (mhorky@redhat.com) +- ENT-4090: Fix flake8 error F821 (mhorky@redhat.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda@redhat.com) +- ENT-4091: Fix flake8 error F841 (mhorky@redhat.com) +- ENT-4228: Format rhsmlib exception (mhorky@redhat.com) +- ENT-4228: Always format restlib exceptions (mhorky@redhat.com) +- Update exception handling (mhorky@redhat.com) +- Drop unused M2Crypto bits (ptoscano@redhat.com) +- 1995465: Do not use deprecated collections.MutableMapping (jhnidek@redhat.com) -- Update translation files (noreply@weblate.org) - New extraction for translatable strings (ptoscano@redhat.com) -- 2000867: syspurpose: show deprecation notices (ptoscano@redhat.com) +- 1983074: Remove invalid log level (mhorky@redhat.com) +- ENT-4213: Remove deprecated pep8 package (mhorky@redhat.com) - build: switch to os.makedirs(..., exist_ok=True) (ptoscano@redhat.com) - build: call create_dest_dir() only when running callback (ptoscano@redhat.com) -- [1.28] 1859157: Display better error message on incorrect --org +- flake8: enable E131, E714 (ptoscano@redhat.com) +- 1859569: Abort on invalid username/token option in syspurpose commands (mhorky@redhat.com) +- Drop logging.conf (ptoscano@redhat.com) +- Drop long-dead sat5to6 script (ptoscano@redhat.com) +- Drop RHN migration (ptoscano@redhat.com) +- 1922151: Add /var/cache/cloud-what to python3-cloud-what RPM. + (jhnidek@redhat.com) +- ENT-164: Remove ga_loader importer (mhorky@redhat.com) +- ENT-164: Drop rhsm-gtk (mhorky@redhat.com) +- ENT-164: Drop subscription-manager-gui & rhsm-icon (mhorky@redhat.com) +- Add minimal documentation for the plugins directories (ptoscano@redhat.com) +- ENT-4168: Unify description of --org in syspurpose subcommands + (mhorky@redhat.com) +- 1922151: Use in-memory cache on AWS too (jhnidek@redhat.com) +- Move zypper plugins to an own directory (ptoscano@redhat.com) +- Move dnf plugins to an own directory (ptoscano@redhat.com) +- Move libdnf plugins to an own directory (ptoscano@redhat.com) +- Drop support for YUM plugins (ptoscano@redhat.com) +- Drop YUM plugins (ptoscano@redhat.com) - Add 'syspurpose' to list of commands in manpage (mhorky@redhat.com) +- ENT-4152: Drop initial-setup addon (mhorky@redhat.com) +- ENT-4136: Drop firstboot support (mhorky@redhat.com) +- ENT-3764: Change comments to follow Conscious language initiative + (mhorky@redhat.com) +- ENT-3764: Update variable names in hwprobe.py (mhorky@redhat.com) +- ENT-3764: Update project URLs to new versions (mhorky@redhat.com) +- ENT-3764: Remove BLACKLISTED_LOCALES (mhorky@redhat.com) +- 1980418: Add 'active' field to module stream profile (ianballou67@gmail.com) +- repos: document order of --enable & --disable (ptoscano@redhat.com) +- 1984133: repos: respect order of --enable & --disable (ptoscano@redhat.com) +- Include D-Bus sender in User-Agent http header; Singleton + (jhnidek@redhat.com) +- hwprobe.py: Fix counting cores per cpu for Fujitsu A64FX CPU + (m.mizuma@jp.fujitsu.com) +- flake8: enable E121, E122, E123, E126, E127, E128 (ptoscano@redhat.com) +- flake8: disable E122 for test/test_utils.py (ptoscano@redhat.com) +- Wrap first argument/element in function calls & containers + (ptoscano@redhat.com) +- Fix indentation of some continuation lines (ptoscano@redhat.com) - 1974641: Fix tab completion with multiple optional commands (mhorky@redhat.com) +- 1876828: Try to suppress errors in stderr when not run as root + (mhorky@redhat.com) +- 1977452: typo in string format change Add quotes to a {filename} and remove + an extra space. (tmerry@redhat.com) +- Update translation files (noreply@weblate.org) +- 1976240: Improve HTTP code/message reporting in error strings + (mhorky@redhat.com) +- Added new stage for running libdnf unit tests. (jhnidek@redhat.com) +- make sure gpg key download doesn't fail because of private certs + (sbernhard@users.noreply.github.com) + +* Thu Jul 15 2021 Christopher Snyder 1.29.18-1 +- 1976324: Added cloud_what to log root namespaces (jhnidek@redhat.com) +- 1976324: Added cloud_what to log root namespaces (jhnidek@redhat.com) +- Slightly improve our container detection (#2611) (ptoscano@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- 1976225: read lscpu from its JSON output if available (#2699) + (ptoscano@redhat.com) +- 1975589: Correct typo in dnf plugin message (wpoteat@redhat.com) +- 1924126: Fix profile upload on AWS systems (jhnidek@redhat.com) + +* Thu Jul 08 2021 Christopher Snyder 1.29.17-1 +- Remove no arch from python3-cloud-what package (csnyder@redhat.com) +- 1938878: Fix issues discovered by static code analyzers (#2644) + (jhnidek@redhat.com) + +* Fri Jul 02 2021 Christopher Snyder 1.29.16-1 +- 1941904: remove packages (#2692) + (31166354+tlhmerry9@users.noreply.github.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (ptoscano@redhat.com) +- Move cloud detector/collector to cloud-what package (#2680) + (jhnidek@redhat.com) - 1975552: add '[SUBMODULE]' in syspurpose usage string (ptoscano@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- 1973807: fix wording on error when listing syspurpose values (#2684) + (ptoscano@redhat.com) - 1975552: remove extra '[OPTIONS]' from syspurpose usage string (#2682) (ptoscano@redhat.com) -- 2000883: move syspurpose subcommands within the 'syspurpose' command +- Make Azure cloud collector more reliable (#2645) (jhnidek@redhat.com) +- 1967210: Do not print warning, when valid value is provided + (jhnidek@redhat.com) +- 1968420: improve description of rhsm.conf format (ptoscano@redhat.com) +- Delete server repo file (suttner@atix.de) + +* Fri Jun 18 2021 Christopher Snyder 1.29.15-1 +- 1941904: actually disable initial-setup in RHEL >= 9, and Fedora too (#2675) + (ptoscano@redhat.com) + +* Wed Jun 16 2021 Christopher Snyder 1.29.14-1 +- Drop more files/references of old standalone syspurpose tool + (ptoscano@redhat.com) +- 1967780: improve placeholders in help text (ptoscano@redhat.com) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (ptoscano@redhat.com) +- 1898563: move syspurpose subcommands within the 'syspurpose' command (ptoscano@redhat.com) - Rename internal variable for syspurpose --show (ptoscano@redhat.com) - Drop command name from args when parsing them (ptoscano@redhat.com) -- 1983144: More useful feedback on unknown argument (mhorky@redhat.com) -- repos: document order of --enable & --disable (ptoscano@redhat.com) -- 1984133: repos: respect order of --enable & --disable (ptoscano@redhat.com) -- 1953069: bash: fix listing of config options (#2609) (ptoscano@redhat.com) -- 1952879: extract messages from argparse instead of optparse +- 1941904: disable initial-setup in RHEL >= 9 (ptoscano@redhat.com) +- 1959048: improve wording for invalid syspurpose values (ptoscano@redhat.com) +- Enable subman to run normally in containers for development/test + (csnyder@redhat.com) +- Fixed reporting of AWS cloud facts (null value) (jhnidek@redhat.com) +- cockpit: Test also system purpose (mmarusak@redhat.com) +- cockpit: Use current PF4 components and design (mmarusak@redhat.com) +- test: Update cockpit test/common library (mmarusak@redhat.com) +- cockpit: Update babel (mmarusak@redhat.com) +- cockpit: Sync lib/patternfly with Cockpit (mmarusak@redhat.com) + +* Mon Jun 07 2021 Christopher Snyder 1.29.13-1 +- Updated translations for Korean, Chinese (simiplified, zh_CN), Italian +- Refactoring of cloud collector/detector and facts (#2515) + (jhnidek@redhat.com) +- 1920020: show error message when setting invalid default_log_level as well as + on every run until changed to a valid value (tmerry@redhat.com) +- 1959048: improve wording for missing or empty syspurpose values (ptoscano@redhat.com) -- Replace optparse with argparse (wpoteat@redhat.com) -- Fixup syspurpose module help text / bash completion (csnyder@redhat.com) -- Added new syspurpose command; ENT-3060 (jhnidek@redhat.com) -- [1.28] ENT-4228: Format rhsmlib exception (mhorky@redhat.com) -- [1.28] ENT-4228: Always format restlib exceptions (mhorky@redhat.com) -- Update exception handling (mhorky@redhat.com) -- 1983074: Remove invalid log level (mhorky@redhat.com) -- adding timoeout to jenkins pipeline (#2585) (jmolet@redhat.com) -- [1.28] 1976240: Improve HTTP code/message reporting in error strings - (mhorky@redhat.com) -- [1.28] 1859569: Abort on invalid username/token argument in syspurpose - (mhorky@redhat.com) -- [1.28] ENT-4168: Unify description of --org in syspurpose subcommands - (mhorky@redhat.com) - -* Wed Aug 18 2021 Christopher Snyder 1.28.21-1 -- Updated translations from weblate -- 1922151: Add /var/cache/cloud-what to python3-cloud-what RPM. - (jhnidek@redhat.com) -- 1922151: Use in-memory cache on AWS too (jhnidek@redhat.com) -- hwprobe.py: Fix counting cores per cpu for Fujitsu A64FX CPU - (m.mizuma@jp.fujitsu.com) -- 1980418: Add 'active' field to module stream profile (ianballou67@gmail.com) - -* Fri Jul 23 2021 Christopher Snyder 1.28.20-1 -- 1876828: Try to suppress errors in stderr when not run as root - (mhorky@redhat.com) -- 1924126: Fix profile upload on AWS systems (jhnidek@redhat.com) - -* Wed Jul 14 2021 Christopher Snyder 1.28.19-1 -- Translated using Weblate (German) (ljanda@redhat.com) -- Translated using Weblate (German) (patrick.vollandt@mein-gym.de) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Remove no arch from python3-cloud-what package (csnyder@redhat.com) -- 1976324: Added cloud_what to log root namespaces (#2704) (jhnidek@redhat.com) - -* Mon Jul 12 2021 Christopher Snyder 1.28.18-1 -- Removed .orig files, which leaked into main branch (jhnidek@redhat.com) -- Move cloud detector/collector to cloud-what package (jhnidek@redhat.com) -- Make Azure cloud collector more reliable (jhnidek@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) - Update translation files (noreply@weblate.org) -- Fixed reporting of AWS cloud facts (null value) (#2693) (jhnidek@redhat.com) -- New extraction for translatable strings (#2688) (ptoscano@redhat.com) -- Refactoring of cloud collector/detector and facts (#2657) - (jhnidek@redhat.com) -- 1973731: fix wording on error when listing syspurpose values - (ptoscano@redhat.com) -- 1971693: syspurpose: remove deprecation notices (#2683) (ptoscano@redhat.com) -- 1968420: improve description of rhsm.conf format (ptoscano@redhat.com) -- 1967210: Do not print warning, when valid value is provided - (jhnidek@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- 1971693: syspurpose: adjust deprecation messages (ptoscano@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Korean) (ljanda@redhat.com) -- Update translation files (noreply@weblate.org) -- Fixed white space before '(' (jhnidek@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- 1960765: fix typo "explicity" in man page (ptoscano@redhat.com) +- cockpit: Lower cockpit-ws dependency to Recommends (martin@piware.de) +- test: Robustify and trim down cockpit-ws installation (martin@piware.de) +- jenkins: switch stylish job to Python 3 (ptoscano@redhat.com) - flake8: add more locally found issues (ptoscano@redhat.com) - Remove extra whitespace before '(' (ptoscano@redhat.com) -- 1967780: improve placeholders in help text (ptoscano@redhat.com) -- Add missing second empty line after class/function (ptoscano@redhat.com) -- New extraction for translatable strings (ptoscano@redhat.com) -- Add flake8 configuration (ptoscano@redhat.com) +- 1952879: extract messages from argparse instead of optparse + (ptoscano@redhat.com) +- po: set Project-Id-Version to rhsm (ptoscano@redhat.com) +- po: fuzzy messages with invalid/missing placeholders (ptoscano@redhat.com) +- po: ko: manually fix placeholder (ptoscano@redhat.com) +- Update script reference to base branch to main (wpoteat@redhat.com) +- 1896715: Set proper read permissions on certs (wpoteat@redhat.com) +- cockpit: Use PF4 based empty state (mmarusak@redhat.com) +- cockpit: Drop uglification (mmarusak@redhat.com) +- cockpit: Use 'noreferrer' for external links (mmarusak@redhat.com) +- cockpit: Add `standard-jsx` eslint plugin (mmarusak@redhat.com) +- cockpit: Remove loaders for .es6 files (mmarusak@redhat.com) +- cockpit: Add package-lock.json to .gitignore (mmarusak@redhat.com) - build: drop version requirements for pep8 and flake8 (ptoscano@redhat.com) - build: remove pyqver test requirement (ptoscano@redhat.com) +- Add flake8 configuration (ptoscano@redhat.com) +- Add missing second empty line after class/function (ptoscano@redhat.com) +- Fix some over-indented code blocks (ptoscano@redhat.com) - jenkins: disambiguate virtualenv names (ptoscano@redhat.com) -- jenkins: switch stylish job to Python 3 (ptoscano@redhat.com) -- cockpit: Invoke setup.py with python3 (martin@piware.de) -- 1897767: improve wording for invalid syspurpose values (ptoscano@redhat.com) -- Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) -- Translated using Weblate (Korean) (ljanda@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- 1956654: Fix issue with proxy and cockpit plugin (jhnidek@redhat.com) +- Releaser for Centos (wpoteat@redhat.com) -* Mon Jun 07 2021 Christopher Snyder 1.28.17-1 -- 1920020: show error message when setting invalid default_log_level as well as - on every run until changed to a valid value (#2641) - (tmerry@redhat.com) -- 1897767: improve wording for missing or empty syspurpose values +* Tue Apr 27 2021 Christopher Snyder 1.29.12-1 +- 1953069: bash: fix listing of config options (#2609) (ptoscano@redhat.com) +- Cleanup old *.egg-info dirs in %%post (csnyder@redhat.com) +- 1953047: bash: drop completion for subscribe & unsubscribe (ptoscano@redhat.com) -- 1951057: Cherry Pick to Add in memory read of cache, delete SCA cert with not - needed. (#2618) (tmerry@redhat.com) -- 1896715: Set proper read permissions on certs (wpoteat@redhat.com) -- Update translation files (noreply@weblate.org) -- 1956764: New extraction for translatable strings (ptoscano@redhat.com) -- 1672805: 'Addons' is failing spell check and should be changed to 'Add-ons' - to match documentation (tmerry@redhat.com) -- 1638080: surround the syspurpose feedback in quotes (tmerry@redhat.com) -- 1949492: remove bogus %%changelog entries (ptoscano@redhat.com) -- 1637083: remove the unset PROPERTY VALUE from the Generic Commands - (tmerry@redhat.com) -- 1897767: what does 'No valid values provided for usage' mean to the user for - subscription-manager-1.28 branch (tmerry@redhat.com) -- 1879856: suppress the warning message when setting syspurpose values (tmerry@redhat.com) +- 1952228: fix formatting of log error messages (ptoscano@redhat.com) -* Mon Apr 26 2021 Christopher Snyder 1.28.16-1 -- 1950015: fix typos in syspurpose(8) (#2604) (ptoscano@redhat.com) -- Updated translations for Korean and Italian from weblate (simmon@nplob.com) -- 1916540: Negative proxy tests occasionally encounter the wrong exception - handling (tmerry@redhat.com) -- 1880920: check for invalid addons (ptoscano@redhat.com) -- 1637083: Removed the parameters to the unset-addons subcommand - (tmerry@redhat.com) +* Thu Apr 22 2021 William Poteat 1.29.11-1 +- Add subscription-manager dependency to apt-katello-transport (kolb@atix.de) - 1898552: refactor/fix collection of IP v4/v6 address info (ptoscano@redhat.com) -- 1636950: modify description in the man page for syspurpose for the generic - commands (tmerry@redhat.com) - cockpit: Enable TLS for mock insights server (martin@piware.de) -- cockpit: Update test API to 236 (martin@piware.de) -- cockpit: Replace obsolete wait_present() with wait_visible() - (martin@piware.de) -- cockpit: Adjust for changed services image (martin@piware.de) -- 1928072: Print warning message and don't do auto-attach (jhnidek@redhat.com) -- 1878133: Deprecation message for syspurpose (#2421) (wpoteat@redhat.com) +- adding timoeout to jenkins pipeline (#2585) (jmolet@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) - 1819555: cockpit: translate untranslatable messages (ptoscano@redhat.com) -- cockpit: fix extraction of plural messages (ptoscano@redhat.com) -- 1863039: Fix issue with dnf/yum variables (jhnidek@redhat.com) +- Replace hardcoded errno value with constant (ptoscano@redhat.com) +- 1940658: bash: complete also the syspurpose subcommand (ptoscano@redhat.com) - 1878736: use our i18n functions instead of dnf ones (ptoscano@redhat.com) + +* Tue Apr 13 2021 William Poteat 1.29.10-1 - Switch dates returned by D-Bus ListInstalledProducts to ISO 8601 (ptoscano@redhat.com) - 1793501: switch dates returned by D-Bus GetPool to ISO 8601 (ptoscano@redhat.com) +- Add format_iso8601_date.format_iso8601_date() (ptoscano@redhat.com) +- Make sure, re-register works for deb repos (suttner@atix.de) +- 1863039: Fix issue with dnf/yum variables (jhnidek@redhat.com) +- 1879856: suppress the warning message when setting syspurpose values + (tmerry@redhat.com) - ENT-2779: call format() on translated string (ptoscano@redhat.com) - 1930037: cockpit: ensure /etc/pki/product exist (ptoscano@redhat.com) +- 1886772: Clear content access mode cache on refresh (csnyder@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) +- Reword ambiguous message (ptoscano@redhat.com) +- Properly use ungettext for plural forms (ptoscano@redhat.com) +- cockpit: fix extraction of plural messages (ptoscano@redhat.com) +- 1672805: 'Addons' is failing spell check and should be changed to 'Add-ons' + to match documentation (tmerry@redhat.com) +- 1731109: improve man page & help for registering with --force option + (tmerry@redhat.com) - 1749395: Proper handling when a user does not have an org (wpoteat@redhat.com) -- Add RHEL 8.5 releaser (csnyder@redhat.com) - -* Tue Mar 30 2021 Christopher Snyder 1.28.15-1 +- Translated using Weblate (Korean) (simmon@nplob.com) +- 1916540: Negative proxy tests occasionally encounter the wrong exception + handling (tmerry@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (suanand@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- ENT-3711: Fix a couple of typos (tmerry@redhat.com) +- ENT-2468: Use format strings with named arguments for translator context + (tmerry@redhat.com) +- ENT-3276: refactor test_managercli.py by modules (ptoscano@redhat.com) +- 1897767: what does 'No Valid values provided for usage' mean to the user + (tmerry@redhat.com) - Translated using Weblate (Korean) (simmon@nplob.com) - Translated using Weblate (Korean) (simmon@nplob.com) -- make value possibly plural for addons in syspurpose man page - (tmerry@localhost.localdomain) +- Replace optparse with argparse (wpoteat@redhat.com) +- Fix variable for RestlibException exception (ptoscano@redhat.com) - Translated using Weblate (Korean) (simmon@nplob.com) - Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Correction for condition that was breaking 3 nosetests (wpoteat@redhat.com) +- maybe this time? (tmerry@localhost.localdomain) - Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Remove extra '%%' in string (ptoscano@redhat.com) - Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- update language of REPOS OPTIONS in subscription-manager man page +- cockpit: Adjust for changed services image (martin@piware.de) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (wpoteat@redhat.com) +- Update translation files (noreply@weblate.org) +- 1897767: what does 'No valid values provided for usage' mean to the user (tmerry@localhost.localdomain) - Translated using Weblate (Korean) (simmon@nplob.com) -- change add-ons to addons (tmerry@localhost.localdomain) -- 1634780: typo in syspurpose man page (tmerry@localhost.localdomain) - 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS - of the subscription-manager man pages (tmerry@localhost.localdomain) -- 1637083: add unset sections (tmerry@localhost.localdomain) -- 1920017: Remove a sentence from the subscription-manager man page. (tmerry@localhost.localdomain) -- 1646718: Debrand message to not include Red Hat Subscription Manager but - instead with an entitlement server (tmerry@localhost.localdomain) -- 1682943: put a blank space back into a comment to separate two sentences - (tmerry@localhost.localdomain) -- 1857491: Add newline character to split a message into 2 lines - (tmerry@localhost.localdomain) -- 1920020: Set default_log_level to INFO when an invalid value is passed on the - command line (#2481) (31166354+tlhmerry9@users.noreply.github.com) -- 1924921: Fix getting releases, when SCA is used (jhnidek@redhat.com) -- Translated using Weblate (Korean) (simmon@nplob.com) -- Added translation using Weblate (Sinhala) (r45xveza@pm.me) -- Added translation using Weblate (Sinhala) (r45xveza@pm.me) -- 1927245: Mark several dir as part of RPM (jhnidek@redhat.com) +- 1880920: check for invalid addons (ptoscano@redhat.com) +- Add AbstractSyspurposeCommand._are_provided_values_valid helper + (ptoscano@redhat.com) +- 1924166: improve man text of syspurpose --show (ptoscano@redhat.com) +- 1646718 debrand a message so that it doesn't say Red Hat Subscription Manager + but instead an entitlement server (tmerry@localhost.localdomain) -* Thu Feb 18 2021 Christopher Snyder 1.28.13-1 +* Thu Mar 11 2021 Christopher Snyder 1.29.9-1 +- 1682943: add space to message to separate 2 sentences + (tmerry@localhost.localdomain) +- 1928667: Added UTC to the last_boot fact (ENT-3566) (#2456) + (31166354+tlhmerry9@users.noreply.github.com) +- 1608820: Check the Log Level to make sure it is valid, if not set it to INFO + (#2468) (31166354+tlhmerry9@users.noreply.github.com) +- Add nikos' auto assigner (csnyder@redhat.com) +- Added translation using Weblate (Sinhala) (r45xveza@pm.me) +- 1928072: Print warning message and don't do auto-attach (jhnidek@redhat.com) +- Refactor managercli (#2453) (wpoteat@redhat.com) +- 1924921: Fix getting releases, when SCA is used (jhnidek@redhat.com) + +* Tue Mar 02 2021 Christopher Snyder 1.29.8-1 +- 1920568: Solve dependency between debuginfo packages (jhnidek@redhat.com) +- ENT-3276: Merge syspurpose with subscription-manager (#2436) + (jhnidek@redhat.com) +- Revert "cockpit: Enable subscription-manager in dnf in tests (#2447)" (#2448) + (martinpitt@users.noreply.github.com) +- Update webpack and require webpack-cli as a dev dep (csnyder@redhat.com) +- Release to fedora main branch instead of master (csnyder@redhat.com) +- Add f34 target to the fedora releaser (csnyder@redhat.com) +- cockpit: Enable subscription-manager in dnf in tests (#2447) + (martinpitt@users.noreply.github.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) +- 1927245: Mark several dir as part of RPM; ENT-3555 (jhnidek@redhat.com) +- Update our fedora target to fedora32, default to f32 (csnyder@redhat.com) - Translated using Weblate (Chinese (Traditional) (zh_TW)) (jsefler@redhat.com) - Translated using Weblate (Chinese (Simplified) (zh_CN)) (jsefler@redhat.com) - -* Thu Feb 04 2021 Christopher Snyder 1.28.12-1 -- 1922210: Typo in help text [1.28] (#2428) (wpoteat@redhat.com) - -* Tue Feb 02 2021 Christopher Snyder 1.28.11-1 +- Translated using Weblate (Chinese (Traditional) (zh_TW)) (jsefler@redhat.com) +- 1922210: Typo in help text [master] (#2427) (wpoteat@redhat.com) +- Translated using Weblate (Korean) (suanand@redhat.com) - Translated using Weblate (Japanese) (suanand@redhat.com) -- Translated using Weblate (Chinese (Simplified) (zh_CN)) (suanand@redhat.com) +- Translated using Weblate (Korean) (ljanda@redhat.com) + +* Tue Feb 02 2021 Christopher Snyder 1.29.7-1 +- 1878133: Deprecation message for syspurpose (#2421) (wpoteat@redhat.com) - 1922173: Repeat auto-register only, when first attempt fail (#2420) (jhnidek@redhat.com) +- Use python3-requests and not python-requests. (#2419) (jhnidek@redhat.com) +- Fix issue with auto-registration interval. (jhnidek@redhat.com) -* Thu Jan 28 2021 William Poteat 1.28.10-1 -- Use python3-requests and not python-requests. (jhnidek@redhat.com) +* Wed Jan 27 2021 Christopher Snyder 1.29.6-1 +- Improved loggin of rhsmcertd and spec file updated (#2415) + (jhnidek@redhat.com) +- Change the label for metadata from "payload" to "metadata" + (csnyder@redhat.com) - ENT-3289: automatic registration on public cloud (#2407) (jhnidek@redhat.com) - ENT-3191: Collect metadata of cloud providers (#2381) (jhnidek@redhat.com) +- cockpit: Update test API to 236 (martin@piware.de) +- cockpit: Replace obsolete wait_present() with wait_visible() + (martin@piware.de) +- 1886772: Cache the content_access_mode for at most 4 hours independently of + the owner/organization. (csnyder@redhat.com) +- Extract of strings for translations (#2397) (wpoteat@redhat.com) +- Syntax update to translation commands (#2394) (wpoteat@redhat.com) +- Update project to use Weblate for translations (#2383) (wpoteat@redhat.com) +- Bump lxml from 4.2.5 to 4.6.2 in /syspurpose (#2382) + (49699333+dependabot[bot]@users.noreply.github.com) +- cockpit: Invoke setup.py with python3 (martin@piware.de) +- cockpit: Move default TEST_OS to rhel-8-3 (martin@piware.de) +- 1886772: Add in memory read through cache, delete SCA cert when not needed + (csnyder@redhat.com) - Detecting of cloud providers; ENT-3288 (#2367) (jhnidek@redhat.com) -- 1899677: Extract of strings for translations (#2399) (wpoteat@redhat.com) -- Syntax update to translation commands (#2395) (wpoteat@redhat.com) -- Update project to use Weblate for translations (#2388) (wpoteat@redhat.com) +- Fixup syspurpose module help text / bash completion (csnyder@redhat.com) -* Fri Dec 11 2020 Christopher Snyder 1.28.9-1 +* Fri Dec 11 2020 Christopher Snyder 1.29.5-1 - 1904541: Catch ProxyException when checking available orgs (csnyder@redhat.com) -* Thu Dec 10 2020 Christopher Snyder 1.28.8-1 +* Thu Dec 10 2020 Christopher Snyder 1.29.4-1 - 1904541: subscription-manager should not prompt for "Organization" when only - one organization (#2372) (wpoteat@redhat.com) + one organization (#2371) (wpoteat@redhat.com) + +* Thu Dec 10 2020 Christopher Snyder 1.29.3-1 +- 1847910: Do not include dnf plugins in libdnf RPM. (#2370) + (jhnidek@redhat.com) + +* Thu Dec 10 2020 Christopher Snyder 1.29.2-1 - 1801570: drop scrollkeeper/rarian as a dependency from rhsm-gtk (csnyder@redhat.com) +- Stop releasing to f31 (f31 is no longer supported) (csnyder@redhat.com) -* Thu Dec 03 2020 Christopher Snyder 1.28.7-1 -- 1855437: Fixed rpm dependency of subscription-manager; ENT-3250 (#2365) +* Thu Dec 03 2020 Christopher Snyder 1.29.1-1 +- 1894450: Fix issue with identity command; ENT-3235 (#2362) (jhnidek@redhat.com) -- 1894450: Fix issue with identity command; ENT-3235 (#2364) +- Extended D-Bus API - syspurpose methods; ENT-2373 (jhnidek@redhat.com) +- 1855437: Fixed rpm dependency of subscription-manager; ENT-3250 (jhnidek@redhat.com) +- Fix building libdnf-plugin RPM; ENT-3192 (jhnidek@redhat.com) +- Create log dir by rhsmcertd, when log dir does not exist (jhnidek@redhat.com) +- Try to fix Suse tests. (jhnidek@redhat.com) +- improve the help message for attach --auto (ondrej@budai.cz) +- 1890080: Handle IOErrors and Exceptions when looking for process names + (csnyder@redhat.com) -* Mon Nov 16 2020 Christopher Snyder 1.28.6-1 +* Mon Nov 16 2020 Christopher Snyder 1.29.0-1 - 1850624: Uncaught JSONDecodeError when content_access.json is empty and registering to Satellite6 (wpoteat@redhat.com) -- 1831082: Better messages for attach --auto for SCA mode; ENT-3175 +- Automatic commit of package [subscription-manager] release [1.28.6-1]. + (csnyder@redhat.com) +- 1826300: Better messages for attach --auto for SCA mode; ENT-3175 (jhnidek@redhat.com) +- Removed some obsoleted files. (jhnidek@redhat.com) +- Added new syspurpose command; ENT-3060 (jhnidek@redhat.com) + +* Tue Nov 10 2020 Christopher Snyder 1.28.6-1 +- Added new syspurpose command; ENT-3060 (jhnidek@redhat.com) * Thu Oct 22 2020 Christopher Snyder 1.28.5-1 - removing yarn (jmolet@redhat.com)