Compare commits
37 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34fcb6811c | ||
|
|
7f9f1b684c | ||
|
|
4d95c3e9b8 | ||
|
|
9a9b1ed8e0 | ||
|
|
2af9d43fbf | ||
|
|
7fc713a2cc | ||
|
|
4d3ab9df47 | ||
|
|
ab83dee839 | ||
|
|
cc692b7b08 | ||
|
|
7b263fc400 | ||
|
|
209f53b76b | ||
|
|
8d7f458f22 | ||
|
|
abb4bcd08e | ||
|
|
bc0d75cb7f | ||
|
|
724b048d67 | ||
|
|
27e582b595 | ||
|
|
14ad9f57ef | ||
|
|
1497e0ce17 |
||
|
|
0c68c38e10 |
||
|
|
e3186cb768 |
||
|
|
f6eab64a25 | ||
|
|
578e20d73a | ||
|
|
ca05cf2576 | ||
|
|
13bc1c15ab | ||
|
|
87cb694f60 | ||
|
|
19f67182b0 | ||
|
|
6cfc52565e | ||
|
|
98ad74d378 |
||
|
|
30008ca439 | ||
|
|
5902ae7294 | ||
|
|
d579bb4055 | ||
|
|
b2239d3e34 | ||
|
|
5ec79d683e | ||
|
|
5eeb903431 | ||
|
|
3f61bf3658 | ||
|
|
5e1e1890c7 | ||
|
|
1d4e975265 |
10 changed files with 188 additions and 23 deletions
20
.gitignore
vendored
20
.gitignore
vendored
|
|
@ -131,3 +131,23 @@
|
|||
/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
|
||||
|
|
|
|||
24
.packit.yaml
24
.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:
|
||||
|
|
@ -51,14 +51,14 @@ jobs:
|
|||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into: [fedora-branched]
|
||||
epel-9: {}
|
||||
|
||||
epel-10:
|
||||
fast_forward_merge_into: [epel-10-branched]
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-all
|
||||
- fedora-all-aarch64
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
packages:
|
||||
- packit
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
packages:
|
||||
- packit
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
targets:
|
||||
- fedora-all
|
||||
- fedora-all-aarch64
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
project: packit-dev
|
||||
list_on_homepage: True
|
||||
preserve_project: True
|
||||
|
|
@ -87,7 +87,6 @@ jobs:
|
|||
targets:
|
||||
- fedora-stable
|
||||
- fedora-stable-aarch64
|
||||
- epel-9
|
||||
project: packit-stable
|
||||
list_on_homepage: True
|
||||
preserve_project: True
|
||||
|
|
@ -97,7 +96,7 @@ jobs:
|
|||
targets:
|
||||
- fedora-stable
|
||||
- fedora-stable-aarch64
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
project: packit-releases
|
||||
list_on_homepage: True
|
||||
preserve_project: True
|
||||
|
|
@ -108,7 +107,8 @@ jobs:
|
|||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into: [fedora-branched]
|
||||
epel-9: {}
|
||||
epel-10:
|
||||
fast_forward_merge_into: [epel-10-branched]
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit | koji_build
|
||||
|
|
@ -120,7 +120,7 @@ jobs:
|
|||
- python-specfile
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: koji_build
|
||||
|
|
@ -132,7 +132,7 @@ jobs:
|
|||
- python-specfile
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
- epel-10-all
|
||||
# - job: vm_image_build
|
||||
# trigger: pull_request
|
||||
# packit_instances: ["stg"]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.1.0.post1.dev2+gf7b527d0.
|
||||
The file was generated using packit 1.16.2.post1.dev18+g099fa292c.
|
||||
|
|
|
|||
120
packit.spec
120
packit.spec
|
|
@ -6,7 +6,7 @@
|
|||
%endif
|
||||
|
||||
Name: packit
|
||||
Version: 1.1.1
|
||||
Version: 1.16.3
|
||||
Release: 1%{?dist}
|
||||
Summary: A tool for integrating upstream projects with Fedora operating system
|
||||
|
||||
|
|
@ -78,6 +78,124 @@ 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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,15 @@
|
|||
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
|
||||
|
||||
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+:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
execute:
|
||||
how: tmt
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/packit/packit.git
|
||||
ref: c5ddfd17c5adac846a41e85c06af522d644afa4d
|
||||
ref: 868f8f6b5f04b0dfc5f4e42aa466721ffc0e4b15
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
summary: Basic simple tests
|
||||
|
||||
discover+:
|
||||
filter: tier:0
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (packitos-1.1.1.tar.gz) = bc3513bdcedd7be0dae88c66adf2da2c7e900136b39ff36299128b322880b3a6607e78f15af4172fad8fd522141ad2abf4c37446400490d0a427ff22c5899f7e
|
||||
SHA512 (packitos-1.16.3.tar.gz) = 0bf3d8a574f09d78261044e6b66447363e6c1d14f77c610b73773565aeac696aac952a2fc777aafc769023c211436ac18a84dce935f0da006fec02f981313758
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue