On Fri, Jun 12, 2015, at 10:33 PM, Gerald B. Cox wrote:
I'm trying to figure out the best way to handle the situation
where a
project decides to use submodules in Git. The archive generated
doesn't incorporate the submodule files.
My projects copy around some code to recursively archive.
https://github.com/cgwalters/rpm-ostree/blob/master/packaging/make-git-sn...
Which I use in Fedora:
http://pkgs.fedoraproject.org/cgit/rpm-ostree.git/tree/rpm-ostree.spec#n6
I also have a higher level system which supports recursive mirroring of
git repositories with submodules, building multiple RPMs using
mockchain:
https://github.com/cgwalters/rpmdistro-gitoverlay[1]
Links:
1.
https://github.com/cgwalters/rpmdistro-gitoverlay/blob/master/rdgo/git.py