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

Re: Notes on Subproject Support

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jan 23, 2006, 16:48 UTC
Message-ID
<Pine.LNX.4.64.0601231137250.25300@iabervon.org>
In-Reply-To
<200601231206.53466.lan@ac-sw.com>
On Mon, 23 Jan 2006, Alexander Litvinov wrote:
Show 15 quoted lines
> In our development we use a little bit other case (it is simplified):
> 1. We have self written C++ library for linked list implementation. Lets call 
> it liblist.
> 2. We have project A that use liblist as separate directory and project B that 
> use this library too.
> 
> Currently we have 3 cvs projects with cvs-modules for linking liblist to A and 
> B. During development of A and B we often modify liblist to fix bugs and 
> these changes are immidatly visible to all projects who use liblist.
> 
> After full implementation of bind functionality I see one restriction: I have 
> to use one repo for storing all three projects: A, B and liblist to make 
> changes of liblist visible to all projects. The solution is to make separate 
> repos and on each change of liblist in prokect A push these changes to 
> liblist repo and pull them into project B again - bit hacky solution.

We haven't yet discussed how pushing a repository with subprojects would work. We could probably have an extra line in the remotes/ file to make the desired thing happen automatically, so that you can just do "git push" and have the subproject go to its repository and the main project go to its repository.

	-Daniel
*This .sig left intentionally blank*
Previous: Alexander LitvinovNext: Junio C Hamano
Message 6 of 15 in “Notes on Subproject Support”
  1. Junio C HamanoJan 23, 2006
  2. Daniel BarkalowJan 23, 2006
  3. Junio C HamanoJan 23, 2006
  4. Junio C HamanoJan 23, 2006
  5. Alexander LitvinovJan 23, 2006
  6. Daniel BarkalowJan 23, 2006
  7. Junio C HamanoJan 23, 2006
  8. Daniel BarkalowJan 23, 2006
  9. Junio C HamanoJan 24, 2006
  10. Daniel BarkalowJan 23, 2006
  11. Junio C HamanoJan 24, 2006
  12. Daniel BarkalowJan 24, 2006
  13. Junio C HamanoJan 23, 2006
  14. Martin AtukundaJan 23, 2006
  15. Junio C HamanoJan 23, 2006

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.