{"thread":{"id":"20169","subject":"git-archive and submodules","startedAt":"2009-07-20T16:22:32Z","lastAt":"2009-07-20T20:56:25Z","messageCount":3,"participants":["Woody Gilk","Avery Pennarun","Thomas Rast"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118331","messageId":"41ceb5540907200922r5decb047h75e723a1809b587e@mail.gmail.com","threadId":"20169","inReplyTo":null,"subject":"git-archive and submodules","fromName":"Woody Gilk","fromEmail":"woody.gilk@kohanaphp.com","sentAt":"2009-07-20T16:22:32Z","receivedAt":"2009-07-20T16:22:32Z","isPatch":false,"sender":{"key":"woody.gilk@kohanaphp.com","avatar":null},"body":"(Please note that I am not subscribed to the mailing list, so if you\nwant me to read your reply, it must be sent to\nwoody.gilk@kohanaphp.com)\n\nI would find it hugely valuable if git-archive would support\nsubmodules, rather than leaving empty files in the place of\nsubmodules. Supporting submodules is critical to packaging releases\n(combined with signed tags). With git-archive not support submodules,\nit means that I have to manually package and sign each release, rather\nthan using git-tag.\n\nThis seems like it should be a fairly trivial thing to support,\npossibly with the addition of a --with-submodules parameter for\ngit-archive to avoid backwards compatibility issues.\n\nThank you,\n-Woody Gilk\nLead Developer of Kohana PHP Framework\n"},{"id":"118332","messageId":"32541b130907201033r68da33f7tba3b0f0200212724@mail.gmail.com","threadId":"20169","inReplyTo":"41ceb5540907200922r5decb047h75e723a1809b587e@mail.gmail.com","subject":"Re: git-archive and submodules","fromName":"Avery Pennarun","fromEmail":"apenwarr@gmail.com","sentAt":"2009-07-20T17:33:09Z","receivedAt":"2009-07-20T17:33:09Z","isPatch":false,"sender":{"key":"apenwarr@gmail.com","avatar":"https://avatars.githubusercontent.com/u/20592?v=4"},"body":"On Mon, Jul 20, 2009 at 12:22 PM, Woody Gilk<woody.gilk@kohanaphp.com> wrote:\n> I would find it hugely valuable if git-archive would support\n> submodules, rather than leaving empty files in the place of\n> submodules. Supporting submodules is critical to packaging releases\n> (combined with signed tags). With git-archive not support submodules,\n> it means that I have to manually package and sign each release, rather\n> than using git-tag.\n\n<shameless-plug> This works already today if you use git-subtree[1]\ninstead of submodules. </shameless-plug>\n\nHave fun,\n\nAvery\n\n[1] http://github.com/apenwarr/git-subtree\n"},{"id":"118345","messageId":"200907202256.26669.trast@student.ethz.ch","threadId":"20169","inReplyTo":"41ceb5540907200922r5decb047h75e723a1809b587e@mail.gmail.com","subject":"Re: git-archive and submodules","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2009-07-20T20:56:25Z","receivedAt":"2009-07-20T20:56:25Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Woody Gilk wrote:\n> I would find it hugely valuable if git-archive would support\n> submodules, rather than leaving empty files in the place of\n> submodules.\n\nSuch support was already in the pipeline before 1.6.2, see this\nthread:\n\n  http://thread.gmane.org/gmane.comp.version-control.git/107030\n\nLars' series is still available from the repo mentioned in one of the\nmessages\n\n  git://hjemli.net/pub/git/git lh/traverse-gitlinks\n\nbut does not merge into master cleanly any more, because an earlier\nversion of the first commit (of now three) made it into 1.6.2.  For\nyour testing convenience, I rebased the other two commits on 'master'\nand pushed them to\n\n  git://repo.or.cz/git/trast.git lh/traverse-gitlinks-on-master\n\nAll conflicts were trivial, but I made a minor change: there's already\na t5001 from 8aece7f (archive test: attributes, 2009-04-18), so I\nrenamed it to t5002 in the tip commit.\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"}]}