git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git fast-import/fast-export
@ 2010-03-06 15:02 Sverre Rabbelier
  2010-03-06 15:29 ` Johannes Schindelin
  2010-03-06 19:02 ` Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Sverre Rabbelier @ 2010-03-06 15:02 UTC (permalink / raw)
  To: Shawn O. Pearce, Junio C Hamano, Pierre Habouzit, Elijah Newren,
	Johannes Schindelin <Johannes.Sc
  Cc: Eric Wong, Git List

Heya,

As you can read on the wiki [0] I am hoping to mentor a GSoC student
this year to work on git-remote-svn, a remote-helper for svn
implemented in C. If successful git will be able to work natively with
svn repositories, no offense to Eric, but git-svn is a tad sub-optimal
;). To do this I think the best way to go forward is to implement the
helper by hooking up a fast-import/fast-export frontend to libsvn.
Since it will be implemented in C (partially for speed, but also so
that it will be usable on Windows as well), the current fast-import.c
and builtin-fast-export.c could be of great use. Neither files have an
explicit license, (although builtin-fast-import.c says copyright by
Dscho) which puts them under the GPLv2. The libsvn bindings are apache
licensed, so we need something licensed either under the apache
license, or something compatible with that.

So my question, would it be possible to relicense fast-import.c and
builtin-fast-export.c under "GPLv2 or later" instead of the current
"GPLv2"? That way we can use (parts of) the code in the svn helper,
which will (probably) be licensed as "GPLv2 or later" as well.

[0] http://git.wiki.kernel.org/index.php/SoC2010Ideas#A_remote_helper_for_svn

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import/fast-export
  2010-03-06 15:02 git fast-import/fast-export Sverre Rabbelier
@ 2010-03-06 15:29 ` Johannes Schindelin
  2010-03-06 19:02 ` Junio C Hamano
  1 sibling, 0 replies; 6+ messages in thread
From: Johannes Schindelin @ 2010-03-06 15:29 UTC (permalink / raw)
  To: Sverre Rabbelier
  Cc: Shawn O. Pearce, Junio C Hamano, Pierre Habouzit, Elijah Newren,
	Nicolas Pitre, Alex Riesen, Eric Wong, Git List

Hi,

On Sat, 6 Mar 2010, Sverre Rabbelier wrote:

> As you can read on the wiki [0] I am hoping to mentor a GSoC student 
> this year to work on git-remote-svn, a remote-helper for svn implemented 
> in C. If successful git will be able to work natively with svn 
> repositories, no offense to Eric, but git-svn is a tad sub-optimal ;). 
> To do this I think the best way to go forward is to implement the helper 
> by hooking up a fast-import/fast-export frontend to libsvn. Since it 
> will be implemented in C (partially for speed, but also so that it will 
> be usable on Windows as well), the current fast-import.c and 
> builtin-fast-export.c could be of great use. Neither files have an 
> explicit license, (although builtin-fast-import.c says copyright by 
> Dscho) which puts them under the GPLv2. The libsvn bindings are apache 
> licensed, so we need something licensed either under the apache license, 
> or something compatible with that.
> 
> So my question, would it be possible to relicense fast-import.c and 
> builtin-fast-export.c under "GPLv2 or later" instead of the current 
> "GPLv2"? That way we can use (parts of) the code in the svn helper, 
> which will (probably) be licensed as "GPLv2 or later" as well.

Sure, as far as my parts go, I am fine even with BSD.

Unfortunately, git shortlog shows 18 different authors for fast-export, 
and blame still shows 17 surviving. I fear you have to ask them all.

The situation is worse with fast-import, with 40 and 36 authors, 
respectively.

Ciao,

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import/fast-export
  2010-03-06 15:02 git fast-import/fast-export Sverre Rabbelier
  2010-03-06 15:29 ` Johannes Schindelin
@ 2010-03-06 19:02 ` Junio C Hamano
  2010-03-06 19:05   ` Sverre Rabbelier
  1 sibling, 1 reply; 6+ messages in thread
From: Junio C Hamano @ 2010-03-06 19:02 UTC (permalink / raw)
  To: Sverre Rabbelier
  Cc: Shawn O. Pearce, Pierre Habouzit, Elijah Newren,
	Johannes Schindelin, Nicolas Pitre, Alex Riesen, Eric Wong,
	Git List

Sverre Rabbelier <srabbelier@gmail.com> writes:

> ;). To do this I think the best way to go forward is to implement the
> helper by hooking up a fast-import/fast-export frontend to libsvn.

Isn't fast-import designed to be used as a downstream side of a pipe that
is fed by an independent program you write (and may link with libsvn)?  It
wouldn't care what license that data producer program is distributed under.

On the fast-export side the issue should ideally be the same.  Your new
program that may link with libsvn reads from the datastream that comes
from the git repository via pipe as an independent process to propagate
the changes to the subversion side.

You may need to have/keep additional info on commits for roundtrip, but
that is between the part of your program that feeds fast-import and the
other part of your program that consumes the output from fast-export.
fast-import may need to be told to export mark, and you pick them up to
see what commits resulted on the git side from what you fed it, and later
use that information when reading from fast-export to propagate new things
back to subversion side.  No?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import/fast-export
  2010-03-06 19:02 ` Junio C Hamano
@ 2010-03-06 19:05   ` Sverre Rabbelier
  2010-03-06 21:43     ` Shawn O. Pearce
  0 siblings, 1 reply; 6+ messages in thread
From: Sverre Rabbelier @ 2010-03-06 19:05 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: Shawn O. Pearce, Pierre Habouzit, Elijah Newren,
	Johannes Schindelin, Nicolas Pitre, Alex Riesen, Eric Wong,
	Git List

Heya,

On Sat, Mar 6, 2010 at 20:02, Junio C Hamano <gitster@pobox.com> wrote:
> Isn't fast-import designed to be used as a downstream side of a pipe that
> is fed by an independent program you write (and may link with libsvn)?  It
> wouldn't care what license that data producer program is distributed under.

Yes, I'm not worried about using the 'git-fast-import' or the
'git-fast-export' binary, I want to use-and-modify the parsing code to
work as a fast-import/fast-export frontend to svn _on top_ of using
those binaries..

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import/fast-export
  2010-03-06 19:05   ` Sverre Rabbelier
@ 2010-03-06 21:43     ` Shawn O. Pearce
  2010-03-06 21:45       ` Sverre Rabbelier
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn O. Pearce @ 2010-03-06 21:43 UTC (permalink / raw)
  To: Sverre Rabbelier
  Cc: Junio C Hamano, Pierre Habouzit, Elijah Newren,
	Johannes Schindelin, Nicolas Pitre, Alex Riesen, Eric Wong,
	Git List

Sverre Rabbelier <srabbelier@gmail.com> wrote:
> On Sat, Mar 6, 2010 at 20:02, Junio C Hamano <gitster@pobox.com> wrote:
> > Isn't fast-import designed to be used as a downstream side of a pipe that
> > is fed by an independent program you write (and may link with libsvn)? ?It
> > wouldn't care what license that data producer program is distributed under.
> 
> Yes, I'm not worried about using the 'git-fast-import' or the
> 'git-fast-export' binary, I want to use-and-modify the parsing code to
> work as a fast-import/fast-export frontend to svn _on top_ of using
> those binaries..

Oh.  Yuck.

I guess I can give my blessing to relicense anything in fast-import
that I've written from GPLv2 to GPLv2 or v3.  But as Dscho points
out, there are many authors in even the parsing code.  You will
need to get consent from all of them.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import/fast-export
  2010-03-06 21:43     ` Shawn O. Pearce
@ 2010-03-06 21:45       ` Sverre Rabbelier
  0 siblings, 0 replies; 6+ messages in thread
From: Sverre Rabbelier @ 2010-03-06 21:45 UTC (permalink / raw)
  To: Shawn O. Pearce
  Cc: Junio C Hamano, Pierre Habouzit, Elijah Newren,
	Johannes Schindelin, Nicolas Pitre, Alex Riesen, Eric Wong,
	Git List

Heya,

On Sat, Mar 6, 2010 at 22:43, Shawn O. Pearce <spearce@spearce.org> wrote:
> Oh.  Yuck.

Why is that a bad idea?

> I guess I can give my blessing to relicense anything in fast-import
> that I've written from GPLv2 to GPLv2 or v3.

Ok, if nothing else we can use one of the earlier versions ;).

> But as Dscho points
> out, there are many authors in even the parsing code.  You will
> need to get consent from all of them.

Right, I figured I'd first get an OK from the top N before spamming 40
people :).

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-06 21:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06 15:02 git fast-import/fast-export Sverre Rabbelier
2010-03-06 15:29 ` Johannes Schindelin
2010-03-06 19:02 ` Junio C Hamano
2010-03-06 19:05   ` Sverre Rabbelier
2010-03-06 21:43     ` Shawn O. Pearce
2010-03-06 21:45       ` Sverre Rabbelier

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).