Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Packit configuration #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 5 additions & 30 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
specfile_path: rpm-head-signing.spec
specfile_path: python-rpm-head-signing.spec

synced_files:
- rpm-head-signing.spec
files_to_sync:
- python-rpm-head-signing.spec
- .packit.yaml
create_pr: false
sync_changelog: true

upstream_package_name: rpm-head-signing
upstream_tag_template: v{version}
upstream_project_url: https://github.com/fedora-iot/rpm-head-signing
downstream_package_name: rpm-head-signing
downstream_package_name: python-rpm-head-signing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is not correct, the downstream is as it is there.

Copy link
Contributor

@majamassarini majamassarini Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I didn't realize the script was changing more things than needed. I will investigate why (seems like the config was taken from an old version). The only needed change is renaming synced_files to files_to_sync (before January 25 - when we will release the new Packit 1.0.0).

The script is not able to force-push new changes, so I kindly ask you to close this PR and fix the config in a new PR. Thank you.


actions:
get-current-version: 'python3 setup.py --version'
Expand All @@ -19,32 +19,7 @@ jobs:
metadata:
targets:
- fedora-all
- epel-9-x86_64
- epel-8-x86_64

- job: sync_from_downstream
trigger: commit

- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
- epel-9

- job: tests
trigger: pull_request
targets:
- fedora-all
- epel-9

- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- epel-9

- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all
- epel-9