git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Project structure of .NET-Projects using git submodule or something different

From
Jens Lehmann <jens.lehmann@web.de>
Date
Feb 1, 2012, 20:29 UTC
Message-ID
<4F29A0BE.8000803@web.de>
In-Reply-To
<002401cce069$75ecc1a0$61c644e0$@heigl-online.at>
Am 31.01.2012 23:41, schrieb Harald Heigl:
Show 14 quoted lines
> Let's assume following Project structure (Dependencies and Subdependencies
> are submodules and submodules of the submodules)
> Project
> 	Dependency 1
> 		Dependency 2
> 		Dependency 3
> 	Dependency 4
> 	Dependency 2
> 
> 
> The problem is if I want to build them I need to build 2+3, then 1, 4 and 2
> again and then the project. As you may see project 2 is a submodule of
> dependency 1 and also of project. I don't feel comfortable with this setup.
> What do you think?

Hmm, we try to avoid that kind of setup as having checked out different versions of the "Dependency 2" submodule could have rather surprising effects. We get along really well with "Dependency 2" only being present in the superproject and having "Dependency 1" reference that instead of having its own copy (So we have submodules which are depending on having other submodules right next to them). Then the superproject is responsible for tying it all together.

Previous: Harald HeiglNext: Harald Heigl
Message 2 of 4 in “Project structure of .NET-Projects using git submodule or something different”
  1. Harald HeiglJan 31, 2012
  2. Jens LehmannFeb 1, 2012
  3. AW: Project structure of .NET-Projects using git submodule or something differentHarald Heigl, Feb 1, 2012
  4. AW: Project structure of .NET-Projects using git submodule or something differentHarald Heigl, Feb 10, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.