What's new in Copr

(2019)

Pavel Raiskup, Copr Team

Statistics 2019-07-22

  • Users vs Groups: 5850 vs 80
  • Projects: 25180
  • Builds in chroots: 2002773
    (3.5 chroot builds in one build)
  • Repo downloads: 166GB/day

Chroots

Fedora, EPEL, RHEL(beta), Mageia, OpenSUSE

x86_64 (i386), ppc64le, aarch64

Build retention policy

EOL Fedora chroots

Repo pruning (not new)

Temporary projects

$ copr create my_copr_project \
--delete-after-days 7 \
--chroot fedora-rawhide-x86_64

Limit builds/package/project

$ copr build my_copr_project    \
--{add,edit}-package-*          \
--name my_copr_package          \
...                             \
--max-builds 5

dnf plugin updated

  • Support for multiple instances $ dnf copr enable instance/owner/project
  • Rather re-enable soon for the new repo ID format

copr permissions API/cli

$ copr request-permissions @python/python3.7    \
--builder --admin

$ copr edit-permissions @python/python3.7       \
--builder  praiskup=approved                    \
--admin    praiskup=approved

Easier development

$ git clone https://pagure.io/copr/copr.git
$ cd copr
$ docker-compose up
...
// server listens on http://localhost:5000

PostgreSQL frontend dumps

https://copr.fedorainfracloud.org/db_dumps/

Fedora 30 support

both infrastructure and builders

full python3 support

yum disappearing (f31+)

Packit (wiki)

Module builds

  • Stabilized
  • Build order fixed
  • Module platform respected

fedora-messaging support

Chroot blacklists

example

Pinned projects

Jakub's example

builder-live.log

now compressed after the build

DNF priority for external repos

https://foo.bar/baz?priority=90

Old news :-)

Pagure CI support
polished, stabilized now (example)

Project Forking support
stabilized now

Future/Comming soon

Project chat integration

User-provided builder VMs

mock --forcearch support (qemu-static)

multilib support (dnf copr enable)

Questions?

RFEs? Bugreports? Fill right now...?

https://praiskup.fedorapeople.org/2019/flock/copr-presentation/