Hey Kamil,

On Tue, Aug 22, 2017 at 12:07 PM, Kamil Dudka <kdudka@redhat.com> wrote:
On Tuesday, August 22, 2017 9:04:24 AM CEST Matthias Runge wrote:
> - the ability to directly upload srpms; that is, one can store spec
>   files etc. on the local machine. I'm undecided, if integrating a
>   distgit on copr would solve any issues or would introduce more, like
>   diverging specs.

Building packages from dist-git is already possible via 'copr buildfedpkg'.
The problem is that the last time I tried, it only worked for the official
Fedora branches.  All attempts to build something from a private-kdudka-*
branch failed with the well known "Could not find the dist from branch name"
failure of fedpkg.  Unless arbitrary dist-git branches are suported, the
'copr buildfedpkg' command is pretty useless.

Actually, we already support arbitrary dist-git branches in COPR and we also aim
to be able to build from any dist-git (at least being based on https://src.fedoraproject.org/rpms/dist-git).

Currently we also support building from copr-dist-git in addition to Fedora DistGit but
we need to reflect that in our API and in copr-cli interface by renaming the subcommand.
(or providing the new generic one while keeping the old one for some time)

Then there is actually also the new rpkg client (based on pyrpkg lib): https://src.fedoraproject.org/rpms/rpkg-client
that you can use for launching COPR builds from any dist-git repo being locally checked out.
 

Kamil
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org