From: Chris Frey <cdfrey@foursquare.net>
To: git@vger.kernel.org
Subject: git-svn, git-submodule, and svn externals
Date: Fri, 17 Sep 2010 01:28:44 -0400 [thread overview]
Message-ID: <20100917052844.GA13321@foursquare.net> (raw)
Hi,
I'm struggling to find a clean way to manage a SVN project in git.
This SVN project consists of a library, an app, and numerous plugins.
Each of these has its own svn repo. Each repo has an external
with common build checks.
1) I'd like to find a way to track one svn project, including its
external, and be able to dcommit to it without worrying about
the submodule commit.
Right now I have a git repo that tracks the svn external
and a repo that tracks, for example, the library.
I combine them with git-submodule, and therefore have a
commit in the tree for the .gitmodule file and submodule
directory.
Each time I want to git svn dcommit, I create a new branch,
rebase it onto master without the .gitmodule commit, and
dcommit. There's gotta be a better way.
2) Ideally, I would like to combine the library and all the modules
in a single git repo that I can type 'make' at the root and
build everything. It would be nice if I could do development
in this meta tree, and commit to each various separate repo.
The commits eventually have to make their way back to their
separate SVN repos.
3) I'd like to share my git repo, so that people who want to use git,
can use git, and not have to futz about with tracking SVN.
What technology springs to mind when you read these requirements? :-)
Thanks in advance,
- Chris
reply other threads:[~2010-09-17 6:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100917052844.GA13321@foursquare.net \
--to=cdfrey@foursquare.net \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.