On 28.03.2017 14:23, Miroslav Suchý wrote:
Dne 28.3.2017 v 10:40 Till Hofmann napsal(a):
> I'm playing around with Tito and COPR following [1,2]. It works great so
> far, but I'm still having problems with loading the sources to a
> lookaside cache. I've found a blog post that uses git-annex [3], but the
> COPR builders do not have git-annex installed. According to another blog
https://bugzilla.redhat.com/show_bug.cgi?id=1426033
That would certainly help.
> post [4], I should be able to use COPR with dist-git. Unfortunately, I
> couldn't find any further information on COPR + dist-git. Is there some
> documentation that I missed? In particular, does anyone have a sample
> configuration for using COPR + Tito + dist-git?
This is little bit vague. Can you elaborate more what you are trying to achive? Where you
have sources? Where you have
spec? Are you upstream? Or you just packaging it?
I'm just packaging it, upstream sources are in a separate repository.
I'm basically trying to follow the same workflow as with regular Fedora
packages: Spec file in my repository, and a reference to an upstream
tarball in the repository (although just fetching Source0 would be fine
too). I just want to avoid adding SRPMs or upstream tarballs to the
repository. Ideally, Tito would fetch the upstream tarball and build the
package with the Spec file in my repository. In order to do this, I need
to upload the source to some lookaside cache, which is then used by Tito
(which would already work if the builders had git-annex installed).
Ultimately, I want to manage a number of related packages in a single
repository and build all the packages with COPR.
Kind regards,
Till