Skip to content

Commit

Permalink
Correct sync list, add issue repo and version info
Browse files Browse the repository at this point in the history
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
  • Loading branch information
gridhead committed May 17, 2022
1 parent 66532fd commit 20dd50a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# https://packit.dev/docs/configuration/

specfile_path: fedora-messaging.spec
issue_repository: https://github.com/fedora-infra/fedora-messaging

# add or remove files that should be synced
files_to_sync:
- fedora-messaging.spec
- packit.yaml
- .packit.yaml

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: fedora-messaging
Expand All @@ -21,6 +22,9 @@ actions:
post-upstream-clone:
# fetch specfile from src.fp.o
- "wget https://src.fedoraproject.org/rpms/fedora-messaging/raw/main/f/fedora-messaging.spec -O fedora-messaging.spec"
get-current-version:
# fetch the version number of the package from the setup.py file
- "python3 setup.py --version"

jobs:
# upon upstream PRs, perform COPR builds
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ commands=
[testenv:checks]
deps =
pre-commit
commands = pre-commit run --all-files
commands =
dnf install git pre-commit -y
pre-commit install-hooks
pre-commit run --all-files


[testenv:licenses]
Expand Down

0 comments on commit 20dd50a

Please sign in to comment.