From: Jonathan Nieder <jrnieder@gmail.com>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Stephen Bash <bash@genarts.com>, Matt Stump <mstump@goatyak.com>,
git@vger.kernel.org, David Michael Barr <david.barr@cordelta.com>,
Sverre Rabbelier <srabbelier@gmail.com>,
Tomas Carnecky <tom@dbservice.com>
Subject: Re: Converting to Git using svn-fe (Was: Speeding up the initial git-svn fetch)
Date: Mon, 18 Oct 2010 02:31:02 -0500 [thread overview]
Message-ID: <20101018073102.GA3979@burratino> (raw)
In-Reply-To: <20101018051702.GD22376@kytes>
Ramkumar Ramachandra wrote:
> Also, since we're aiming for a two-way mapping, it's going to be
> significantly more challenging: we will need a mapping function that
> can be inverted perfectly.
Sounds interesting! Let's see how much I can narrow scope/dash hopes.
:)
First of dreams is the possibility of using git as a replacement for
svnsync, to get semantically identical SVN repositories like so:
[...]
> SVN repository 1 -> dumpfile -> Git repository
> Git repository -> dumpfile' -> SVN repository 2
in a way that svn tools can look at repo 2 as a basically perfect
replacement for repo 1. This means copying svnsync properties,
rename tracking info, svn properties, etc.
I. Some people might want that, and I wouldn't want to stop them
trying (maybe using notes, perhaps even the mythical tree-based
form) but I'm not interested in it at all. Is it a goal for you?
Second would be the possibility of using an SVN repository as a
conduit for communication between git repositories:
Git repository 1 -> fast-export stream -> SVN repository
SVN repository -> dumpfile -> Git repository 2
II. It would be super cool to be able to transport arbitrary git
objects via svn (maybe using custom properties and fabricated
temporary branches named after the first commit after a fork
point). Perhaps some people could host git projects on Google
Code this way. Is that a goal?
Git 1 -> SVN 1 -> Git 2 -> SVN 2 -> Git 3
III. Perhaps only the subset of git objects with certain properties
should be considered safe to transport via an SVN repository
(e.g.:
- author matches committer
- timestamps are New York time
- author address is of the format username <username>
- filenames are valid UTF-8
). And maybe any existing git repository can be painlessly
transformed to consist only of such commits. Is that a model
to strive for?
SVN 1 -> Git 1 -> SVN 2 -> Git 2 -> SVN 3
IV. Maybe only some svn changes would be considered safe to
transport via git: no weird properties, no tracked renames
not involved in branches/merges, all branches named after the
git commit id of the first rev after the fork point, ...
And maybe any existing svn repository can be painlessly
transformed to consist only of such revisions. Is that a goal?
(As you might have guessed, my answers are "no, no, no, and no, at
least at first, but it is fun to imagine how a person would go about
achieving these things anyway").
Hope that clarifies something,
Jonathan
next prev parent reply other threads:[~2010-10-18 7:35 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 15:44 Speeding up the initial git-svn fetch Matt Stump
2010-10-13 16:02 ` Stephen Bash
2010-10-13 17:47 ` Matt Stump
2010-10-13 18:18 ` Stephen Bash
2010-10-14 16:22 ` Converting to Git using svn-fe (Was: Speeding up the initial git-svn fetch) Stephen Bash
2010-10-14 16:34 ` Jonathan Nieder
2010-10-14 20:07 ` Sverre Rabbelier
2010-10-15 14:50 ` Stephen Bash
2010-10-15 23:39 ` Sverre Rabbelier
2010-10-16 0:16 ` Stephen Bash
2010-10-17 2:25 ` Sverre Rabbelier
2010-10-17 3:33 ` David Michael Barr
2010-10-18 5:17 ` Ramkumar Ramachandra
2010-10-18 7:31 ` Jonathan Nieder [this message]
2010-10-18 16:38 ` Ramkumar Ramachandra
2010-10-18 16:46 ` Sverre Rabbelier
2010-10-18 16:56 ` Jonathan Nieder
2010-10-18 17:16 ` Ramkumar Ramachandra
2010-10-18 17:18 ` Sverre Rabbelier
2010-10-18 17:28 ` Jonathan Nieder
2010-10-18 18:10 ` Sverre Rabbelier
2010-10-18 18:13 ` Jonathan Nieder
2010-10-18 18:20 ` Sverre Rabbelier
2010-10-18 18:25 ` Jonathan Nieder
2010-10-18 18:35 ` Sverre Rabbelier
2010-10-18 19:33 ` Jonathan Nieder
2010-10-19 3:08 ` Ramkumar Ramachandra
2010-10-19 0:40 ` Stephen Bash
2010-10-19 1:42 ` Stephen Bash
2010-10-19 6:42 ` Ramkumar Ramachandra
2010-10-19 13:33 ` Stephen Bash
2010-10-19 14:28 ` David Michael Barr
2010-10-19 14:57 ` Stephen Bash
2010-10-20 8:39 ` Will Palmer
2010-10-20 11:59 ` Jakub Narebski
2010-10-20 13:42 ` Will Palmer
2010-10-20 20:44 ` Jakub Narebski
2010-10-21 1:54 ` mrevilgnome
2010-10-21 8:16 ` Jakub Narebski
2010-10-21 13:49 ` Stephen Bash
2010-10-21 9:08 ` Will Palmer
2010-10-21 14:00 ` Stephen Bash
2010-10-21 18:37 ` Jakub Narebski
2010-10-21 21:27 ` Stephen Bash
2010-10-21 22:49 ` Jakub Narebski
2010-10-21 23:26 ` Stephen Bash
2010-10-22 10:38 ` Jakub Narebski
2010-10-21 15:52 ` Jakub Narebski
2010-10-21 16:16 ` Jonathan Nieder
2010-10-20 14:05 ` Ramkumar Ramachandra
2010-10-20 14:21 ` Stephen Bash
2010-10-20 16:56 ` Ramkumar Ramachandra
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=20101018073102.GA3979@burratino \
--to=jrnieder@gmail.com \
--cc=artagnon@gmail.com \
--cc=bash@genarts.com \
--cc=david.barr@cordelta.com \
--cc=git@vger.kernel.org \
--cc=mstump@goatyak.com \
--cc=srabbelier@gmail.com \
--cc=tom@dbservice.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).