From fe802a9642b68d63feef337cd8a2c64c547bbc9c Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Mon, 10 Jul 2023 16:18:17 +0200 Subject: [PATCH] [packit] 1.25.0 upstream release Upstream tag: 1.25.0 Upstream commit: 7b7ecc7b --- .gitignore | 1 + .packit.yaml | 166 ++++++++++++++++++++++++++------------------------ README.packit | 2 +- sources | 2 +- tmt.spec | 85 ++++++++++++++++++++++++-- 5 files changed, 172 insertions(+), 84 deletions(-) diff --git a/.gitignore b/.gitignore index ac28522..e767516 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /tmt-1.22.0.tar.gz /tmt-1.23.0.tar.gz /tmt-1.24.1.tar.gz +/tmt-1.25.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml index f14e8c4..77e1513 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -11,10 +11,12 @@ upstream_project_url: https://github.com/teemtee/tmt issue_repository: https://github.com/teemtee/tmt actions: - create-archive: - - make tarball - get-current-version: - - make version + post-upstream-clone: + - echo + create-archive: + - make tarball + get-current-version: + - make version srpm_build_deps: - make @@ -22,84 +24,92 @@ srpm_build_deps: jobs: -- job: copr_build - trigger: pull_request - targets: - - fedora-all - - epel-8 - - epel-9 - enable_net: False + # Build pull requests + - job: copr_build + trigger: pull_request + targets: + - fedora-all + - epel-8 + - epel-9 + enable_net: False -- job: tests - trigger: pull_request - targets: - - fedora-all - - epel-8 - - epel-9 + # Test pull requests + - job: tests + trigger: pull_request + targets: + - fedora-all + - epel-8 + - epel-9 -- job: tests - trigger: pull_request - identifier: "internal-plugins" - targets: - - fedora-latest-stable - use_internal_tf: True - fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git" - # Tag cloud resources for tmt - tf_extra_params: - environments: - - settings: - provisioning: - tags: - BusinessUnit: tmt + # Test internal plugins + - job: tests + trigger: pull_request + identifier: "internal-plugins" + targets: + - fedora-latest-stable + use_internal_tf: True + fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git" + # Tag cloud resources for tmt + tf_extra_params: + environments: + - settings: + provisioning: + tags: + BusinessUnit: tmt -- job: tests - trigger: pull_request - identifier: "internal-wow" - targets: - - fedora-latest-stable - use_internal_tf: True - fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git" - tmt_plan: "/tmt/integration/plan" - tf_extra_params: - environments: - - settings: - provisioning: - tags: - BusinessUnit: tmt + # Test internal wow + - job: tests + trigger: pull_request + identifier: "internal-wow" + targets: + - fedora-latest-stable + use_internal_tf: True + fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git" + tmt_plan: "/tmt/integration/plan" + tf_extra_params: + environments: + - settings: + provisioning: + tags: + BusinessUnit: tmt -- job: copr_build - trigger: commit - branch: main - targets: - - fedora-all - - epel-8 - - epel-9 - enable_net: False - list_on_homepage: True - preserve_project: True - owner: psss - project: tmt + # Build commits to main + - job: copr_build + trigger: commit + branch: main + targets: + - fedora-all + - epel-8 + - epel-9 + enable_net: False + list_on_homepage: True + preserve_project: True + owner: psss + project: tmt -# Fedora releases -- job: propose_downstream - trigger: release - dist_git_branches: - - fedora-all - - epel-8 - - epel-9 + # Fedora releases + - job: propose_downstream + trigger: release + dist_git_branches: + - fedora-all + - epel-8 + - epel-9 + actions: + post-upstream-clone: + - echo -- job: koji_build - trigger: commit - allowed_pr_authors: ["packit", "psss", "lzachar"] - allowed_committers: ["packit", "psss", "lzachar"] - dist_git_branches: - - fedora-all - - epel-8 - - epel-9 + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit", "psss", "lzachar"] + allowed_committers: ["packit", "psss", "lzachar"] + dist_git_branches: + - fedora-all + - epel-8 + - epel-9 -- job: bodhi_update - trigger: commit - dist_git_branches: - - fedora-branched - - epel-8 - - epel-9 + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched + - epel-8 + - epel-9 diff --git a/README.packit b/README.packit index 01582f6..83c84ce 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.76.0. +The file was generated using packit 0.75.0. diff --git a/sources b/sources index ac226e7..ff0d1f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tmt-1.24.1.tar.gz) = d749c1b7c97d879d81549c09428bca9fae0ea4bab51c7d95b5bff7e5485dd46b3664f74851592624d269d821c3f573ea204ded09264f355dfa24f0c77c99806f +SHA512 (tmt-1.25.0.tar.gz) = b79a038ca229d719ac5f6cdb8156424c3dfc9d81afade597e39bf2b3f08e23434965302370304a31e0345919a9a82a00e224003ccde3765b7f369898d8aaea6a diff --git a/tmt.spec b/tmt.spec index d0a4dc8..2df2a25 100644 --- a/tmt.spec +++ b/tmt.spec @@ -1,6 +1,6 @@ Name: tmt -Version: 1.24.1 -Release: 2%{?dist} +Version: 1.25.0 +Release: 1%{?dist} Summary: Test Management Tool License: MIT @@ -14,7 +14,6 @@ ExcludeArch: %{power64} URL: https://github.com/teemtee/tmt Source0: https://github.com/teemtee/tmt/releases/download/%{version}/tmt-%{version}.tar.gz -Patch0: dnf5-support.patch %define workdir_root /var/tmp/tmt @@ -170,7 +169,7 @@ package to have all available plugins ready for testing. %prep -%autosetup -p1 +%autosetup %build @@ -251,6 +250,84 @@ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/ %changelog +* Mon Jul 10 2023 Lukáš Zachar - 1.25.0 +- Test for pruning needs VM +- Internal anonymous git:// access is deprecated +- Add tests and some modifications after rebases +- Clone to tmp and use fmf.Tree.find instead of looping +- Add clone_dirpath to Common +- Fix bad usage of path and name +- Fix multiple clones and inherited fmf metadata +- Beakerlibs pruning and merge +- Add dynamic ref evaluation support to plan import +- Replace self.opt() when looking for debug/verbose/quiet setting +- Reimplement the `ReportPortal` plugin using API +- Make `Step` class own export of step data (#2040) +- Make relevancy/coverage linters to not re-read fmf files +- Add a single `tmpdir` fixture for all Python versions +- Replace named tuples with data classes +- Replace `/` in safe name, and fix prepare step to use safe names +- Do not export fmf id's ref when it's the default branch +- Move the sync libraries into a separate section +- Allow running next plan in queue when one fails to complete +- Fix a too strict check for the detected library +- Convert provision plugins' step data to our field implementation +- Convert execute plugins to `tmt.utils.field()` for options +- Cache that beakerlib/library repo is missing +- Use code-block directive for examples and code blocks +- Add the `show()` method for guest data packages +- Turn fmf context into a fancy dict +- Enable ruff checks for mutable dataclass field defaults +- Create option metavar from listed choices +- Document how to modify imported plans +- Recommend needs a different option for `dnf5` +- Ask ruff to show what it fixed +- Bumps supported Artemis API to 0.0.58 +- Use `--version` to gather the package_manager fact +- Use f-strings where possible +- Bump pre-commit hooks to latest version +- Fix ruff RUF010: Use f-strings conversion flags +- Fix py<38 mypy type:ignore being on wrong line +- Move isort to ruff +- Enable passing Pylint checks +- Fix ruff RSE102: Unnecessary parentheses on exception +- Fix ruff PIE: flake8-pie errors +- Remove duplicates from ruff rules selection +- Fix ruff SIM: flake8-simplify errors +- Fix ruff RET: flake8-return errors +- Fix ruff PT: flake8-pytest-style errors +- Fix ruff UP: pyupgrade errors +- Fix ruff N: pep8-naming errors +- Fix ruff RUF005: collection-literal-concatenation +- Fix ruff B: flake8-bugbear errors +- Fix flake8 C405: unnecessary literal set +- Fix flake8 C401: unnecessary generator set +- Fix flake8 C416: unnecessary comprehension +- Fix flake8 C408: unnecessary collection calls +- Polarion report set to UTC timezone +- Add `Organize Data` as a new tmt guide chapter +- Fix emptiness check of /var/tmp/tmt in /tests/status/base +- Allow modification of imported plans +- Raise error if malformed test metadata is given +- Ensure test with empty custom results ends as an ERROR +- Fix /tests/status/base when /var/tmp/tmt is empty +- Remove `pytest.ini` from the `Makefile` targets +- Bad source path for local libraries file require +- Remove useless loop.cycle() from the HTML report +- Implement basic filtering for the HTML report +- Cleanup of "logging function" types +- Do not patch verbosity in discover for --fmf-id +- Drop enum from HW hypervisor and boot method constraints +- Fix enforcement of workdir root in full workdir root test +- Narrow type of file & library dependencies +- Make web-link test play nicely with custom SSH host config +- Use serialization callbacks for last script fields +- Save click context in click context object +- Add the `envvar` argument to `utils.field()` +- Improve structure of the packit config a bit +- Update release instructions with simplified steps +- Sync changelog when creating downstream release + * Fri Jun 09 2023 Petr Šplíchal - 1.24.1-1 - Revert the `Source0` url to the original value - Use correct url for the release archive, fix docs