Re: Software Management call for RFEs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux