#142 [rfe] ability to autobuild/bind copr with fork on src.fedoraproject.org
Closed 6 years ago Opened 6 years ago by jkastner.

as package sources are hosted on src.fedoraproject.org and user can make fork like on pagure/github, it would simplify contribution workflow.
so instead of using copr's dist-git and lookaside cache, copr builder should act as 'client' only and generate srpm for mock/whatever, like fedpkg/rpkg does, directly on builder performing build itself.


Metadata Update from @clime:
- Issue assigned to clime

6 years ago

for example;
rpms/kernel fork in jkastner/rpms/kernel

It is now finally possible to build from src.fp.o forks with the latest COPR stack.

Fixed by https://pagure.io/copr/copr/c/70d61a89f3d6d3f520f3c0f84af573af15db6480?branch=master.

But auto-rebuilding seems not yet possible as we do not currently listen to src.fp.o fed messages. This will be fixed in the next release.

Hello, auto-rebuilding now listens to even to src.fp.o fed messages and COPR package now can be bound to src.fp.o package. The problem is that src.fp.o currently does not send fedmsgs on push to a fork and therefore autobuild/binding copr with fork as was requested is not currently yet possible. I filed this bug report against src.fp.o https://pagure.io/fedora-infrastructure/issue/6575. Sorry for delay with this feature. We will do our best to fix the current issue and finally deliver this possibility.

Hello, auto-rebuilding now listens to even to src.fp.o fed messages and COPR package now can be bound to src.fp.o package. The problem is that src.fp.o currently does not send fedmsgs on push to a fork and therefore autobuild/binding copr with fork as was requested is not currently yet possible. I filed this bug report against src.fp.o https://pagure.io/fedora-infrastructure/issue/6575. Sorry for delay with this feature. We will do our best to fix the current issue and finally deliver this possibility.

The problem was resolved in https://pagure.io/fedora-infrastructure/issue/6612.

We have made (final) adjustments in https://pagure.io/copr/copr/c/946a0b261c243f91751b1265376f49048d5b781f?branch=master.

You can enable autore-builds for src.fp.o for by the following steps:

1) make a SCM package in COPR with Clone URL pointing to the src.fp.o fork (please, use the https:// option for cloning)
2) make sure "Webhook Rebuild" checkbox is checked when you are creating the package
3) Go to settings for your package at src.fp.o and almost at the bottom in Hooks->Fedmsg section, check "Activate" checkbox and then click on "Update" button.

If your package is a main package (not a fork), then you can omit step 3.

Metadata Update from @clime:
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata