|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
Name: tmt
|
|
|
|
|
Version: 1.23.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.26.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: Test Management Tool
|
|
|
|
|
License: MIT
|
|
|
|
@@ -49,9 +49,6 @@ BuildRequires: python%{python3_pkgversion}-markdown
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-junit_xml
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-jinja2
|
|
|
|
|
%if 0%{?rhel} >= 9 || 0%{?fedora}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-mrack-beaker >= 1.12.1
|
|
|
|
|
%endif
|
|
|
|
|
# Only needed for rhel-8 (it has python3.6)
|
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-typing-extensions
|
|
|
|
@@ -61,8 +58,6 @@ BuildRequires: python%{python3_pkgversion}-importlib-metadata
|
|
|
|
|
# Required for tests
|
|
|
|
|
BuildRequires: rsync
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
|
|
|
|
# Necessary until tmt-1.24 is released
|
|
|
|
|
Requires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}
|
|
|
|
|
The tmt Python module and command line tool implement the test
|
|
|
|
@@ -252,8 +247,161 @@ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu May 15 2023 Lukáš Zachar <lzachar@redhat.com> - 1.23.0-2
|
|
|
|
|
- Require python3-setuptools
|
|
|
|
|
* Fri Sep 01 2023 Lukáš Zachar <lzachar@redhat.com> - 1.26.1
|
|
|
|
|
- Rewrite git url for discover fmf: modified-only
|
|
|
|
|
|
|
|
|
|
* Mon Jul 31 2023 Lukáš Zachar <lzachar@redhat.com> - 1.26.0
|
|
|
|
|
- Do not throw an exception on missing mrack.log
|
|
|
|
|
- Allow injecting credentials for git clone
|
|
|
|
|
- Exception in web_link() when node root is missing
|
|
|
|
|
- Rewrite url in git_clone
|
|
|
|
|
- Add support for rendering error tracebacks
|
|
|
|
|
- ReST export plugin should accept --template option
|
|
|
|
|
- Add `role` to the Beaker provision plugin schema
|
|
|
|
|
- Fix test checking custom destination for libraries
|
|
|
|
|
- Create plans to cover individual step features (#2216)
|
|
|
|
|
- Add cache_property for things that are generated but not often
|
|
|
|
|
- Simplify public git conversion with a declarative list
|
|
|
|
|
- Spec-based container becomes generic over input/output specs
|
|
|
|
|
- Clean up logging in `tmt.utils.create_directory()`
|
|
|
|
|
- Move test framework code into distinct framework classes
|
|
|
|
|
- Add template option to polarion report
|
|
|
|
|
- Group discover/fmf options, improve wording a bit
|
|
|
|
|
- Record tmt command line in tmt log
|
|
|
|
|
- Add note about dynamic ref to the plan import spec
|
|
|
|
|
- Use the `Deprecated` class for deprecated options
|
|
|
|
|
- Remove `python3-mrack-beaker` from `BuildRequires`
|
|
|
|
|
- Switch discover/fmf to our field() implementation
|
|
|
|
|
- Lock the `click` version < 8.1.4
|
|
|
|
|
- Refine examples of plans > discover > fmf
|
|
|
|
|
- Override packit actions for `propose_downstream`
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2023 Lukáš Zachar <lzachar@redhat.com> - 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 <psplicha@redhat.com> - 1.24.1-1
|
|
|
|
|
- Revert the `Source0` url to the original value
|
|
|
|
|
- Use correct url for the release archive, fix docs
|
|
|
|
|
|
|
|
|
|
* Wed Jun 07 2023 Petr Šplíchal <psplicha@redhat.com> - 1.24.0-1
|
|
|
|
|
- Do not display guest facts when showing a plan
|
|
|
|
|
- Add new guide/summary for multihost testing
|
|
|
|
|
- Define a "plugin registry" class
|
|
|
|
|
- Hide `facts` in the `virtual` provision plugin
|
|
|
|
|
- Cache resolved linters
|
|
|
|
|
- Improve documentation of lint checks (#2089)
|
|
|
|
|
- A custom wrapper for options instead of click.option()
|
|
|
|
|
- Identify incorrect subcommand after a correct one
|
|
|
|
|
- Remove one extra space between @ and decorator name
|
|
|
|
|
- Assign envvars to Polarion report arguments
|
|
|
|
|
- Expose "key address" to normalization callbacks (#1869)
|
|
|
|
|
- Move export of special test/plan/story fields to their respective classes
|
|
|
|
|
- Expose guest topology to tests and scripts (#2072)
|
|
|
|
|
- Enable building downstream release using Packit
|
|
|
|
|
- Add sections for environment variable groups
|
|
|
|
|
- Add default envvar to plugin options
|
|
|
|
|
- Load env TMT_WORKDIR_ROOT when running tmt status (#2087)
|
|
|
|
|
- Opportunistically use "selectable" entry_points.
|
|
|
|
|
- Explicitly convert tmpdir to str in test_utils.py.
|
|
|
|
|
- Move pytest.ini contents to pyproject.toml.
|
|
|
|
|
- Rename Require* classes to Dependency* (#2099)
|
|
|
|
|
- Expose fmf ID of tests in results
|
|
|
|
|
- Use the `tmt-lint` pre-commit hook
|
|
|
|
|
- Turn finish step implementation to queue-based one (#2110)
|
|
|
|
|
- Convert base classes to data classes (#2080)
|
|
|
|
|
- Crashed prepare and execute steps propagate all causes
|
|
|
|
|
- Support exceptions with multiple causes
|
|
|
|
|
- Make "needs sudo" a guest fact (#2096)
|
|
|
|
|
- Test data path must use safe guest/test names
|
|
|
|
|
- Support for multi case import from Polarion and Polarion as only source (#2084)
|
|
|
|
|
- Fix search function in docs
|
|
|
|
|
- Make tmt test wrapper name unique to avoid race conditions
|
|
|
|
|
- Change link-polarion argument default to false
|
|
|
|
|
- Add export plugin for JSON (#2058)
|
|
|
|
|
- Handle el6 as a legacy os too in virtual provision
|
|
|
|
|
- Hint beakerlib is old when result parsing fails
|
|
|
|
|
- Revert "Fix dry mode handling when running a remote plan"
|
|
|
|
|
- Set a new dict instance to the Plan class
|
|
|
|
|
- Replaces "common" object with logger in method hint logging
|
|
|
|
|
- Parallelize prepare and execute steps
|
|
|
|
|
- Formalizing guest "facts" storage
|
|
|
|
|
- Support urllib3 2.x and its allowed_methods/method_whitelist
|
|
|
|
|
- Require setuptools
|
|
|
|
|
|
|
|
|
|
* Thu May 11 2023 Lukáš Zachar <lzachar@redhat.com> - 1.23.0-1
|
|
|
|
|
- Add `Artemis` to the `provision` documentation
|
|
|
|
|