Re: RFC: Subprojects
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 14, 2006, 20:38 UTC
- Message-ID
- <7vk6d2fsu6.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <43C95F69.7090200@gmail.com>
A Large Angry SCM <gitzilla@gmail.com> writes:
Show 7 quoted lines
>> If I could have just done a "git clone <top-level>" to get it all, >> I'd have been a much more productive user. > > $ make get_sub_components > > This can work with most any SCM (depending on your environment), is > amazingly flexible, and does not require special support in the SCM.
I am with you two on this one, in principle, as a developer.
Show 9 quoted lines
> The "get" rule for each sub-project could be something like: > > git_sub-project: > mkdir sub-project > cd sub-project > git-init-db > git-fetch <fetch-options> <repository> <refspec> > git-checkout <branch> > $(MAKE) get_sub_components
There lies a drake here --- <repository> is not the same for everybody. It is not a big showstopper dragon, though.