On Fri, 2012-04-20 at 17:34 +0100, Moray Henderson wrote:
I've found fedora-packager and fedpkg; there was a thread here in
2010
(
http://www.mail-archive.com/buildsys@lists.fedoraproject.org/msg00619.html)
which suggested that they configured Koji to issue the command to get the
sources. However, that's "allowed_scms" in kojid.conf, and I can't
see
anything in either package now which modifies that.
I wouldn't assume that the baseline configuration of the koji package in
Fedora necessarily matches how Fedora's koji instance is deployed.
So basically I'd really like to know the steps that Fedora's
Koji goes
through to build packages like anaconda - which has an old Makefile, and has
no URL to say where to find the sources.
Well, the way you do this as a fedpkg user is just run "fedpkg sources",
which grabs tarballs from the lookaside server based on the names and
md5sums in the 'sources' file in the checked-out package. Which is how
"make sources" used to work, too.
From a quick look at the kojid source I'd assume you'd want to override
the 'source_cmd' attribute of the SCM to do whatever's appropriate.
- ajax