On 02/15/2012 12:55 AM, Timothy Pearson wrote:
Right, I wouldn't expect it to, as the GIT
submodule feature is one of the
weakest points of GIT. When I generate the release tarballs I do so from
a full copy of the entire GIT tree, submodules and all, and walk the tree
down to each module (e.g. tdelibs, tdenetwork, amarok, etc.) to generate a
tarball of each module.
Tim
Francois, all,
I have one for the old svn tree that I could tweak for git. Basically you just
read the dir structure into an array or dump it to a file by changing into the
tde dir and issuing:
find main/ -maxdepth 2 -type d
That will give you a dir list that you can use to walk the tree and create
tarballs of the modules you want. You just need to exclude the directories that
you don't want zip.
Then just loop though the list and create tarballs. See 'tar --help' and look
at the '-C, --directory=DIR' option to limit the directory information you want
in your tarballs.
--
David C. Rankin, J.D.,P.E.