mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 00:44:45 +01:00
Add a Packit configuration for Fedora packaging (#1086)
* Add Packit configuration for Fedora packaging - all pull requests are build-tested in https://copr.fedorainfracloud.org - new releases will create pull requests in https://src.fedoraproject.org/rpms/httpie Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
This commit is contained in:
parent
61f1ffd0eb
commit
da03a0656e
5
.gitignore
vendored
5
.gitignore
vendored
@ -139,3 +139,8 @@ dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# Packit
|
||||
/httpie.spec
|
||||
/httpie-*.rpm
|
||||
/httpie-*.tar.gz
|
||||
|
19
.packit.yaml
Normal file
19
.packit.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
specfile_path: httpie.spec
|
||||
actions:
|
||||
# the current Fedora Rawhide specfile has some patches
|
||||
# so we get it from @hroncok's (= churchyard in Fedora) fork for now
|
||||
# once we have a new release, we'll use: https://src.fedoraproject.org/rpms/httpie/raw/rawhide/f/httpie.spec
|
||||
post-upstream-clone: "wget https://src.fedoraproject.org/fork/churchyard/rpms/httpie/raw/packit/f/httpie.spec -O httpie.spec"
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
metadata:
|
||||
targets:
|
||||
- fedora-all
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
metadata:
|
||||
dist_git_branches:
|
||||
- rawhide
|
Loading…
Reference in New Issue
Block a user