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, 06:14 UTC
Message-ID
<7vvf5pj7is.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7v8y2lknsp.fsf@assigned-by-dhcp.cox.net>
>>>>> "JCH" == Junio C Hamano <junkio@cox.net> writes:

Daniel, I am sorry but I realize I completely misunderstood what you meant by "projects including other projects". What you are trying to solve is the problem of feeding core GIT changes and pure Cogito changes separately to the upstream _within_ _the_ _current_ _source_ _tree_ _structure_ of Cogito, isn't it? That's where your juggling index files and other complexity comes from, and I did not realize that was what you were talking about. I should have realized it when you mentioned kbuild.

Well, personally I do not think such project _overlays_ are worth supporting because it happens rarely, and to a certain extent it is simply an undisciplined way to organize the source tree. Kbuild case may be justified, but I vaguely recall something very similar build infrastructure was used by busybox folks---it could be using just their own copy of kbuild for that matter.

But as you said in a separate message, I agree that core GIT layer is meant to be independent from what Porcelain you put on it. The relationship between Cogito and core GIT is not similar to kbuild and the kernel. It is more like a random X11 application and Xlib. Having them in the same source tree, intermixed, is less than optimal.

I would not be surprised when future, if not the next, Cogito release has source tree organized more like JIT sources, shipping git-pb and cogito in separate directories, managed by separate GIT_DIR. That would make Pasky's life a lot simpler.

And once the separation happens, the issue becomes just a simple package version matching every distribution does (e.g. Debian's binary package and library dependencies, or source Build-Depends dependencies), which is something already has been solved.

Previous: Daniel BarkalowNext: James Purser
Message 11 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.