Compare commits

..

36 commits

Author SHA1 Message Date
Packit
8d55a1605d Update to 0.97.1 upstream release
- Resolves: rhbz#2278839

Upstream tag: 0.97.1
Upstream commit: f6b656f0

Commit authored by Packit automation (https://packit.dev/)
2024-05-17 12:12:58 +00:00
Packit
2837359799 Update to 0.97.0 upstream release
Upstream tag: 0.97.0
Upstream commit: 6c1cf9b8

Commit authored by Packit automation (https://packit.dev/)
2024-05-15 11:20:38 +00:00
Packit
8838e53eca Update to 0.95.0 upstream release
- Resolves: rhbz#2276194

Upstream tag: 0.95.0
Upstream commit: 110211d6

Commit authored by Packit automation (https://packit.dev/)
2024-04-22 08:46:55 +00:00
Packit
aa4f6dd007 Update to 0.94.2 upstream release
- Resolves: rhbz#2273977

Upstream tag: 0.94.2
Upstream commit: f760ddec

Commit authored by Packit automation (https://packit.dev/)
2024-04-08 12:52:18 +00:00
Packit
5e7bc8482f [packit] 0.94.1 upstream release
- Resolves: rhbz#2272077

Upstream tag: 0.94.1
Upstream commit: 6534e1ca
2024-03-28 18:59:17 +00:00
Packit
95e569856d [packit] 0.94.0 upstream release
- Resolves rhbz#2266037

Upstream tag: 0.94.0
Upstream commit: 2d272a57
2024-03-17 16:17:23 +00:00
Packit
7cbad4ef5d [packit] 0.93.0 upstream release
Upstream tag: 0.93.0
Upstream commit: 90bcee10
2024-02-26 11:52:22 +00:00
Packit
7c37dc38bb [packit] 0.92.0 upstream release
- Resolves rhbz#2264878

Upstream tag: 0.92.0
Upstream commit: 5279d01e
2024-02-19 13:36:24 +00:00
Packit
23371f49f5 [packit] 0.91.0 upstream release
- Resolves rhbz#2259201

Upstream tag: 0.91.0
Upstream commit: 14c4a1c0
2024-02-07 09:52:21 +00:00
Packit
30a7a108a0 [packit] 0.90.0 upstream release
Upstream tag: 0.90.0
Upstream commit: 754cf610
2024-01-28 09:11:33 +00:00
Packit
c5a18e912c [packit] 0.89.0 upstream release
Upstream tag: 0.89.0
Upstream commit: f3df2953
2024-01-19 12:23:45 +00:00
Packit
56d233b910 [packit] 0.88.0 upstream release
- Resolves rhbz#2257183

Upstream tag: 0.88.0
Upstream commit: 474a8e3a
2024-01-07 20:42:06 +00:00
Packit
a14b0a6482 [packit] 0.87.1 upstream release
- Resolves rhbz#2252328

Upstream tag: 0.87.1
Upstream commit: d8de7773
2023-11-30 21:49:53 +00:00
Packit
6b082fb383 [packit] 0.87.0 upstream release
- Resolves rhbz#2251367

Upstream tag: 0.87.0
Upstream commit: 14479681
2023-11-24 13:43:44 +00:00
Packit
ecf44bce00 [packit] 0.86.2 upstream release
Upstream tag: 0.86.2
Upstream commit: 8b1868cd
2023-11-20 12:33:45 +00:00
Packit
98a8a88060 [packit] 0.85.0 upstream release
Upstream tag: 0.85.0
Upstream commit: cf7d9037
2023-10-30 13:00:16 +00:00
Packit
ab2774eeda [packit] 0.84.0 upstream release
Upstream tag: 0.84.0
Upstream commit: 9fa17bcc
Resolves rhbz#2244381
2023-10-16 10:02:28 +00:00
Packit
23aa604718 [packit] 0.83.0 upstream release
Upstream tag: 0.83.0
Upstream commit: 7581995d
2023-10-06 12:15:01 +00:00
Packit
d2b42d02f1 [packit] 0.82.0 upstream release
Upstream tag: 0.82.0
Upstream commit: 477c223e
Resolves rhbz#2240355
2023-09-29 07:18:00 +00:00
Packit
fcadbac1a1 [packit] 0.81.0 upstream release
Upstream tag: 0.81.0
Upstream commit: 134be17e
2023-09-23 11:25:28 +00:00
Packit
33a71bc358 [packit] 0.80.0 upstream release
Upstream tag: 0.80.0
Upstream commit: a40b8acb

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/packit.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.80.0-f38-update-propose_downstream
```
2023-09-08 11:50:50 +00:00
Packit
b5fecee596 [packit] 0.79.1 upstream release
Upstream tag: 0.79.1
Upstream commit: 63de02cb

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/packit.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.79.1-f38-update-propose_downstream
```
2023-08-22 06:35:30 +00:00
Packit
2fc29cb298 [packit] 0.79.0 upstream release
Upstream tag: 0.79.0
Upstream commit: 804c96be

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/packit.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.79.0-f38-update-propose_downstream
```
2023-08-11 10:42:02 +00:00
Packit
f2546dc423 [packit] 0.78.2 upstream release
Upstream tag: 0.78.2
Upstream commit: 912024c4

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/packit.git refs/heads/*:refs/remotes/packit/*
git checkout packit/0.78.2-f38-update-pull_from_upstream
```
2023-08-04 11:31:53 +00:00
Packit
9b8351d017 [packit] 0.78.1 upstream release
Upstream tag: 0.78.1
Upstream commit: 854782d5
2023-07-13 15:33:26 +00:00
Packit
b377851afb [packit] 0.78.0 upstream release
Upstream tag: 0.78.0
Upstream commit: 55753cb5
2023-07-08 20:17:57 +00:00
Packit
975e99a525 [packit] 0.77.0 upstream release
Upstream tag: 0.77.0
Upstream commit: 116edc57
2023-06-17 10:35:47 +00:00
Packit
0a85b6b9d9 [packit] 0.76.0 upstream release
Upstream tag: 0.76.0
Upstream commit: c597f1d1
2023-05-26 11:00:21 +00:00
Packit
984b9a1f13 [packit] 0.75.0 upstream release
Upstream tag: 0.75.0
Upstream commit: ebb1486d
2023-04-28 08:00:51 +00:00
Packit
39bd8d776a [packit] 0.74.0 upstream release
Upstream tag: 0.74.0
Upstream commit: 0e7f3845

Signed-off-by: Packit <hello@packit.dev>
2023-04-16 17:57:34 +00:00
Packit
57f9a559a3 [packit] 0.73.0 upstream release
Upstream tag: 0.73.0
Upstream commit: 8d661ceb

Signed-off-by: Packit <hello@packit.dev>
2023-04-06 10:52:02 +00:00
Packit
7a09034ddf [packit] 0.72.0 upstream release
Upstream tag: 0.72.0
Upstream commit: 4ede65d4

Signed-off-by: Packit <hello@packit.dev>
2023-03-31 06:59:53 +00:00
Packit
1c80e685a1 [packit] 0.71.0 upstream release
Upstream tag: 0.71.0
Upstream commit: a8ccc95f

Signed-off-by: Packit <hello@packit.dev>
2023-03-25 17:15:30 +00:00
Packit
3ba204bfca [packit] 0.70.0 upstream release
Upstream tag: 0.70.0
Upstream commit: e09138d9

Signed-off-by: Packit <hello@packit.dev>
2023-03-20 22:52:43 +00:00
Packit
4c8702b38a [packit] 0.69.0 upstream release
Upstream tag: 0.69.0
Upstream commit: 3c699c50

Signed-off-by: Packit <hello@packit.dev>
2023-03-05 20:42:15 +00:00
Packit
5f4321099d [packit] 0.68.0 upstream release
Upstream tag: 0.68.0
Upstream commit: d025bcc1

Signed-off-by: Packit <hello@packit.dev>
2023-02-20 10:30:32 +00:00
10 changed files with 50 additions and 363 deletions

45
.gitignore vendored
View file

@ -86,8 +86,11 @@
/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
@ -109,45 +112,3 @@
/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

View file

@ -28,8 +28,8 @@ issue_repository: https://github.com/packit/packit
actions:
create-archive:
- "sh -c 'hatch build -t sdist 2>&1 | tee hatch_build.log'"
- "tail -n1 hatch_build.log"
- "python3 -m build --sdist --outdir ."
- "sh -c 'echo packitos-$(hatch version).tar.gz'"
get-current-version:
- "hatch version"
pre-sync:
@ -49,16 +49,17 @@ jobs:
trigger: release
# Use the stage instance once it works in downstream.
dist_git_branches:
rawhide:
fast_forward_merge_into: [fedora-branched]
epel-10:
fast_forward_merge_into: [epel-10-branched]
- fedora-all
- epel-9
- job: sync_from_downstream
trigger: commit
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- fedora-all-aarch64
- epel-10-all
- epel-9
packages:
- packit
@ -66,7 +67,7 @@ jobs:
trigger: pull_request
targets:
- fedora-all
- epel-10-all
- epel-9
packages:
- packit
@ -75,8 +76,7 @@ jobs:
branch: main
targets:
- fedora-all
- fedora-all-aarch64
- epel-10-all
- epel-9
project: packit-dev
list_on_homepage: True
preserve_project: True
@ -86,7 +86,7 @@ jobs:
branch: stable
targets:
- fedora-stable
- fedora-stable-aarch64
- epel-9
project: packit-stable
list_on_homepage: True
preserve_project: True
@ -95,44 +95,33 @@ jobs:
trigger: release
targets:
- fedora-stable
- fedora-stable-aarch64
- epel-10-all
- epel-9
project: packit-releases
list_on_homepage: True
preserve_project: True
# downstream automation:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into: [fedora-branched]
epel-10:
fast_forward_merge_into: [epel-10-branched]
- fedora-all
- epel-9
# downstream automation:
- job: koji_build
trigger: commit | koji_build
trigger: commit
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-10-all
- epel-9
- job: bodhi_update
trigger: koji_build
trigger: commit
packit_instances: ["stg"]
allowed_builders: ["packit-stg", "packit"]
sidetag_group: packit-specfile-ogr-releases
dependencies:
- python-ogr
- python-specfile
dist_git_branches:
- fedora-all
- epel-10-all
- fedora-branched
- epel-9
# - job: vm_image_build
# trigger: pull_request
# packit_instances: ["stg"]

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.16.2.post1.dev18+g099fa292c.
The file was generated using packit 0.96.0.post1.dev4+gc5b1ea8e.

View file

@ -6,7 +6,7 @@
%endif
Name: packit
Version: 1.16.3
Version: 0.97.1
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-core
Requires: git
# kinit
Requires: krb5-workstation
# rpmbuild
@ -48,7 +48,8 @@ check out packit package for the executable.
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-x testing}
# The -w flag is required for EPEL 9's older hatchling
%pyproject_buildrequires %{?with_tests:-x testing} %{?el9:-w}
%build
@ -78,247 +79,6 @@ cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit
%doc README.md
%changelog
* Fri Sep 04 2026 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <releng@fedoraproject.org> - 1.16.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sun Jun 14 2026 Packit <hello@packit.dev> - 1.16.1-1
- Fixed a couple of Copr-related issues. (#2721, #2727)
- Resolves: rhbz#2488767
* Fri Jun 05 2026 Python Maint <python-maint@redhat.com> - 1.16.0-2
- Rebuilt for Python 3.15
* Fri Apr 24 2026 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 1.15.2-1
- Packit now uses the specfile library's sanitization when parsing spec files.
- Resolves: rhbz#2450841
* Fri Mar 06 2026 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <releng@fedoraproject.org> - 1.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jan 08 2026 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <python-maint@redhat.com> - 1.11.0-3
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.11.0-2
- Rebuilt for Python 3.14.0rc2 bytecode
* Mon Jul 28 2025 Packit <hello@packit.dev> - 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 <releng@fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Packit <hello@packit.dev> - 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 <python-maint@redhat.com> - 1.8.0-2
- Rebuilt for Python 3.14
* Wed Jun 11 2025 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 1.2.0-1
- Packit reloads spec file after `create-archive` to keep user changes. (#2533)
- Resolves: rhbz#2347179
* Fri Feb 14 2025 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <releng@fedoraproject.org> - 0.106.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Dec 16 2024 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 0.100.2-1
- Update to version 0.100.2
- Resolves: rhbz#2300464
* Thu Aug 01 2024 Packit <hello@packit.dev> - 0.100.1-1
- Dummy release to test the "build in side tags" new feature!
- Resolves: rhbz#2300464
* Mon Jul 29 2024 Packit <hello@packit.dev> - 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 <releng@fedoraproject.org> - 0.99.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jul 12 2024 Packit <hello@packit.dev> - 0.99.0-1
- Update to version 0.99.0
* Thu Jul 04 2024 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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ó <nforro@redhat.com> - 0.97.2-2
- Rebuilt for Python 3.13
- Resolves: rhbz#2291573
* Thu Jun 06 2024 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 0.97.1-1
- We have fixed the behaviour for `dist-git init` command when `upstream-git-url` argument is specified.
- Resolves: rhbz#2278839
@ -364,9 +124,6 @@ jobs:
- `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 <releng@fedoraproject.org> - 0.89.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Packit <hello@packit.dev> - 0.89.0-1
- We have fixed a bug in handling chroot-specific configuration once the chroots themselves are updated. (#2194)
@ -419,15 +176,22 @@ jobs:
- 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)
* Mon Aug 07 2023 Packit <hello@packit.dev> - 0.78.2-1
* Tue Aug 22 2023 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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)
* Tue Aug 1 2023 Packit <hello@packit.dev> - 0.78.1-1
* Thu Jul 13 2023 Packit <hello@packit.dev> - 0.78.1-1
- Temporarily disabled test dependencies on Fedora Rawhide because of missing `python3-deepdiff`. (#2008)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.77.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jul 08 2023 Packit <hello@packit.dev> - 0.78.0-1
- Packit now correctly reloads upstream specfile after running `pre-sync` action. (#2006)
* Sat Jun 17 2023 Packit <hello@packit.dev> - 0.77.0-1
- Packit now includes dist-git branch in the title of the PRs for `propose-downstream` and `pull-from-upstream`. (#1996)

View file

@ -1,15 +1,6 @@
summary: Unit, integration & functional tests.
discover+:
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
filter: tier:1
adjust:
- when: "initiator == packit"
because: "have the latest builds of ogr and specfile available for upstream test jobs"
@ -20,15 +11,9 @@ 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 or install ogr, if needed
# upgrade ogr and specfile in case they are already installed
- how: shell
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
script: dnf -y upgrade python3-ogr 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+:

View file

@ -1,6 +1,6 @@
execute:
how: tmt
discover:
how: fmf
url: https://github.com/packit/packit.git
ref: 868f8f6b5f04b0dfc5f4e42aa466721ffc0e4b15
execute:
how: tmt
ref: f6b656f02e4e140107a7478ecfa2a259a31a8a40

View file

@ -1,12 +1,10 @@
summary:
Execute rpmlint on the spec file
discover:
how: shell
tests:
- name: rpmlint
test: rpmlint packit.spec
prepare:
- name: packages
how: install

View file

@ -1,8 +1,6 @@
summary: Session recording testcases
discover+:
filter: tag:requre
filter: tier:2
adjust:
- when: "initiator == packit"
because: "have the latest builds of ogr and specfile available for upstream test jobs"
@ -10,19 +8,12 @@ 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 or install ogr, if needed
# upgrade ogr and specfile in case they are already installed
- how: shell
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
script: dnf -y upgrade python3-ogr python3-specfile
- when: "distro <= rhel-9 or distro <= centos-9 or distro == centos-stream-8 or distro == centos-stream-9"
prepare+:
- how: install

View file

@ -1,4 +1,3 @@
summary: Basic simple tests
discover+:
filter: tier:0

View file

@ -1 +1 @@
SHA512 (packitos-1.16.3.tar.gz) = 0bf3d8a574f09d78261044e6b66447363e6c1d14f77c610b73773565aeac696aac952a2fc777aafc769023c211436ac18a84dce935f0da006fec02f981313758
SHA512 (packitos-0.97.1.tar.gz) = 58e7fb2fb27650037ac3bec6056fe6248571c49243f64af627ad7f81b5a4c7628effc6ca2fe28566874fc89e984e2f601296d31c855c61bee2b9f6746e1343f2