On 12/04/2010 03:34 PM, Anthony Messina wrote:
I have been searching through the code at
, but haven't found anything so far.
That is the code for koji, which does not contain any of the code for
dist-cvs or dist-git.
You can read some about dist-git here:
Fedora's dist-git setup makes use of the option in kojid to change the
'make sources' command to something else via the allowed_scms option.
They use an entry like this:
Which says: allow from pkgs.fedoraproject.org
, any path, do not use
common, run "fedpkg sources" instead of "make sources"
So with Fedora's dist-git, all the magic lies in fedpkg, which is part
of fedora-packager. You can get that code here:
With the old dist-cvs setup, the magic behind 'make sources' was in
Makefile.common. I'm not sure where that code is archived.
Also, if I needed to define my own source_cmd, are there variables
package name, version, etc.) that I could use so that my uber-simple
command might be something like:
No, there are no variables.