Re: RFC: Subprojects
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Jan 12, 2006, 05:39 UTC
- Message-ID
- <46a038f90601112139l2f2bde5bx15102a1afcf4ec25@mail.gmail.com>
- In-Reply-To
- <200601121125.33696.lan@ac-sw.com>
On 1/12/06, Alexander Litvinov <lan@ac-sw.com> wrote:
Show 5 quoted lines
> > What is your show stopper? > > I would agree to make separate commits for each sub project. > > 1. I need to have ability to make tags, branches thru all subprojects.
I suspect that this is a bad idea -- for the same reason as committing to a subproject is a bad idea. The subprojects most likely have their own external repositories -- and lifecycles of their own. The same headname/branchname won't do.
> 2. Update (pull) sould update each subproject, it is hard to update them by > hands.
A simple shellscript can help you here.
> 3. The need of some sort of checkout script (can be solved by storing this > script in base project, but it would be much nicer allow git fetch all > subprojects)
As you say, a bootstrapping shellscript can sort this out.
Sounds quite doable ;-)
(have to warn you though -- git is quite addictive. there's no going back...)
cheers,
martin