Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dnf-plugins-extras for openSUSE:Factory checked in at 2021-04-21 21:00:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dnf-plugins-extras (Old) and /work/SRC/openSUSE:Factory/.dnf-plugins-extras.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dnf-plugins-extras" Wed Apr 21 21:00:06 2021 rev:8 rq:887048 version:4.0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/dnf-plugins-extras/dnf-plugins-extras.changes 2020-12-10 15:59:01.582904643 +0100 +++ /work/SRC/openSUSE:Factory/.dnf-plugins-extras.new.12324/dnf-plugins-extras.changes 2021-04-21 21:00:37.374316968 +0200 @@ -1,0 +2,9 @@ +Tue Apr 13 14:18:21 UTC 2021 - Neal Gompa <ngomp...@gmail.com> + +- Update to version 4.0.14 + + Add dnf-command() provides for offline commands (rh#1917378) + + Add symlink for man pages (rh#1917378) +- Drop patch included in this release + + Patch: 0001-test_system_upgrade-Set-installroot-in-the-mocked-cl.patch + +------------------------------------------------------------------- Old: ---- 0001-test_system_upgrade-Set-installroot-in-the-mocked-cl.patch dnf-plugins-extras-4.0.13.tar.gz New: ---- dnf-plugins-extras-4.0.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dnf-plugins-extras.spec ++++++ --- /var/tmp/diff_new_pack.YWkQFz/_old 2021-04-21 21:00:39.006319538 +0200 +++ /var/tmp/diff_new_pack.YWkQFz/_new 2021-04-21 21:00:39.010319544 +0200 @@ -32,7 +32,7 @@ %bcond_without tests Name: dnf-plugins-extras -Version: 4.0.13 +Version: 4.0.14 Release: 0 Summary: Extras Plugins for DNF License: GPL-2.0-or-later @@ -41,7 +41,6 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Backports from upstream -Patch0001: 0001-test_system_upgrade-Set-installroot-in-the-mocked-cl.patch BuildRequires: cmake BuildRequires: gettext @@ -224,6 +223,11 @@ ln -sr ../dnf-system-upgrade.service popd +# Link dnf-offline-{upgrade,distrosync}.8 to dnf-system-upgrade.8 +echo ".so man8/dnf-system-upgrade.8" > %{buildroot}%{_mandir}/man8/dnf-offline-upgrade.8 +echo ".so man8/dnf-system-upgrade.8" > %{buildroot}%{_mandir}/man8/dnf-offline-distrosync.8 + + %find_lang %{name} %if ! %{with tracer} @@ -263,6 +267,8 @@ %{_unitdir}/system-update.target.wants/dnf-system-upgrade.service %{python3_sitelib}/dnf-plugins/system_upgrade.py %{_mandir}/man8/dnf-system-upgrade.* +%{_mandir}/man8/dnf-offline-upgrade.* +%{_mandir}/man8/dnf-offline-distrosync.* %if %{with tracer} %files -n python3-dnf-plugin-tracer ++++++ dnf-plugins-extras-4.0.13.tar.gz -> dnf-plugins-extras-4.0.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/.github/workflows/ci.yml new/dnf-plugins-extras-4.0.14/.github/workflows/ci.yml --- old/dnf-plugins-extras-4.0.13/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/.github/workflows/ci.yml 2021-04-12 17:33:31.000000000 +0200 @@ -0,0 +1,55 @@ +--- +name: DNF CI +on: pull_request_target + +jobs: + copr-build: + name: Copr Build + runs-on: ubuntu-latest + container: + image: ghcr.io/rpm-software-management/dnf-ci-host + outputs: + package-urls: ${{steps.copr-build.outputs.package-urls}} + steps: + - name: Check out ci-dnf-stack + uses: actions/checkout@v2 + with: + repository: rpm-software-management/ci-dnf-stack + + - name: Setup CI + id: setup-ci + uses: ./.github/actions/setup-ci + with: + copr-user: ${{secrets.COPR_USER}} + copr-api-token: ${{secrets.COPR_API_TOKEN}} + + - name: Check out sources + uses: actions/checkout@v2 + with: + path: gits/${{github.event.repository.name}} + ref: ${{github.event.pull_request.head.sha}} # check out the PR HEAD + fetch-depth: 0 + + - name: Run Copr Build + id: copr-build + uses: ./.github/actions/copr-build + with: + copr-user: ${{steps.setup-ci.outputs.copr-user}} + + integration-tests: + name: DNF Integration Tests + needs: copr-build + runs-on: ubuntu-latest + container: + image: ghcr.io/rpm-software-management/dnf-ci-host + options: --privileged + steps: + - name: Check out ci-dnf-stack + uses: actions/checkout@v2 + with: + repository: rpm-software-management/ci-dnf-stack + + - name: Run Integration Tests + uses: ./.github/actions/integration-tests + with: + package-urls: ${{needs.copr-build.outputs.package-urls}} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/dnf-plugins-extras.spec new/dnf-plugins-extras-4.0.14/dnf-plugins-extras.spec --- old/dnf-plugins-extras-4.0.13/dnf-plugins-extras.spec 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/dnf-plugins-extras.spec 2021-04-12 17:33:31.000000000 +0200 @@ -4,7 +4,7 @@ %undefine __cmake_in_source_build Name: dnf-plugins-extras -Version: 4.0.13 +Version: 4.0.14 Release: 1%{?dist} Summary: Extras Plugins for DNF License: GPLv2+ @@ -88,6 +88,8 @@ Requires: python3-systemd %{?python_provide:%python_provide python3-%{name}-system-upgrade} Provides: dnf-command(system-upgrade) +Provides: dnf-command(offline-upgrade) +Provides: dnf-command(offline-distrosync) Provides: %{name}-system-upgrade = %{version}-%{release} Provides: system-upgrade = %{version}-%{release} Provides: dnf-plugin-system-upgrade = %{version}-%{release} @@ -102,8 +104,8 @@ %{?systemd_requires} %description -n python3-dnf-plugin-system-upgrade -System Upgrade Plugin for DNF, Python 3 version. Enables offline system upgrades -using the "dnf system-upgrade" command. +System Upgrade Plugin for DNF, Python 3 version. Enables offline system upgrades and distrosync +using three commands: ``system-upgrade``, ``offline-upgrade``, and ``offline-distrosync``. %package -n python3-dnf-plugin-tracer Summary: Tracer Plugin for DNF @@ -162,6 +164,9 @@ ln -sr ../dnf-system-upgrade.service popd +ln -sf %{_mandir}/man8/dnf-system-upgrade.8.gz %{buildroot}%{_mandir}/man8/dnf-offline-upgrade.8.gz +ln -sf %{_mandir}/man8/dnf-system-upgrade.8.gz %{buildroot}%{_mandir}/man8/dnf-offline-distrosync.8.gz + %find_lang %{name} %check @@ -196,6 +201,8 @@ %{python3_sitelib}/dnf-plugins/system_upgrade.py %{python3_sitelib}/dnf-plugins/__pycache__/system_upgrade.* %{_mandir}/man8/dnf-system-upgrade.* +%{_mandir}/man8/dnf-offline-upgrade.8.gz +%{_mandir}/man8/dnf-offline-distrosync.8.gz %files -n python3-dnf-plugin-tracer %{python3_sitelib}/dnf-plugins/tracer.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/doc/release_notes.rst new/dnf-plugins-extras-4.0.14/doc/release_notes.rst --- old/dnf-plugins-extras-4.0.13/doc/release_notes.rst 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/doc/release_notes.rst 2021-04-12 17:33:31.000000000 +0200 @@ -5,6 +5,16 @@ .. contents:: ==================== +4.0.14 Release Notes +==================== + +- [spec] Add dnf-command() provides for offline commands (RhBug:1917378) + +Bugs fixed in 4.0.14: + +* :rhbug:`1917378` + +==================== 4.0.13 Release Notes ==================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/doc/summaries_cache new/dnf-plugins-extras-4.0.14/doc/summaries_cache --- old/dnf-plugins-extras-4.0.13/doc/summaries_cache 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/doc/summaries_cache 2021-04-12 17:33:31.000000000 +0200 @@ -214,5 +214,9 @@ [ 1863434, "dnf-plugins-extras: FTBFS in Fedora rawhide/f33" + ], + [ + 1917378, + "Make offline-upgrade and offline-distrosync easy to find and install" ] ] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/doc/system-upgrade.rst new/dnf-plugins-extras-4.0.14/doc/system-upgrade.rst --- old/dnf-plugins-extras-4.0.13/doc/system-upgrade.rst 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/doc/system-upgrade.rst 2021-04-12 17:33:31.000000000 +0200 @@ -40,10 +40,6 @@ ``dnf system-upgrade download --releasever VERSION [OPTIONS]`` -On modular system, also set the ``module_platform_id``. For example, for Fedora 30: - -``dnf system-upgrade download --releasever 30 [OPTIONS]`` - ``dnf system-upgrade reboot`` ``dnf system-upgrade clean`` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/po/zanata.xml new/dnf-plugins-extras-4.0.14/po/zanata.xml --- old/dnf-plugins-extras-4.0.13/po/zanata.xml 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/po/zanata.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<config xmlns="http://zanata.org/namespace/config/"> - <url>https://fedora.zanata.org/</url> - <project>dnf-plugins-extras</project> - <project-version>master</project-version> - <project-type>gettext</project-type> -</config> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dnf-plugins-extras-4.0.13/tests/test_system_upgrade.py new/dnf-plugins-extras-4.0.14/tests/test_system_upgrade.py --- old/dnf-plugins-extras-4.0.13/tests/test_system_upgrade.py 2020-11-23 18:01:07.000000000 +0100 +++ new/dnf-plugins-extras-4.0.14/tests/test_system_upgrade.py 2021-04-12 17:33:31.000000000 +0200 @@ -251,8 +251,13 @@ class CommandTestCaseBase(unittest.TestCase): def setUp(self): self.datadir = tempfile.mkdtemp(prefix="system_upgrade_test_datadir-") + self.installroot = tempfile.mkdtemp(prefix="system_upgrade_test_installroot-") system_upgrade.SystemUpgradeCommand.DATADIR = self.datadir self.cli = mock.MagicMock() + # the installroot is not strictly necessary for the test, but + # releasever detection is accessing host system files without it, and + # this fails on permissions in COPR srpm builds (e.g. from rpm-gitoverlay) + self.cli.base.conf.installroot = self.installroot self.command = system_upgrade.SystemUpgradeCommand(cli=self.cli) self.command.base.conf.cachedir = os.path.join(self.datadir, "cache") self.command.base.conf.destdir = None @@ -403,7 +408,6 @@ self.command.opts.repos_ed = [] self.cli.demands.allow_erasing = "allow_erasing" self.command.base.conf.best = True - self.command.base.conf.installroot = self.datadir self.command.base.conf.releasever = "35" self.command.base.conf.gpgcheck = True self.command.opts.destdir = self.datadir @@ -431,7 +435,6 @@ self.command.opts.repos_ed = [] self.cli.demands.allow_erasing = "allow_erasing" self.command.base.conf.best = True - self.command.base.conf.installroot = self.datadir self.command.base.conf.releasever = "35" self.command.base.conf.gpgcheck = True self.command.opts.destdir = self.datadir