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

Re: Something looks like CVS modules

From
ALAlexander Litvinov <lan@ac-sw.com>
Date
Nov 11, 2005, 11:13 UTC
Message-ID
<200511111713.58018.lan@ac-sw.com>
In-Reply-To
<20051111105820.GN30496@pasky.or.cz>
On Friday 11 November 2005 16:58, Petr Baudis wrote:
Show 13 quoted lines
> > 1. The problem with checkout - single checkout should checkout all needed
> > modules to build project. Update should also update all modules. The same
> > with commit.
> > 2. Tags should be done on all modules. All modules should be able to be
> > in the same branch.
>
> > And in the same time one module should be able to exists in two or more
> > projects !
>
> Then just have only a bunch of directories in your project root, and
> that shall be your modules. :-)
>
> (CVS modules don't work like that either, do they?)

As far as CVS tracks tags/branches separatly for each file, tags abd branches work well for modules.

Bunch of directories is almost what I want except tags/branches/history. CVS does not care if two directories have separate root/repos. All it wants -is a properly CVS dir.

> But this is troublesome, and doesn't fit into GIT's model at all. Do you
> have any concrete example of a scenario where something like this would
> be useful?

For eaxmle: I have java lib A. I setup project B in this way: B/src/ B/A/src

Have another project C: C/src/ C/A/src

Both of them share the same code from library's module. I can tag them, edit, commit: do all work I usualy do. If I change something in B/A/src this will be updated into C/A/src.

This is what I dreaming about :-)
Previous: Sven VerdoolaegeNext: Petr Baudis
Message 7 of 9 in “Something looks like CVS modules”
  1. Alexander LitvinovNov 11, 2005
  2. Junio C HamanoNov 11, 2005
  3. Petr BaudisNov 11, 2005
  4. Alexander LitvinovNov 11, 2005
  5. Petr BaudisNov 11, 2005
  6. Sven VerdoolaegeNov 11, 2005
  7. Alexander LitvinovNov 11, 2005
  8. Petr BaudisNov 11, 2005
  9. Josef WeidendorferNov 11, 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.