public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Axel Neumann <neumann@cgws.de>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] New BMX website at www.bmx6.net
Date: Mon, 20 Dec 2010 21:31:52 +0100	[thread overview]
Message-ID: <201012202131.53928.sven@narfation.org> (raw)
In-Reply-To: <201012201909.53042.neumann@cgws.de>

[-- Attachment #1: Type: Text/Plain, Size: 1664 bytes --]

Axel Neumann wrote:
> On Montag 20 Dezember 2010, you wrote:
> > Please take a look at git://git.open-mesh.org/ecsv/test/bmx.git
> > I don't say that it is the holy grail of svn-to-git conversation, but I
> > think it could be a better conversation than your bmxd.git
> 
> I am kind of git newbie. You are right and I see what you mean. Finally I
> decided to simply fetch the bmx-0.3.x branch from the repository you
> mentioned and offer it as a bare master branch at
> git://git.bmx6.net/bmxd.git .
> 
> Is there a one line command you used to create this? Essentially I used:
> git svn init http://downloads.open-mesh.org/svn/batman/trunk/batman-
> experimental/
> to create my former repository but obviously this missed some initial
> commits, full names,...:-(

No, not really. I tried different things in the past, but none was really able 
to create an useful export. For example the batman-adv repo was created using 
following command:

$ git svn clone --minimize-url --follow-parent --use-log-author -A \
  /home/batman/batman-adv-sync/batman-svn-git-sync/.git/AUTHORS \
  --no-metadata http://downloads.open-mesh.org/svn/batman/trunk/batman-adv/

But your history is a little bit more complex. For example git-svn will not 
resolve the symbolic links - but also svn-all-fast-export wasn't able to 
export all those things correctly when I tried it. My solution was to write a 
simple exporter with a static mapping [1] which was optimized for the needs of 
open-mesh.org. It is a little bit hacky, but at least it solved all problems 
quite well.

Best regards,
	Sven

[1] http://gitorious.org/git-conversation-svn

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2010-12-20 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18 17:01 [B.A.T.M.A.N.] New BMX website at www.bmx6.net Axel Neumann
2010-12-19  9:09 ` Sven Eckelmann
     [not found]   ` <201012201245.16891.neumann@cgws.de>
2010-12-20 12:17     ` Sven Eckelmann
2010-12-20 19:35       ` Axel Neumann
     [not found]       ` <201012201909.53042.neumann@cgws.de>
2010-12-20 20:31         ` Sven Eckelmann [this message]
2011-03-07 10:26       ` Sven Eckelmann
2011-03-15 23:14         ` Axel Neumann

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=201012202131.53928.sven@narfation.org \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=neumann@cgws.de \
    /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