Git, the D package manager

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 08:08:43 PST 2015


On Monday, 2 February 2015 at 11:00:20 UTC, Manu wrote:
> I have an issue with your proposed module management solution 
> that I
> wonder if you can address.
> You suggest placing source in the root of the repo. Just... no. 
> I will
> never do that. The root directory is for readme's, licenses, 
> maybe a
> build script. It's not the place for the source, that lives in 
> 'src'.
> What's the solution to this problem?
> Is it that your src directory should have symlinks to the src
> directories of the submodules? Is that why you raise the symlink
> support on windows issue? I haven't thought of that before, and 
> have
> no idea if it works...
>
> Does git support relative symlinks?

If you're going to start using submodules, how about putting your 
source innto it's own submodule?

fruit ->
    README
    src -> (git submodule "fruit_src"?)
        apple.d
        banana.d

Just a thought.  If git supported cloning a partial repository 
you could do this without a sub module as well.  What do you 
think?  Seems a little odd to me but maybe it could work.





More information about the Digitalmars-d mailing list