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

Re: New to git, related multi-projects

From
Alex Riesen <raa.lkml@gmail.com>
Date
Aug 29, 2007, 19:52 UTC
Message-ID
<20070829195216.GB11824@steel.home>
In-Reply-To
<7F6E024B-253E-40C6-9012-9CF1B2F374D8@yahoo.ca>
Jean-François Veillette, Wed, Aug 29, 2007 20:18:14 +0200:
Show 19 quoted lines
> The company currently use cvs, it has a cvs tree where the first  
> directory level is per client, the second directory level is the  
> project, then inside it we have the many artifacts, like :
> cvsserver/Shared/Documentation/PresentationTemplate.doc
> cvsserver/Shared/Documentation/AnalysisTemplate.doc
> cvsserver/Shared/Devel/CommonLib/*
> cvsserver/ClientA/ProjectA/Doc/Presentation.doc
> cvsserver/ClientA/ProjectA/Doc/Analysis.doc
> cvsserver/ClientA/ProjectA/Dev/ApplicationA/*
> cvsserver/ClientA/ProjectA/Dev/ApplicationB/*
> cvsserver/ClientA/ProjectA/Dev/ApplicationC/*
> cvsserver/ClientA/ProjectA/Dev/LibraryA/*
> cvsserver/ClientA/ProjectA/Dev/LibraryB/*
> 
> What would be the best way to represent a similar setup in git ?
> I was thinking of having a repository at the project level, and add  
> atomic  subdirectories (code for applications and libraries for  
> example)  as submodules.
> If submodule are the right way to go, ...

not necessarily. I'd try plain branches first, unless the client's projects have lots of applications (or libraries, IOW, modules) and many of them are optional for your development process. "Optional" better fits what submodules are: their presence is supermodule is optional too. Many fixes after introduction of the submodules was just ignoring them :)

> ... can a submodule, include a   submodule, for example,
> ApplicationA use LibraryA and CommonLib ?
yes.
Previous: Jean-François Veillette
Message 2 of 2 in “New to git, related multi-projects”
  1. Jean-François VeilletteAug 29, 2007
  2. Alex RiesenAug 29, 2007

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.