Skip to content

COPR Repositories

Endi S. Dewata edited this page May 9, 2022 · 27 revisions

Overview

Repository Platforms Webhook URL

@pki/master

Fedora 34, Fedora 35, Fedora 36, Rawhide

GitHub

@pki/11.1

Fedora 34, Fedora 35, Fedora 36, Rawhide

GitHub

@pki/11.0

Fedora 34, Fedora 35, Fedora 36, Rawhide

GitHub

@pki/10

Fedora 34, Fedora 35, Fedora 36, Rawhide

GitHub

@pki/10.13

Fedora 34

link: GitHub

@pki/10.12

Fedora 33, Fedora 34

GitHub

@pki/10.11

Fedora 33, Fedora 34

GitHub

@pki/10.10

Fedora 33, Fedora 34

GitHub

@pki/10.5

EPEL 7 / CentOS 7

GitHub

Managing COPR Repositories

Automating COPR Builds

In the source repository create a .copr/Makefile to generate an SRPM:

srpm:
	dnf install -y git
	./build.sh --with-timestamp --with-commit-id srpm
	if [[ "${outdir}" != "" ]]; then \
	    mv ${HOME}/build/pki/SRPMS/* ${outdir}; \
	fi

In the COPR project create a package as follows:

  • Source Type: Build from an SCM repository

  • SCM type: git

  • Clone URL: <repo URL>

  • Committish: <branch>

  • Build SRPM with: make_srpm

  • Auto-rebuild: True

To configure the webhook, go to SettingsIntegrations in the COPR project and follow the instruction.

See Also

Clone this wiki locally