From 0b0398a2b21866dc489ad02aa7b4ff3017e9c36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 19 Apr 2024 15:19:34 +0200 Subject: [PATCH] Release 1.32.2 Fix /tests/run/permission as rpm no longer owns /var/tmp/tmt directory --- docs/overview.rst | 2 +- docs/releases.rst | 8 ++++++++ tests/run/permissions/test.sh | 5 ----- tmt.spec | 13 ++++++++++++- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/docs/overview.rst b/docs/overview.rst index 89e5512892..de302014bc 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -718,7 +718,7 @@ Marcin Sobczyk, Jiří Jabůrek, Huijing Hei, Tibor Dudlák, Jan Macků, Filip Vágner, Martin Hoyer, Iveta Česalová, Yi Zhang, Zhaojuan Guo, Natália Bubáková, Michal Josef Špaček, Jiří Popelka, Matej Focko, Yulia Kopkova, Tomáš Bajer, Carlos Rodriguez-Fernandez, -James Molet, Christian Le, Lili Nie and Martin Čermák. +James Molet, Cristian Le, Lili Nie and Martin Čermák. Copyright diff --git a/docs/releases.rst b/docs/releases.rst index 246e72acff..43a2b42fe8 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -4,6 +4,14 @@ Releases ====================== +tmt-1.32.2 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Set priorities for package manager discovery. They are now probed +in order: ``rpm-ostree``, ``dnf5``, ``dnf``, ``yum``, ``apk``, ``apt``. +This order picks the right package manager in the case when the +guest is ``ostree-booted`` but has the dnf installed. + tmt-1.32 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/run/permissions/test.sh b/tests/run/permissions/test.sh index 804fc20871..f0a7d1fb9c 100755 --- a/tests/run/permissions/test.sh +++ b/tests/run/permissions/test.sh @@ -34,11 +34,6 @@ EOF rlLog "WORKDIR_ROOT=$WORKDIR_ROOT" rlPhaseEnd - rlPhaseStartTest "Correct rpm ownership and permissions" - rlAssertEquals "Owned by tmt" "$(rpm -qf $WORKDIR_ROOT --qf '%{name}')" "tmt" - rlAssertEquals "Correct permission" "$(stat --format '%a' $WORKDIR_ROOT)" "1777" - rlPhaseEnd - rlPhaseStartTest "Recreated correctly" rlFileBackup --clean "$WORKDIR_ROOT" rlRun "rm -rf $WORKDIR_ROOT" diff --git a/tmt.spec b/tmt.spec index 0df6e9693b..6da3f8bc8b 100644 --- a/tmt.spec +++ b/tmt.spec @@ -1,5 +1,5 @@ Name: tmt -Version: 1.32.1 +Version: 1.32.2 Release: %autorelease Summary: Test Management Tool @@ -144,6 +144,17 @@ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/ %files -n tmt+all -f %{_pyproject_ghost_distinfo} %changelog +* Fri Apr 19 2024 Lukáš Zachar - 1.32.2 +- Remove /var/tmp workdir from rpm packaging +- Refactor package manager discovery to allow priorities +- Add unit test for package manager installing a file system path +- Update pre-commit checks and add a couple of new ones +- Removing c9s workaround for pytest-container +- Clarify the `--last` symlink creation race a bit +- Remove the `.travis.yml` config file +- Correctly show the `--provision-timeout` default +- Refresh Beaker API client in mrack to use up-to-date Kerberos ticket + * Thu Mar 28 2024 Martin Hoyer - 1.32.1 - rpm .spec file version bump - Update pytest on c9s when using site-packages