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

Re: [RFC] Support projects including other projects

From
Junio C Hamano <junkio@cox.net>
Date
May 12, 2005, 04:52 UTC
Message-ID
<7vk6m5kpue.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.21.0505112350420.30848-100000@iabervon.org>

I think that the core of your idea of recording "required version" of the depended project (core GIT) in the depending project (Cogito) is a very sound one. GNU Arch folks do something similar in their "package-framework" stuff.

I however do not think that belongs to the core GIT nor even to Cogito for that matter. To me, it feels like this is a pure build infrastructure issue.

I think you could arrange something like that with today's core GIT tools, like this:

 - Tweak Cogito Makefile so that pure Cogito and core GIT are
   housed in separate subdirectories;
 - Add "required-git-pb" file to Cogito source as a tracked
   source file, and record the required version of git-pb there;
 - Arrange Cogito Makefile to make sure the subtree that has the
   core GIT side meets "required-git-pb" constraints.  The
   constraints could be "at least contains this one", "exactly
   this one".  The policy would be differnt from a depending
   project to another.  What happens if the requirements are not
   met is also up to the policy of that depending project.
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 2 of 14 in “[RFC] Support projects including other projects”
  1. Daniel BarkalowMay 12, 2005
  2. Junio C HamanoMay 12, 2005
  3. Daniel BarkalowMay 12, 2005
  4. Junio C HamanoMay 12, 2005
  5. Daniel BarkalowMay 12, 2005
  6. Junio C HamanoMay 12, 2005
  7. Daniel BarkalowMay 12, 2005
  8. David LangMay 12, 2005
  9. Junio C HamanoMay 12, 2005
  10. Daniel BarkalowMay 12, 2005
  11. Junio C HamanoMay 12, 2005
  12. James PurserMay 12, 2005
  13. Daniel BarkalowMay 12, 2005
  14. James PurserMay 12, 2005

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.