From: Jakub Narebski <jnareb@gmail.com>
To: skillzero@gmail.com
Cc: git@vger.kernel.org
Subject: Re: Best way to re-do a CVS repository with git?
Date: Sat, 19 Apr 2008 01:23:25 -0700 (PDT) [thread overview]
Message-ID: <m3wsmuqmmp.fsf@localhost.localdomain> (raw)
In-Reply-To: <2729632a0804161937w168aba8ahee742e182e50b4e7@mail.gmail.com>
I think the subject would better read:
"What is best way to represent multimodule CVS repository in Git?"
skillzero@gmail.com writes:
> I have a large CVS repository (1.5 GB without its history) that I'd
> like to convert to git, but I'm not sure about the right way to set it
> up. If I need to change the way I'm thinking about source code
> management, that's fine too, but here's what I have today in a single
> CVS repository:
>
> MyProject
> Apps # Only apps people use this.
> Common # Everyone uses this.
> Firmware # Only firmware people use this.
> External/ProjectA # Only app people use this.
> External/ProjectB # Everyone uses this.
> External/ProjectC # Only firmware people use this. This is 1 GB
> of code by itself.
>
> I manage this today with CVS modules, one for apps people and one for
> firmware people (and another CVS module with everything for people
> like me that work on both).
>
> I initially thought I'd create separate git repositories for each
> piece, but I'm not sure how that would work when it comes to tagging
> an entire release (i.e. a tag that spans multiple repositories). Or
> how it would handle a git repository within a directory managed by
> another git repository.
>
> What's the best way to set up something like this with git?
I think that such setup would be best managed by creating Git
repository for each piece, and "integration" repositories, one for
apps people, and one for firmware people, using submodule support in
Git.
Tagging entire release would be tagging in "integration" repository,
the one using submodules.
See also:
* http://git.or.cz/gitwiki/SubmoduleSupport
* http://git.or.cz/gitwiki/GitSubmoduleTutorial
* http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html
aka git-submodule(1)
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2008-04-19 8:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 2:37 Best way to re-do a CVS repository with git? skillzero
2008-04-19 8:23 ` Jakub Narebski [this message]
2008-04-19 19:47 ` skillzero
2008-04-19 22:49 ` Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wsmuqmmp.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=skillzero@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).