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

git submodules or, how do we share code between unrelated projects?

From
JWJan Wielemaker <j.wielemaker@uva.nl>
Date
Jul 8, 2008, 21:11 UTC
Message-ID
<200807082311.32684.J.Wielemaker@uva.nl>
Hi,

I'm looking at git-submodule, but I start to get the impression it is old CVS jargon that brought me there.

We are two open source projects creating implementations of the Prolog language. One (SWI-Prolog) is under GIT, the other (YAP) is under CVS but will move to git if this helps.

We want to start sharing some developments. I guess for each (unrelated) library we wish to share we must create a git repo, right? Now we generally need compatibility patches to make this shared code run on both systems and we need some way to get this code into the main repo of both systems, such that a clone of the repo of a system gets you the shared library.

I guess GIT must be perfect for this, but I'm a bit unsure on the proper setup of the workflow. Is there a project that has something similar established and has guidelines how to manage this?

	Cheers --- Jan
Message 1 of 1 in “git submodules or, how do we share code between unrelated projects?”
  1. Jan WielemakerJul 8, 2008

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.