Compare commits

...
Sign in to create a new pull request.

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
9 changed files with 305 additions and 91 deletions

36
.gitignore vendored
View file

@ -76,3 +76,39 @@
/packitos-0.65.2.tar.gz
/packitos-0.66.0.tar.gz
/packitos-0.67.0.tar.gz
/packitos-0.68.0.tar.gz
/packitos-0.69.0.tar.gz
/packitos-0.70.0.tar.gz
/packitos-0.71.0.tar.gz
/packitos-0.72.0.tar.gz
/packitos-0.73.0.tar.gz
/packitos-0.74.0.tar.gz
/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
/packitos-0.83.0.tar.gz
/packitos-0.84.0.tar.gz
/packitos-0.85.0.tar.gz
/packitos-0.86.2.tar.gz
/packitos-0.87.0.tar.gz
/packitos-0.87.1.tar.gz
/packitos-0.88.0.tar.gz
/packitos-0.89.0.tar.gz
/packitos-0.90.0.tar.gz
/packitos-0.91.0.tar.gz
/packitos-0.92.0.tar.gz
/packitos-0.93.0.tar.gz
/packitos-0.94.0.tar.gz
/packitos-0.94.1.tar.gz
/packitos-0.94.2.tar.gz
/packitos-0.95.0.tar.gz
/packitos-0.97.0.tar.gz
/packitos-0.97.1.tar.gz

View file

@ -3,25 +3,35 @@
# For downstream, we need to pick just one instance (`stg` in our case)
# and redefine it for the `koji_build` and `bodhi_update` jobs.
packit_instances: ["prod", "stg"]
files_to_sync:
- packit.spec
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
# packit was already taken on PyPI
upstream_package_name: packitos
upstream_project_url: https://github.com/packit/packit
packages:
packit:
downstream_package_name: packit
# packit was already taken on PyPI
upstream_package_name: packitos
upstream_project_url: https://github.com/packit/packit
paths:
- ./
specfile_path: packit.spec
files_to_sync:
- packit.spec
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
version_update_mask: '\d+\.'
copy_upstream_release_description: true
issue_repository: https://github.com/packit/packit
actions:
create-archive:
- "python3 setup.py sdist --dist-dir ."
- "sh -c 'echo packitos-$(python3 setup.py --version).tar.gz'"
- "python3 -m build --sdist --outdir ."
- "sh -c 'echo packitos-$(hatch version).tar.gz'"
get-current-version:
- "python3 setup.py --version"
- "hatch version"
pre-sync:
# FMF has to be installed on system where you are calling this tool.
- python3 plans/git_reference.py
@ -30,8 +40,9 @@ allowed_gpg_keys:
- 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23
srpm_build_deps:
- python3-pip # "python3 setup.py --version" needs it
- python3-setuptools_scm
- python3-build
- hatch
- python3-hatch-vcs
jobs:
- job: propose_downstream
@ -47,19 +58,24 @@ jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-stable
- fedora-all
- epel-9
packages:
- packit
- job: tests
trigger: pull_request
targets:
- fedora-stable
- fedora-all
- epel-9
packages:
- packit
- job: copr_build
trigger: commit
branch: main
targets:
- fedora-stable
- fedora-all
- epel-9
project: packit-dev
list_on_homepage: True
@ -102,6 +118,7 @@ jobs:
- job: bodhi_update
trigger: commit
packit_instances: ["stg"]
allowed_builders: ["packit-stg", "packit"]
dist_git_branches:
- fedora-branched
- epel-9

View file

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

View file

@ -1,50 +1,28 @@
%global pypi_name packitos
%global real_name packit
# Testing dependencies: deepdiff, flexmock are missing on EPEL 9. Cannot use testing environment
%if 0%{?el9}
%bcond_with tests
%else
%bcond_without tests
%endif
Name: %{real_name}
Version: 0.67.0
Name: packit
Version: 0.97.1
Release: 1%{?dist}
Summary: A tool for integrating upstream projects with Fedora operating system
License: MIT
URL: https://github.com/packit/packit
Source0: %pypi_source
Source0: %{pypi_source packitos}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-click-man
BuildRequires: python3-GitPython
BuildRequires: python3-gnupg
BuildRequires: python3-ogr
BuildRequires: python3-packaging
BuildRequires: python3-pyyaml
BuildRequires: python3-specfile
BuildRequires: python3-tabulate
BuildRequires: python3-cccolutils
BuildRequires: python3-copr
BuildRequires: python3-koji
BuildRequires: python3-rpkg
BuildRequires: python3-lazy-object-proxy
BuildRequires: python3-marshmallow
BuildRequires: python3-marshmallow-enum
BuildRequires: python3-requests
BuildRequires: python3-requests-kerberos
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(setuptools-scm)
BuildRequires: python3dist(setuptools-scm-git-archive)
BuildRequires: python3-bodhi-client
BuildRequires: python3-cachetools
BuildRequires: python3-fedora
%if 0%{?rhel}
# epel-8 requires typing-extensions due to old python version
BuildRequires: python3-typing-extensions
%endif
Requires: python3-%{real_name} = %{version}-%{release}
BuildRequires: python3dist(click-man)
Requires: python3-packit = %{version}-%{release}
%description
This project provides tooling and automation to integrate upstream open source
projects into Fedora operating system.
%package -n python3-%{real_name}
%package -n python3-packit
Summary: %{summary}
# new-sources
Requires: fedpkg
@ -57,51 +35,213 @@ Requires: rpm-build
Requires: rpmdevtools
# Copying files between repositories
Requires: rsync
%if 0%{?rhel}
# rhbz#1968618 still not fixed for epel-8
Requires: python3-koji
%endif
%{?python_provide:%python_provide python3-%{real_name}}
%description -n python3-%{real_name}
Recommends: osh-cli
%description -n python3-packit
Python library for Packit,
check out packit package for the executable.
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%autosetup -n packitos-%{version}
%generate_buildrequires
# The -w flag is required for EPEL 9's older hatchling
%pyproject_buildrequires %{?with_tests:-x testing} %{?el9:-w}
%if 0%{?rhel}
# rhbz#1968618 still not fixed for epel-8
sed -i -e 's|koji|# koji|' setup.cfg
%endif
%build
%py3_build
%pyproject_wheel
%install
%py3_install
python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1
%pyproject_install
%pyproject_save_files packit
PYTHONPATH="%{buildroot}%{python3_sitelib}" click-man packit --target %{buildroot}%{_mandir}/man1
install -d -m 755 %{buildroot}%{bash_completions_dir}
cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
cp files/bash-completion/packit %{buildroot}%{_datadir}/bash-completion/completions/packit
%files
%license LICENSE
%{_bindir}/packit
%{_mandir}/man1/packit*.1*
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/%{real_name}
%{_bindir}/_packitpatch
%{bash_completions_dir}/packit
%files -n python3-%{real_name}
%files -n python3-packit -f %{pyproject_files}
# Epel9 does not tag the license file in pyproject_files as a license. Manually install it in this case
%if 0%{?el9}
%license LICENSE
%endif
%doc README.md
%{python3_sitelib}/*
%changelog
* 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
* Wed May 15 2024 Packit <hello@packit.dev> - 0.97.0-1
- Add a `scan-in-osh` subcommand in the CLI to perform a scan through OpenScanHub. By default, it performs a full scan of the packages and a differential scan can be performed through `--base-srpm` option. (#2301)
- When running `dist-git init` command from CLI, you can pass a command to specify a git URL of the project. (#2308)
* Mon Apr 22 2024 Packit <hello@packit.dev> - 0.95.0-1
- `packit dist-git init` now allows specifying `--version-update-mask` option and also any arbitrary top-level configuration options. (#2288)
- We have fixed Packit auto-referencing Upstream Release Monitoring bug for release syncing to CentOS Stream. (#2284)
- Resolves: rhbz#2276194
* Mon Apr 08 2024 Packit <hello@packit.dev> - 0.94.2-1
- Packit previously put the "[packit]" string as a prefix in the subject of pull-from-upstream commits. Now the prefix is no longer there - this is made unnecessary noise in autochangelog. This affects the default. Custom action can still override this behavior. (#2263)
- We have fixed a race condition that could occur when multiple `copr_build` jobs sharing a Copr project but having different targets were running at the same time. (#2274)
- Resolves: rhbz#2273977
* Thu Mar 28 2024 Packit <hello@packit.dev> - 0.94.1-1
- `packit validate-config` now checks whether `upstream_project_url` is set if `pull_from_upstream` job is configured. (#2254)
- `Resolves` is changed to `Resolves:` for the dist-git commit since that's the correct format for CentOS Stream 9. (#2260)
- Resolves: rhbz#2272077
* Sun Mar 17 2024 Packit <hello@packit.dev> - 0.94.0-1
- Added new configuration options `status_name_template` and `allowed_builders`.
- Resolves rhbz#2266037
* Mon Feb 26 2024 Packit <hello@packit.dev> - 0.93.0-1
- Packit now checks the version to propose against the version in specfile and doesn't create downgrade PRs. (#2239)
* Mon Feb 19 2024 Packit <hello@packit.dev> - 0.92.0-1
- Packit now supports `trigger: ignore` which can be used for templating by using the YAML. (#2234)
- Packit now searches for bugzilla about new release created by Upstream Release Monitoring to reference each time it syncs the release downstream. (#2229)
- Resolves rhbz#2264878
* Wed Feb 07 2024 Packit <hello@packit.dev> - 0.91.0-1
- We have introduced new CLI command `packit dist-git init` that initializes Packit configuration for release automation in dist-git repository. (#2225)
- `packit validate-config` now checks whether the Upstream Release Monitoring for the package is correctly configured if `pull_from_upstream` job is present in the configuration. (#2226)
- There is a new global configuration option `parse_time_macros` that allows to configure macros to be explicitly defined or undefined at spec file parse time. (#2222)
- Resolves rhbz#2259201
* Sun Jan 28 2024 Packit <hello@packit.dev> - 0.90.0-1
- `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)
* 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)
* Sun Jan 07 2024 Packit <hello@packit.dev> - 0.88.0-1
- We have fixed a bug preventing the release from being synced downstream if the changelog to be set is empty. (#2183)
- Resolves rhbz#2257183
* Thu Nov 30 2023 Packit <hello@packit.dev> - 0.87.1-1
- Packit now links the information related to upstream in PRs opened when syncing a release. (#2173)
- Resolves rhbz#2252328
* Fri Nov 24 2023 Packit <hello@packit.dev> - 0.87.0-1
- Packit now correctly sets the specfile content (e.g. changelog entry) even if it syncs the specfile from upstream the first time. (#2170)
- Packit now supports pre-release version in `propose_downstream` and `pull_from_upstream`. A spec file update might be required, see the documentation for more details. (#2149)
- Resolves rhbz#2251367
* Mon Nov 20 2023 Packit <hello@packit.dev> - 0.86.2-1
- Packit _0.86.1_ was not released on PyPI due to an internal bug, it should be fixed in this release.
* Mon Oct 30 2023 Packit <hello@packit.dev> - 0.85.0-1
- Packit no longer downloads sources excluded using spec file conditions. (#2132)
* Mon Oct 16 2023 Packit <hello@packit.dev> - 0.84.0-1
- We have adjusted how we include the resolved bugzillas in the commit messages created when syncing the release downstream so that the resolved bugzillas are included in changelog when using %%autochangelog. (#2126)
- Packit now properly cleans up the branch after syncing the release which should prevent unwanted files (e.g.tarballs) being committed in dist-git. (#2125)
- Packit no longer accepts `packit.json` or `.packit.json` as a configuration file name. (#2123)
- Packit now updates ACL of a dist-git fork when creating dist-git PRs to allow users and groups with commit rights to the original dist-git repo to push directly to a source branch. (#2112)
- We have fixed an issue that prevented you from running the jobs on the GitLab.com due to failing resolution of the upstream/downstream relationship for the cloned project. (#2120)
- We have fixed an issue that you could encounter when running the Packit from the CLI that caused misinterpretation of the repository to be an upstream repo instead of a downstream. (#2117)
- Resolves rhbz#2244381
* Fri Oct 06 2023 Packit <hello@packit.dev> - 0.83.0-1
- We have fixed an issue that prevented automated allowlisting in the Packit Service. (#2113)
- Packit now also detects resolved bugs in the default update notes (created from changelog diff) and assigns these when submitting the Bodhi updates. (#2111)
- Packit now exports `PACKIT_UPSTREAM_PACKAGE_NAME`, `PACKIT_DOWNSTREAM_PACKAGE_NAME` and `PACKIT_CONFIG_PACKAGE_NAME` also in the `changelog_entry` action. (#2103)
* Fri Sep 29 2023 Packit <hello@packit.dev> - 0.82.0-1
- You can now specify bugs resolved by an update by `-b` or `--resolve-bug` option for `propose-downstream` and `pull-from-upstream` commands. The values will be added by default to the changelog and commit message and provided in `commit-message` and `changelog-entry` actions as `PACKIT_RESOLVED_BUGS` env variable. (#2094)
- Resolves rhbz#2240355
* Sat Sep 23 2023 Packit <hello@packit.dev> - 0.81.0-1
- Packit now supports the `pkg_tool` option in the config (at the top-level or with specific packages when using the monorepo syntax). This option can be used for switching between `fedpkg` or `centpkg`. (#2085)
- When updating the `Version` tag during `propose_downstream` or `pull_from_upstream`, Packit now tries to update referenced macros (if any) rather than overwriting the references. (#2087)
- If you have concerns about Packit uploading new archives to lookaside cache before creating a pull request, you can newly set `upload_sources` to False to disable this. (#2086)
- We have fixed a bug that could cause duplicit PRs to be created when using the `commit-message` action. (#2080)
- Packit now supports `commit-message` action that can be used to override the default commit message produced by Packit during `propose-downstream` or `pull-from-upstream`. Please pay attention to our [documentation](https://packit.dev/docs/configuration/actions#commit-message) with regards to the usage of this action. (#2070)
* Fri Sep 08 2023 Packit <hello@packit.dev> - 0.80.0-1
- Packit CLI now provides a new command `pull-from-upstream`, offering the same functionality as `propose-downstream` but suited for usage from the dist-git repository with Packit configuration placed there. This was primarily added to help reproduce the behaviour of the service's [pull_from_upstream job](https://packit.dev/docs/configuration/downstream/pull_from_upstream). (#2063)
- 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 <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)
* 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)
* 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)
- We have fixed an issue with `files_to_sync` filters not being applied properly. (#1977)
* Fri May 26 2023 Packit <hello@packit.dev> - 0.76.0-1
- Unsuccessful Image Builder requests now provide error details so you can fix the Image configuration. (#1981)
- Copr projects created by Packit will not follow the Fedora branching from now on.
This decision has been made to lower the load on Copr from the temporary Copr projects created, mainly, for the PR builds.
If you are releasing your packages to Copr, please use the new setting `follow_fedora_branching`.
Already existing projects are not affected by this change and it is also not enforced with the custom Copr repositories. (#1970)
* Fri Apr 28 2023 Packit <hello@packit.dev> - 0.75.0-1
- Detection of `%%autorelease` usage in dist-git spec file during `propose-downstream` and `pull-from-upstream` has been improved and Packit will always preserve it. (#1949)
- Changed build tool to hatchling and moved metadata to `pyproject.toml`. (PEP621) (#1913)
- Respect `upstream_ref` for tags that start with "a", "b", "c", "e", "n", "r", "s". This was caused by an issue with a `branches` prefix being treated as a set of letters to remove. (#1943)
- Reset `Release` field in dist-git spec file to `1` when the version in upstream spec file is not up-to-date with the release that triggered `propose_downstream`. (#1940)
- Correctly catch the logs, if any of the user actions fail during the propose-downstream. (#1939)
- `packit source-git` related commands can skip dist-git repos, where the git trailer is not found, when looking for the right dist-git dir where to work. (#1938)
- More monorepo related fixes. (#1946, #1947, #1948)
* Sun Apr 16 2023 Packit <hello@packit.dev> - 0.74.0-1
- Allow configuring tmt tests with fmf root outside of git root. (#1936)
- Removed adding the "Signed-off-by" tag to commits created by Packit. (#1934)
- Packit's source_git functionality installs/loads the `_packitpatch` script in a more reliable manner that doesn't rely on deprecated setuptools functionality. (#1926)
* Thu Apr 06 2023 Packit <hello@packit.dev> - 0.73.0-1
- Packit now supports monorepo configuration in CLI (#1864)
* Fri Mar 31 2023 Packit <hello@packit.dev> - 0.72.0-1
- Packit now preserves `autorelease` macro during `propose_downstream` and `pull_from_upstream`. (#1904)
* Sat Mar 25 2023 Packit <hello@packit.dev> - 0.71.0-1
- `upstream_tag_template` is now also used when looking for the latest version tag in Git. This allows upstream repositories to mix different tag-patterns in the same repository, but consider only one to tell the latest version. (#1891)
* Mon Mar 20 2023 Packit <hello@packit.dev> - 0.70.0-1
- Now packit uses the `get_current_version` action defined by the user to retrieve version before updating the specfile %%setup macro (if any). (#1886)
* Sun Mar 05 2023 Packit <hello@packit.dev> - 0.69.0-1
- `packit validate-config` now correctly checks glob-patterns in `files_to_sync`. (#1865)
- Aliases logic was updated to account for the upcoming Fedora release (Bodhi now marks such release as `frozen`). (#1863)
- Command `packit validate-config` now provides details about errors when it cannot parse the config file. (#1861)
- Packit does fewer API calls when searching for the package configuration file in remote repositories. (#1846)
- `--update-release`/`--no-update-release` now affects only `Release`, not `Version`. (#1857)
- Packit now provides `PACKIT_PROJECT_VERSION` environment variable when running `changelog-entry` action. (#1853)
* Mon Feb 20 2023 Packit <hello@packit.dev> - 0.68.0-1
- Packit now requires bodhi in version 7.0.0 at minimum. (#1844)
- You can now use `--srpm` option with the `packit build locally` CLI command. (#1810)
* Fri Feb 03 2023 Packit <hello@packit.dev> - 0.67.0-1
- Packit now sanitizes changelog messages in order not to break spec file parsing. (#1841)

View file

@ -2,10 +2,22 @@ summary: Unit, integration & functional tests.
discover+:
filter: tier:1
adjust:
- when: "initiator == packit"
because: "have the latest builds of ogr and specfile available for upstream test jobs"
prepare+:
# 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
- how: shell
script: dnf -y upgrade python3-ogr python3-specfile
- when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9"
because: "flexmock and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251"
prepare:
because: "build and deepdiff are not in EPEL 9"
prepare+:
- how: install
package: python3-pip
- how: shell
script: pip3 install flexmock deepdiff
script: pip3 install build deepdiff

View file

@ -1,8 +1,12 @@
#!/usr/bin/python
import fmf
from pathlib import Path
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import subprocess
from pathlib import Path
import fmf
tree_root = Path.cwd().absolute()
node = fmf.Tree(tree_root).find("/plans")

View file

@ -3,4 +3,4 @@ execute:
discover:
how: fmf
url: https://github.com/packit/packit.git
ref: c6848c216f18febb330fb3b7d08dee08c8bb56fa
ref: f6b656f02e4e140107a7478ecfa2a259a31a8a40

View file

@ -2,15 +2,20 @@ summary: Session recording testcases
discover+:
filter: tier:2
adjust:
- when: "initiator == packit"
because: "have the latest builds of ogr and specfile available for upstream test jobs"
prepare+:
# 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
- how: shell
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:
prepare+:
- how: install
name: Enable the Copr-repo for Requre
copr: packit/packit-dev
- when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9"
because: "flexmock is not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251"
prepare+:
- how: install
package: python3-pip
- how: shell
script: pip3 install flexmock

View file

@ -1 +1 @@
SHA512 (packitos-0.67.0.tar.gz) = 2ad5ef95be660732aa73a7d4f30d08e654fbdc98f19e481a59edaecd5ff8786b2a3aa5686b21a3663ea266de95e5723cc4be91d8675ea3d8afa8f1f65d7c37be
SHA512 (packitos-0.97.1.tar.gz) = 58e7fb2fb27650037ac3bec6056fe6248571c49243f64af627ad7f81b5a4c7628effc6ca2fe28566874fc89e984e2f601296d31c855c61bee2b9f6746e1343f2