mock-scm - a simple utility to integrate Mock with SCMs

seth vidal skvidal at fedoraproject.org
Thu Sep 2 14:12:17 UTC 2010


On Thu, 2010-09-02 at 13:19 +0300, Marko Myllynen wrote:
> Hi all,
> 
> some people build their local RPMs with Mock because a Koji instance
> might be a bit overkill in smaller environments. Keeping spec files and
> possible patches under version control is always a good idea but
> unfortunately Mock can't just be pointed to SCM repositories.
> 
> Well, until now: mock-scm fetches spec and other files from SCM and
> source packages either from SCM or a local directory, then it constructs
> the source RPM on the fly and feeds it to Mock and finally collects the
> results. So nothing extraordinary but might come in handy for those who
> prefer keeping things under version control but don't want to set up a
> Koji instance for building occasionally a handful of RPMs.
> 
> mock-scm currently supports CVS and Git but adding, e.g., SVN should be
> just few lines. It might need some tweaking to match different SCM/spec
> conventions but that is left as an exercise for the reader. mock-scm can
> be download from
> 
> http://myllynen.fedorapeople.org/
> 

That looks cool - any thoughts on trying to merge it into mock itself?

-sv




More information about the devel mailing list