On Mon, Jun 22, 2015 at 06:08:51AM -0400, Kamil Paral wrote:
The existing use case for using the build target is that packages
will be able to define rule whitelists for certain checks (rpmlint,
abipkgdiff) and store them in distgit. In order to download the
correct whitelist, we need to know which distgit branch to check out.
I've been excited for a while¹ about letting packagers (along with
other test contributors) add tests to a git tree analogous to dist-git.
"test-git", I guess. I imagine 'fedpkg clone' being changed to check
out both trees into a common directory, although there are a lot of
possible implementations. I know you're just talking about whitelists
at this point, but perhaps that could be the first step?
Another thing to consider — if you look at a buildSRPMFromSCM task,
there are parameters like Build Tag and SCM URL — and the the git url
should² include commit hash, even. I was _already_ wondering if we
could find some way to include this in the RPM header, along with the
koji task ID. This would probably be less disruptive than my
ditch-the-dist-tag suggestion. :)
1.https://lists.fedoraproject.org/pipermail/devel/2014-January/194856.html
2.
https://lists.fedoraproject.org/pipermail/buildsys/2015-June/004772.html
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader