Compare commits

..

1 commit

Author SHA1 Message Date
Maja Massarini
58321fd81f Revert Packit 1 release 2025-02-25 12:35:25 +01:00
10 changed files with 25 additions and 213 deletions

26
.gitignore vendored
View file

@ -126,28 +126,4 @@
/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
/packitos-0.106.0.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:
@ -51,14 +51,14 @@ jobs:
dist_git_branches:
rawhide:
fast_forward_merge_into: [fedora-branched]
epel-10:
fast_forward_merge_into: [epel-10-branched]
epel-9: {}
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- fedora-all-aarch64
- epel-10-all
- epel-9
packages:
- packit
@ -66,7 +66,7 @@ jobs:
trigger: pull_request
targets:
- fedora-all
- epel-10-all
- epel-9
packages:
- packit
@ -76,7 +76,7 @@ jobs:
targets:
- fedora-all
- fedora-all-aarch64
- epel-10-all
- epel-9
project: packit-dev
list_on_homepage: True
preserve_project: True
@ -87,6 +87,7 @@ jobs:
targets:
- fedora-stable
- fedora-stable-aarch64
- epel-9
project: packit-stable
list_on_homepage: True
preserve_project: True
@ -96,7 +97,7 @@ jobs:
targets:
- fedora-stable
- fedora-stable-aarch64
- epel-10-all
- epel-9
project: packit-releases
list_on_homepage: True
preserve_project: True
@ -107,8 +108,7 @@ jobs:
dist_git_branches:
rawhide:
fast_forward_merge_into: [fedora-branched]
epel-10:
fast_forward_merge_into: [epel-10-branched]
epel-9: {}
- job: koji_build
trigger: commit | koji_build
@ -120,7 +120,7 @@ jobs:
- python-specfile
dist_git_branches:
- fedora-all
- epel-10-all
- epel-9
- job: bodhi_update
trigger: koji_build
@ -132,7 +132,7 @@ jobs:
- python-specfile
dist_git_branches:
- fedora-all
- epel-10-all
- 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.105.0.post1.dev12+gf83936a0.

View file

@ -6,8 +6,8 @@
%endif
Name: packit
Version: 1.16.3
Release: 1%{?dist}
Version: 0.106.0
Release: 2%{?dist}
Summary: A tool for integrating upstream projects with Fedora operating system
License: MIT
@ -78,143 +78,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

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
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: c5ddfd17c5adac846a41e85c06af522d644afa4d

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.106.0.tar.gz) = f82380ce4a5f438185c0c829192b715698e934432fbb421bb1e031c277ed5cd3b15caf5716fabdffae6d2ce6e47fcdf1cf4534b2504eca6d696905e1dc85890f