From 0be736c009093f83a6f939a627f0e279685d1328 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 29 Oct 2024 11:07:11 -0400 Subject: [PATCH] Use "avocado-latest-release" repository In both the installation instructions, and in the release guide. This reflects changes in distros and the availability of features such as Fedora (and EPEL) modules. Fixes: https://github.com/avocado-framework/avocado/issues/6044 Reference: https://fedoraproject.org/wiki/Changes/RetireModularity Signed-off-by: Cleber Rosa --- .../guides/user/chapters/installing.rst | 33 +++++++------------ examples/testplans/release/release.json | 8 +++-- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/docs/source/guides/user/chapters/installing.rst b/docs/source/guides/user/chapters/installing.rst index bc230d2cbf..f3c6c59ac9 100644 --- a/docs/source/guides/user/chapters/installing.rst +++ b/docs/source/guides/user/chapters/installing.rst @@ -49,35 +49,26 @@ Installing from packages Fedora ~~~~~~ -Avocado modules are available on standard Fedora repos starting with -version 29. To subscribe to the latest version stream, run:: +Avocado is available as a standard Fedora package. Simply run:: - $ dnf module enable avocado:latest + $ dnf install python3-avocado -Or, to use the LTS (Long Term Stability) version stream, run:: +The exact version of Avocado is dependent on the Fedora version and +its release constraints. If you're looking to have the latest Avocado +release, please use Avocado's COPR repo, by running:: - $ dnf module enable avocado:103lts - -Then proceed to install a module profile or individual packages. If you're -unsure about what to do, simply run:: - - $ dnf module install avocado + $ dnf copr enable @avocado/avocado-latest-release + $ dnf install python3-avocado Enterprise Linux ~~~~~~~~~~~~~~~~ -Avocado modules are also available on EPEL (Extra Packages for Enterprise Linux) -repos, starting with version 8. To enable the EPEL repository, run:: - - $ dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm - -Then to enable the module, run:: - - $ dnf module enable avocado:latest - -And finally, install any number of packages, such as:: +The latest release of Avocado is available on the same COPR repo +described previously. To install the latest Avocado release on +Enterprise Linux 9, run:: - $ dnf install python3-avocado python3-avocado-plugins-output-html python3-avocado-plugins-varianter-yaml-to-mux + $ dnf copr enable @avocado/avocado-latest-release + $ dnf install python3-avocado Latest Development RPM Packages from COPR ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/examples/testplans/release/release.json b/examples/testplans/release/release.json index 4f6e48c29d..dabc1011b4 100644 --- a/examples/testplans/release/release.json +++ b/examples/testplans/release/release.json @@ -16,8 +16,12 @@ "description": "Run the GitHub Action 'Release' on the master branch at https://github.com/avocado-framework/avocado/actions/workflows/release.yml . All the jobs must pass. This action will update the `master` branch and a tag `VERSION`.\nIMPORTANT NOTE: the automatic tag won't be signed anymore by the release developer." }, { - "name": "Update the Fedora and EPEL RPM packages and module", - "description": "Follow the instructions on:\n\nhttps://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/releasing.html#how-to-refresh-fedora-epel-modules\n\nand work with the package maintainer by sending a PR to update the Avocado version on the `avocado:latest` stream." + "name": "Trigger an COPR build for avocado-latest-release", + "description": "Log into https://copr.fedorainfracloud.org/coprs/g/avocado/avocado-latest-release/add_build/ and submit a new build using SCM as the source type, the clone URL being https://github.com/avocado-framework/avocado.git, the committish being the version tag (such as 109.0) and make srpm as the mechanism to build a SRPM." + }, + { + "name": "Update the Fedora RPM packages", + "description": "Follow the instructions on:\n\nhttps://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/releasing.html#how-to-refresh-fedora-epel-modules\n\nand work with the package maintainer by sending a PR to update the Avocado package on rawhide." }, { "name": "Update website",