Software Management call for RFEs

Colin Walters walters at verbum.org
Thu May 23 15:12:28 UTC 2013


On Thu, 2013-05-23 at 16:54 +0200, Phil Knirsch wrote:

> But rpm could just do a git-tar-tree behind the scenes, which sounds 
> easy enough.

It's not quite that easy, given the possible presence of git
submodules.  

http://stackoverflow.com/questions/1591387/need-to-handle-git-submodules-in-git-archive

There are scripts out there though, it's not a huge amount of
engineering.

However if you take the next step and ask yourself, "why not actually
just use git repositories instead of the lookaside pile of tarballs",
then you get into the part I found the most tricky with doing continuous
integration (and complying with the GPL by mirroring the source you're
building), which is recursively mirroring the submodules, and changing
the submodule references to point to your local mirror:

https://git.gnome.org/browse/gnome-ostree/tree/src/js/vcs.js#n213

Even the Jenkins git plugin doesn't really handle this quite correctly,
but the above code has survived a lot of real-world testing.




More information about the devel mailing list