diff --git a/.gitignore b/.gitignore index 5f028f9..3485cfe 100644 --- a/.gitignore +++ b/.gitignore @@ -86,11 +86,8 @@ /packitos-0.75.0.tar.gz /packitos-0.76.0.tar.gz /packitos-0.77.0.tar.gz -/packitos-0.78.0.tar.gz /packitos-0.78.1.tar.gz /packitos-0.78.2.tar.gz -/packitos-0.79.0.tar.gz -/packitos-0.79.1.tar.gz /packitos-0.80.0.tar.gz /packitos-0.81.0.tar.gz /packitos-0.82.0.tar.gz @@ -112,3 +109,45 @@ /packitos-0.95.0.tar.gz /packitos-0.97.0.tar.gz /packitos-0.97.1.tar.gz +/packitos-0.97.2.tar.gz +/packitos-0.97.3.tar.gz +/packitos-0.98.0.tar.gz +/packitos-0.99.0.tar.gz +/packitos-0.100.0.tar.gz +/packitos-0.100.1.tar.gz +/packitos-0.100.2.tar.gz +/packitos-0.100.3.tar.gz +/packitos-0.101.0.tar.gz +/packitos-0.101.1.tar.gz +/packitos-0.102.0.tar.gz +/packitos-0.102.1.tar.gz +/packitos-0.102.2.tar.gz +/packitos-0.103.0.tar.gz +/packitos-0.104.0.tar.gz +/packitos-0.104.1.tar.gz +/packitos-0.105.0.tar.gz +/packitos-0.106.0.tar.gz +/packitos-1.0.0.tar.gz +/packitos-1.0.1.tar.gz +/packitos-1.1.0.tar.gz +/packitos-1.1.1.tar.gz +/packitos-1.2.0.tar.gz +/packitos-1.3.0.tar.gz +/packitos-1.5.0.tar.gz +/packitos-1.6.0.tar.gz +/packitos-1.7.0.tar.gz +/packitos-1.8.0.tar.gz +/packitos-1.10.0.tar.gz +/packitos-1.9.0.tar.gz +/packitos-1.11.0.tar.gz +/packitos-1.12.0.tar.gz +/packitos-1.13.0.tar.gz +/packitos-1.14.0.tar.gz +/packitos-1.15.0.tar.gz +/packitos-1.15.1.tar.gz +/packitos-1.15.2.tar.gz +/packitos-1.15.3.tar.gz +/packitos-1.16.0.tar.gz +/packitos-1.16.1.tar.gz +/packitos-1.16.2.tar.gz +/packitos-1.16.3.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 41f6f99..0178029 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -28,8 +28,8 @@ issue_repository: https://github.com/packit/packit actions: create-archive: - - "python3 -m build --sdist --outdir ." - - "sh -c 'echo packitos-$(hatch version).tar.gz'" + - "sh -c 'hatch build -t sdist 2>&1 | tee hatch_build.log'" + - "tail -n1 hatch_build.log" get-current-version: - "hatch version" pre-sync: @@ -49,17 +49,16 @@ jobs: trigger: release # Use the stage instance once it works in downstream. dist_git_branches: - - fedora-all - - epel-9 - - - job: sync_from_downstream - trigger: commit - + rawhide: + fast_forward_merge_into: [fedora-branched] + epel-10: + fast_forward_merge_into: [epel-10-branched] - job: copr_build trigger: pull_request targets: - fedora-all - - epel-9 + - fedora-all-aarch64 + - epel-10-all packages: - packit @@ -67,7 +66,7 @@ jobs: trigger: pull_request targets: - fedora-all - - epel-9 + - epel-10-all packages: - packit @@ -76,7 +75,8 @@ jobs: branch: main targets: - fedora-all - - epel-9 + - fedora-all-aarch64 + - epel-10-all project: packit-dev list_on_homepage: True preserve_project: True @@ -86,7 +86,7 @@ jobs: branch: stable targets: - fedora-stable - - epel-9 + - fedora-stable-aarch64 project: packit-stable list_on_homepage: True preserve_project: True @@ -95,33 +95,44 @@ jobs: trigger: release targets: - fedora-stable - - epel-9 + - fedora-stable-aarch64 + - epel-10-all project: packit-releases list_on_homepage: True preserve_project: True + # downstream automation: - job: pull_from_upstream trigger: release dist_git_branches: - - fedora-all - - epel-9 + rawhide: + fast_forward_merge_into: [fedora-branched] + epel-10: + fast_forward_merge_into: [epel-10-branched] - # downstream automation: - job: koji_build - trigger: commit + trigger: commit | koji_build packit_instances: ["stg"] allowed_pr_authors: ["packit-stg", "packit"] + sidetag_group: packit-specfile-ogr-releases + dependencies: + - python-ogr + - python-specfile dist_git_branches: - fedora-all - - epel-9 + - epel-10-all - job: bodhi_update - trigger: commit + trigger: koji_build packit_instances: ["stg"] allowed_builders: ["packit-stg", "packit"] + sidetag_group: packit-specfile-ogr-releases + dependencies: + - python-ogr + - python-specfile dist_git_branches: - - fedora-branched - - epel-9 + - fedora-all + - epel-10-all # - job: vm_image_build # trigger: pull_request # packit_instances: ["stg"] diff --git a/README.packit b/README.packit index 97de583..72ae4cd 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.96.0.post1.dev4+gc5b1ea8e. +The file was generated using packit 1.16.2.post1.dev18+g099fa292c. diff --git a/packit.spec b/packit.spec index 50c4e51..f130f29 100644 --- a/packit.spec +++ b/packit.spec @@ -6,7 +6,7 @@ %endif Name: packit -Version: 0.97.1 +Version: 1.16.3 Release: 1%{?dist} Summary: A tool for integrating upstream projects with Fedora operating system @@ -26,7 +26,7 @@ projects into Fedora operating system. Summary: %{summary} # new-sources Requires: fedpkg -Requires: git +Requires: git-core # kinit Requires: krb5-workstation # rpmbuild @@ -48,8 +48,7 @@ check out packit package for the executable. %generate_buildrequires -# The -w flag is required for EPEL 9's older hatchling -%pyproject_buildrequires %{?with_tests:-x testing} %{?el9:-w} +%pyproject_buildrequires %{?with_tests:-x testing} %build @@ -79,6 +78,247 @@ cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit %doc README.md %changelog +* Fri Sep 04 2026 Packit - 1.16.3-1 +- Packit now retries when it encounters connection errors during authentication when attempting to create a Bodhi update. (#2749) +- Fixed an issue where a relative `--dist-git-path` (e.g. `.`) could cause packit to incorrectly identify a dist-git directory as an upstream repository. (#2736) +- Resolves: rhbz#2528471 + +* Mon Jul 20 2026 Packit - 1.16.2-1 +- Add HTTP timeouts and make `get_monitoring_metadata()` unauthenticated which should improve the UX of `packit validate`. (#2730) +- Resolves: rhbz#2502899 + +* Thu Jul 16 2026 Fedora Release Engineering - 1.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sun Jun 14 2026 Packit - 1.16.1-1 +- Fixed a couple of Copr-related issues. (#2721, #2727) +- Resolves: rhbz#2488767 + +* Fri Jun 05 2026 Python Maint - 1.16.0-2 +- Rebuilt for Python 3.15 + +* Fri Apr 24 2026 Packit - 1.16.0-1 +- Packit CLI has a new option `--[no-]update-release` that, by default, follows the value of the option set in the config, and also allows you to override manually, if necessary. (#2713) +- In addition to `version_update_mask`, users can now use a new `version_update_specifiers` configuration option to control the upstream versions allowed to be release-synced. The option accepts [PEP440 version specifier sets](https://packaging.pypa.io/en/stable/specifiers.html), for example `version_update_specifiers: >=1.0,~=1.0`. (#2710) +- Resolves: rhbz#2461103 + +* Wed Apr 01 2026 Packit - 1.15.3-1 +- We've fixed the formatting of the strings Packit appends to the changelog. Now there will be at most one blank line before or after the Packit comment. (#2707) +- Resolves: rhbz#2453842 + +* Tue Mar 24 2026 Packit - 1.15.2-1 +- Packit now uses the specfile library's sanitization when parsing spec files. +- Resolves: rhbz#2450841 + +* Fri Mar 06 2026 Packit - 1.15.1-1 +- We have fixed a bug that prevented running `sync_release()` on a `PackitAPI` instance initialized with `non_git_upstream=True` repeatedly due to an improper clean-up. (#2691) +- Resolves: rhbz#2445195 + +* Thu Feb 12 2026 Packit - 1.15.0-1 +- The `version_suffix` configuration option is now supported in Packit. This option is meant for appending information to the Version field in RPM spec files. This is useful for post-release snapshots following RPM versioning conventions. The `version_suffix` behaves similarly to the already existing `release_suffix` and also supports expansion of environment variables. (#2664) +- Packit now supports `bodhi_extra_params` configuration option to customize creating Bodhi updates. (#2682) +- Resolves: rhbz#2439424 + +* Fri Jan 16 2026 Fedora Release Engineering - 1.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Thu Jan 08 2026 Packit - 1.14.0-1 +- We have added the `--preserve-spec` flag to the `prepare-sources` and `srpm` commands. When used, Packit will not change the spec file in any way (e.g., release is not bumped, Source0 is not changed). When enabled, it implies `--no-update-release`. (#2653) +- Resolves: rhbz#2427944 + +* Tue Dec 09 2025 Packit - 1.13.0-1 +- `packit init` now automatically retrieves the latest version of the pre-commit hook to be added to the user's pre-commit configuration file. (#2651) +- Resolves: rhbz#2420553 + +* Fri Sep 19 2025 Packit - 1.12.0-1 +- Packit now automatically invokes an rpm build in mock when no rpm test is passed using `--rpm_paths` before running local tests with `packit test`. (#2636) +- Fixed an issue where the upstream spec file was synchronized without applying packit's patches. (#2637) + This happened when syncing a folder that contains the specfile, e.g.: +```yaml +files_to_sync: + - src: distro/ + dest: ./ +specfile_path: distro/my_pkg.spec +``` +- `packit init` now automatically adds a packit-specific pre-commit hook to user's pre-commit configuration file if present. Two new flags were added, which modify this behavior. (#2641) +- Resolves: rhbz#2396659 + +* Fri Sep 19 2025 Python Maint - 1.11.0-3 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 1.11.0-2 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Mon Jul 28 2025 Packit - 1.11.0-1 +- `packit test` now supports running and validating TMT tests locally without requiring a PR or a release, including result parsing and basic failure reporting. (#2632) +- Resolves: rhbz#2383891 + +* Thu Jul 24 2025 Fedora Release Engineering - 1.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Fri Jul 11 2025 Packit - 1.10.0-1 +- We have fixed a minor bug caused by adding the `PACKIT_SPECFILE_PATH` to the environment of Packit actions. (#2627) +- We have added a support for ELN aliases in Packit. (#2630) +- Resolves: rhbz#2372314 + +* Sun Jun 22 2025 Python Maint - 1.8.0-2 +- Rebuilt for Python 3.14 + +* Wed Jun 11 2025 Packit - 1.9.0-1 +- Packit now exposes `specfile_path` as the environment variable `PACKIT_SPECFILE_PATH` for all Packit action hooks to reference from the config. (#2589) +- We have added a support for passing `upstream_package_name` to the `upstream_tag_template` option. (#2604) +- Resolves: rhbz#2372314 + +* Fri May 09 2025 Packit - 1.8.0-1 +- You can now validate a Packit config passed to the Packit CLI via a path, e.g., `packit config validate -c /tmp/my-custom-packit-config.yml`. (#2556) +- The `--resultdir` argument in `build_in_mock` now defaults to the current directory (`"."`), preventing loss of build artifacts when not explicitly set. (#2567) +- Resolves: rhbz#2365298 + +* Sun Apr 13 2025 Packit - 1.7.0-1 +- We have implemented a set of options `osh_options` that allow you to customize OpenScanHub scans via config. (#2570) +- Resolves: rhbz#2359309 + +* Fri Apr 04 2025 Packit - 1.6.0-1 +- When using `fast_forward_merge_into`, `version_update_mask` is now correctly being taken into consideration. (#2551) +- We have introduced a new command group `config` for configuration-related commands and moved `validate-config` command under it, resulting in the new command being `packit config validate`. (#2559) +- Resolves: rhbz#2357504 + +* Mon Mar 31 2025 Packit - 1.5.0-1 +- Packit now supports `--base-nvr` option while submitting scans to OpenScanHub. The base nvr is pulled in from koji to perform a differential scan. (#2569) +- Resolves: rhbz#2356218 + +* Tue Mar 18 2025 Packit - 1.3.0-1 +- Cached values of OpenSUSE aliases are used for any exception coming from `opensuse_distro_aliases` to not break a code flow if there is any problem with getting the online ones. (#2548) +- A couple of other small improvements. +- Resolves: rhbz#2353174 + +* Sun Feb 23 2025 Packit - 1.2.0-1 +- Packit reloads spec file after `create-archive` to keep user changes. (#2533) +- Resolves: rhbz#2347179 + +* Fri Feb 14 2025 Packit - 1.1.1-1 +- Packit doesn't attempt to upload git-tracked remote sources (for example a [GPG keyring](https://docs.fedoraproject.org/en-US/packaging-guidelines/#_verifying_signatures)) to lookaside cache anymore when syncing release. (#2518) +- Resolves: rhbz#2345745 + +* Sun Feb 02 2025 Packit - 1.1.0-1 +- Thanks to the work of [Bryan Elee](https://github.com/rxbryan) (as part of his Google Summer of Code work) and [Dan Čermák](https://github.com/dcermak), there is a new `packit build in-obs` CLI command to trigger a build in [OBS](https://build.opensuse.org/). (#2067) +- Resolves: rhbz#2343396 + +* Sun Jan 26 2025 Packit - 1.0.1-1 +- `version_update_mask` now applies to EPEL dist-git branches in the same way it does to stable Fedora branches. (#2507) +- Resolves: rhbz#2342176 + +* Mon Jan 20 2025 Packit - 1.0.0-1 +- Job type `build` removed after deprecation, is now `copr_build`. +- Job type `production_build` removed after deprecation, is now `upstream_koji_build`. +- Key `upstream_project_name` removed after deprecation, is now `upstream_package_name`. +- Key `synced_files` removed after deprecation, is now `files_to_sync`. +- Resolves: rhbz#2338988 + +* Fri Jan 17 2025 Fedora Release Engineering - 0.106.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Dec 16 2024 Packit - 0.106.0-1 +- We have added a `--resultdir` option for building in mock via our CLI (`packit build in-mock`). (#2475) +- Resolves: rhbz#2332425 + +* Fri Dec 06 2024 Packit - 0.105.0-1 +- There is a new action/hook, `post-modifications`, that is executed after all modifications to the spec file are done and in case of syncing release after all remote sources are downloaded and before uploading to lookaside cache. You can use it for example to construct an additional source that depends on the primary source (that may not yet be available in other actions). (#2474) +- Resolves: rhbz#2330760 + +* Mon Nov 25 2024 Packit - 0.104.1-1 +- Packit now uses the fedora-distro-aliases library to expand Fedora aliases. This is Packit's original code being improved and properly maintained by the Copr team. For further suggestions about aliases, use github.com/rpm-software-management/fedora-distro-aliases. +- Resolves: rhbz#2328698 + +* Fri Nov 15 2024 Packit - 0.104.0-1 +- Packit configuration file can now have a placeholder top-level key `_` that is ignored when read. + This is useful for storing yaml anchors in complex config files, e.g.: +```yaml +_: + base-test: &base-test + job: tests + fmf_path: .distro +jobs: + - <<: *base-test + trigger: pull_request + manual_trigger: true + - <<: *internal-test + trigger: commit + use_internal_tf: true +``` +(#2378) +- You can now define `with_opts` and `without_opts` in target-specific configuration of `copr_build` job to build with `--with` and `--without` rpmbuild options. (#2463) +- Resolves: rhbz#2325040 + +* Sun Nov 10 2024 Packit - 0.103.0-1 +- Packit now supports and defaults to `fast_forward_merge_into` syntax via `--dist-git-branches-mapping` in `dist-git init`. (#2456) + +* Tue Oct 22 2024 Packit - 0.102.2-1 +- Fixed passing list of resolved bugs when running `packit propose-downstream` or `packit pull-from-upstream`. (#2447) +- Resolves: rhbz#2321004 + +* Fri Oct 11 2024 Packit - 0.102.1-1 +- We have fixed an issue that was introduced during the unification of the interface for passing resolved Bugzillas / Jira tickets to the `sync-release` or `bodhi_update` jobs. (#2442) +- `packit validate-config` now checks for the existence of downstream package. (#2436) +- Packit now allows building VM images via CLI without any Copr repository specified. (#2434) +- Resolves: rhbz#2318003 + +* Fri Oct 04 2024 Packit - 0.102.0-1 +- Check for `upstream_project_url` presence in the configuration when `pull_from_upstream` job is configured was removed from `validate-config`, as this is no longer required. (#2423) +- `packit init` now adds working directories that are used in `packit prepare-sources` into the `.gitignore` file in the same directory where Packit config resides. (#2431) +- Previously, `create-update` command took `--resolve-bugzillas` option and `propose-downstream` command took `--resolve-bug` option. The options have been unified into `--resolve-bug` for better user experience. If you used `create-update` with `--resolve-bugzillas` you have to use `--resolve-bug` (or shorthand `-b`) now instead. (#2428) +- Resolves: rhbz#2316445 + +* Wed Sep 18 2024 Packit - 0.101.1-1 +- In the user configuration file, it's possible to set `default_parse_time_macros`, e.g. might be helpful in situations like [packit/packit-service#2514](https://github.com/packit/packit-service/issues/2514). (#2408) +- Packit now allows to configure mock bootstrap feature setup of Copr projects with a new `bootstrap` configuration option. (#2411) +- Resolves: rhbz#2313250 + +* Fri Sep 06 2024 Packit - 0.101.0-1 +- Packit now supports passing custom arguments to various static analyzers through `--csmock-args` CLI option and `csmock_args` configuration. (#2402) +- When synching a new release Packit is now able to fast forward a specified merge to a configured list of branches. + Use the `dist_git_branches` new syntax as in this example: + `{"rawhide": {"fast_forward_merge_into": ["f40"]}, "fedora-stable": {}}` (#2363) +- Resolves: rhbz#2310376 + +* Sat Aug 24 2024 Packit - 0.100.3-1 +- `dist-git init` command now allows `upstream-git-url` not to be specified. (#2387) +- Resolves: rhbz#2306481 + +* Thu Aug 15 2024 Packit - 0.100.2-1 +- Update to version 0.100.2 +- Resolves: rhbz#2300464 + +* Thu Aug 01 2024 Packit - 0.100.1-1 +- Dummy release to test the "build in side tags" new feature! +- Resolves: rhbz#2300464 + +* Mon Jul 29 2024 Packit - 0.100.0-1 +- `packit pull-from-upstream` now allows omitting `upstream_project_url` in the configuration in which case the interaction with the upstream repository is skipped during release syncing. (#2354) +- We have implemented a CLI support for Koji builds against CBS Koji instance. (#2267) + +* Thu Jul 18 2024 Fedora Release Engineering - 0.99.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jul 12 2024 Packit - 0.99.0-1 +- Update to version 0.99.0 + +* Thu Jul 04 2024 Packit - 0.98.0-1 +- Packit now updates its own, not yet merged, pull requests instead of creating new ones for new releases. (#2204) +- Resolves: rhbz#2295821 + +* Fri Jun 21 2024 Packit - 0.97.3-1 +- We have fixed a bug that caused inconsistency between the promised environment variables (from the docs) and the environment that has been actually provided. Now you should have access to `PACKIT_UPSTREAM_REPO` and `PACKIT_DOWNSTREAM_REPO`, if they have been cloned already, in the `post-upstream-clone` action. (#2327) +- Resolves: rhbz#2293661 + +* Mon Jun 17 2024 Nikola Forró - 0.97.2-2 +- Rebuilt for Python 3.13 +- Resolves: rhbz#2291573 + +* Thu Jun 06 2024 Packit - 0.97.2-1 +- We have fixed the syncing of ACLs for `propose-downtream` for CentOS Stream. (#2318) +- Resolves: rhbz#2290733 + * Fri May 17 2024 Packit - 0.97.1-1 - We have fixed the behaviour for `dist-git init` command when `upstream-git-url` argument is specified. - Resolves: rhbz#2278839 @@ -124,6 +364,9 @@ cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit - `pull-from-upstream` and `propose-downstream` commands now have the `--sync-acls` option that enables syncing the ACLs between dits-git repo and fork. The default behaviour was, however, changed to not sync the ACLs. (#2214) - Packit now properly handles exceptions when syncing ACLs during release syncing. (#2213) +* Thu Jan 25 2024 Fedora Release Engineering - 0.89.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Packit - 0.89.0-1 - We have fixed a bug in handling chroot-specific configuration once the chroots themselves are updated. (#2194) @@ -176,22 +419,15 @@ cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit - Packit now exposes `PACKIT_PACKAGE_NAME`, `PACKIT_UPSTREAM_PACKAGE_NAME` and `PACKIT_DOWNSTREAM_PACKAGE_NAME` environment variables to all actions. (#2061) - We have fixed a bug in `packit source-git init` caused by changed behaviour in a newer version of rpmbuild. (#2048) -* Tue Aug 22 2023 Packit - 0.79.1-1 -- We have fixed a bug in getting allowed GPG keys when syncing the release for projects with Packit config - in monorepo format in dist-git. (#2037) - -* Fri Aug 11 2023 Packit - 0.79.0-1 -- 2 new configuration options for filtering when getting latest upstream release tag were introduced: `upstream_tag_include` and `upstream_tag_exclude`. They should contain a Python regex that can be used as an argument in `re.match`. (#2030) - -* Fri Aug 04 2023 Packit - 0.78.2-1 +* Mon Aug 07 2023 Packit - 0.78.2-1 - Packit's license in RPM specfile is now confirmed to be SPDX compatible. (#2026) - `source-git init --ignore-missing-autosetup` help was improved to be less confusing. (#2016) (#2017) -* Thu Jul 13 2023 Packit - 0.78.1-1 +* Tue Aug 1 2023 Packit - 0.78.1-1 - Temporarily disabled test dependencies on Fedora Rawhide because of missing `python3-deepdiff`. (#2008) -* Sat Jul 08 2023 Packit - 0.78.0-1 -- Packit now correctly reloads upstream specfile after running `pre-sync` action. (#2006) +* Thu Jul 20 2023 Fedora Release Engineering - 0.77.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jun 17 2023 Packit - 0.77.0-1 - Packit now includes dist-git branch in the title of the PRs for `propose-downstream` and `pull-from-upstream`. (#1996) diff --git a/plans/full.fmf b/plans/full.fmf index 3786190..fd42d60 100644 --- a/plans/full.fmf +++ b/plans/full.fmf @@ -1,6 +1,15 @@ summary: Unit, integration & functional tests. + discover+: - filter: tier:1 + filter: tag:full + +# marshmallow-jsonschema has no Fedora/EPEL package, install it from PyPI +prepare: + - how: install + package: python3-pip + - how: shell + script: pip3 install marshmallow-jsonschema + adjust: - when: "initiator == packit" because: "have the latest builds of ogr and specfile available for upstream test jobs" @@ -11,9 +20,15 @@ adjust: # make sure the Copr repo has higher priority than TF Tag Repository - how: shell script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo - # upgrade ogr and specfile in case they are already installed + + # upgrade or install ‹ogr›, if needed - how: shell - script: dnf -y upgrade python3-ogr python3-specfile + script: dnf -y upgrade python3-ogr || dnf -y install python3-ogr + + # upgrade or install ‹specfile›, if needed + - how: shell + script: dnf -y upgrade python3-specfile || dnf -y install python3-specfile + - when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9" because: "build and deepdiff are not in EPEL 9" prepare+: diff --git a/plans/main.fmf b/plans/main.fmf index 933c356..ee8dd03 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ -execute: - how: tmt discover: how: fmf url: https://github.com/packit/packit.git - ref: f6b656f02e4e140107a7478ecfa2a259a31a8a40 + ref: 868f8f6b5f04b0dfc5f4e42aa466721ffc0e4b15 +execute: + how: tmt diff --git a/plans/rpmlint.fmf b/plans/rpmlint.fmf index f9487df..c220c74 100644 --- a/plans/rpmlint.fmf +++ b/plans/rpmlint.fmf @@ -1,10 +1,12 @@ summary: Execute rpmlint on the spec file + discover: how: shell tests: - name: rpmlint test: rpmlint packit.spec + prepare: - name: packages how: install diff --git a/plans/session-recording.fmf b/plans/session-recording.fmf index fe7b016..141a092 100644 --- a/plans/session-recording.fmf +++ b/plans/session-recording.fmf @@ -1,6 +1,8 @@ summary: Session recording testcases + discover+: - filter: tier:2 + filter: tag:requre + adjust: - when: "initiator == packit" because: "have the latest builds of ogr and specfile available for upstream test jobs" @@ -8,12 +10,19 @@ adjust: # enable packit-dev Copr repo to get the latest builds of ogr and specfile - how: install copr: packit/packit-dev + # make sure the Copr repo has higher priority than TF Tag Repository - how: shell script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo - # upgrade ogr and specfile in case they are already installed + + # upgrade or install ‹ogr›, if needed - how: shell - script: dnf -y upgrade python3-ogr python3-specfile + script: dnf -y upgrade python3-ogr || dnf -y install python3-ogr + + # upgrade or install ‹specfile›, if needed + - how: shell + script: dnf -y upgrade python3-specfile || dnf -y install python3-specfile + - when: "distro <= rhel-9 or distro <= centos-9 or distro == centos-stream-8 or distro == centos-stream-9" prepare+: - how: install diff --git a/plans/smoke.fmf b/plans/smoke.fmf index c67e52c..f797e91 100644 --- a/plans/smoke.fmf +++ b/plans/smoke.fmf @@ -1,3 +1,4 @@ summary: Basic simple tests + discover+: filter: tier:0 diff --git a/sources b/sources index be4350c..fa66d96 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (packitos-0.97.1.tar.gz) = 58e7fb2fb27650037ac3bec6056fe6248571c49243f64af627ad7f81b5a4c7628effc6ca2fe28566874fc89e984e2f601296d31c855c61bee2b9f6746e1343f2 +SHA512 (packitos-1.16.3.tar.gz) = 0bf3d8a574f09d78261044e6b66447363e6c1d14f77c610b73773565aeac696aac952a2fc777aafc769023c211436ac18a84dce935f0da006fec02f981313758