develooper Front page | perl.perl5.porters | Postings from August 2009

Re: The plan for ext/ and dual-life modules

Thread Previous | Thread Next
Tim Jenness
August 30, 2009 16:32
Re: The plan for ext/ and dual-life modules
Message ID:
On Sat, 29 Aug 2009, Yuval Kogman wrote:

> IMHO the logical next step is to use submodules[1] for the directories
> in ext/, allowing the maintainers to keep separate repositories for
> each core module in the main git server.

I'm in favour of this with a couple of caveats. We use submodules for our 
big open source astronomy project ( 
and the only two things that have bitten us are:

  1. Realising too late that replacing a pre-existing subdirectory
     with a submodule leads to much pain and suffering when checking
     out branches that cross the commit that included the submodule (I'm
     assuming this is because git can't remove built files when trying
     to replace the submodule with a directory in an old commit)

  2. We had to write a script for people that would run
     'git submodule update' for them in a safe manner.

other than that they've been a great boon to development.


Tim Jenness
JAC software

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About