On 12/04/2010 03:34 PM, Anthony Messina wrote: > I have been searching through the code at > https://fedorahosted.org/koji/, 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: http://fedoraproject.org/wiki/Dist_Git_Project 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: pkgs.fedoraproject.org:/*:false:fedpkg,sources 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: https://fedorahosted.org/fedora-packager/ 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 (like > package name, version, etc.) that I could use so that my uber-simple > command might be something like: > > wget http://yourcache.example.org/${package_name}.tar.gz No, there are no variables. -- buildsys mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/buildsys
