On Tue, Dec 15, 2009 at 11:28 AM, Bob McWhirter <[email protected]> wrote:
> So, the issues with submodules is that users will have to remember to 'git
> submodule init' when they do a clone.
>
> Also, if you commit within a submodule, you *then* have to commit in the
> parent project so that HEAD in the parent includes a reference to the new
> HEAD in the submodule.  That'll bite you a few times.
>
> I'd probably add some magic to build.xml to check if the submodules have
> been init'd, and do that for the user if required before attempting a build,
> or anything else meaningful.
>
> Fwiw, I started TorqueBox as a set of 6 repositories in a parent repo.  It
> turned out to be a horrible mess for multi-project development.  I ended up
> merging the repos together, and have been much happier since.

These are just going to be read-only submodules for now, so if you
don't init them it won't really matter. They're mostly there so you
have access to them easily without going to fetch a separate
repository for each one.

The builds will still operate against the pre-built binaries. Does
this sound ok?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to