git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] "Remote helper for Subversion" project

From
David Barr <davidbarr@google.com>
Date
Mar 4, 2012, 10:37 UTC
Message-ID
<CAFfmPPPs0FRbT-i+ZwBLNSca330Eo7thjNxDt3hJf0yUATthtQ@mail.gmail.com>
In-Reply-To
<20120304075424.GI14725@burratino>
On Sun, Mar 4, 2012 at 6:54 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 23 quoted lines
> David Barr wrote:
>> On Sat, Mar 3, 2012 at 11:27 PM, David Barr <davidbarr@google.com> wrote:
>
>>> --- a/SoC-2012-Ideas.md
>>> +++ b/SoC-2012-Ideas.md
>>> @@ -182,3 +182,29 @@ this project.
>>>
>>>  Proposed by: Thomas Rast
>>>  Possible mentor(s): Thomas Rast
>>> +
>>> +Remote helper for Subversion
>>> +------------------------------------
>>> +
>>> +Write a remote helper for Subversion. While a lot of the underlying
>>> +infrastructure work was completed last year, the remote helper itself
>>> +is essentially incomplete. Major work includes:
>
> By the way, didn't we have a remote-svn prototype?  I'm happy to merge
> any old hacky thing for staging in contrib/svn-fe, as long as it is
> not documented in a misleading way.
>
> (More generally, if anyone wants to resend useful svn-fe patches, that
> will help a lot.)

Found at former SoC2011Projects wiki page: (http://git.wiki.kernel.org/articles/s/o/c/SoC2011Projects_b1f9.html#Remote_helper_for_Subversion_and_git-svn) [vcs-svn, svn-fe: add a couple of options](http://thread.gmane.org/gmane.comp.version-control.git/176578) [remote-svn-alpha updates](http://thread.gmane.org/gmane.comp.version-control.git/176617)

The introduction should be rephrased to include Dmitry's progression.
Show 5 quoted lines
>>> +* Understanding revision mapping and building a revision-commit mapper.
>
> Does this mean creating commit notes to record which subversion rev
> corresponds to each commit, and marks or lightweight tags going the
> other way?

Yes. I think once again, Dmitry produced a good prototype for this component. However, I think it also potentially incorporates git-svn style slicing of history. That's a significant chunk of work.

>>> +* Working through transport and fast-import related plumbing, changing
>>> +  whatever is necessary.
>
> I think Dmitry and Sverre took care of most of this.
Ditto.
Show 7 quoted lines
>>> +* Getting an Git-to-SVN converter merged.
>
> Probably could fill a summer in itself.  In previous starts I think
> there was some complexity creep. :/
>
>  http://thread.gmane.org/gmane.comp.version-control.git/170290
>  http://thread.gmane.org/gmane.comp.version-control.git/170551
This is my preferred focus, and is a sufficient project in its own right.
Show 7 quoted lines
>>> +* Building the remote helper itself.
>>> +
>>> +Goal: Build a full-featured bi-directional `git-remote-svn` and get it
>>> +      merged into upstream Git.
>
> Sure would be neat. ;-)  Another nice piece to build would be branch
> tracking / follow_parent heuristics.

As noted earlier, the remote helper itself is now half-complete. I do think the immediate goal should be bi-direction. The remainder is porting git-svn logic to the new helper. However, it would be interesting to see what's missing with respect to porting

-- David Barr

Previous: Jonathan NiederNext: Andrew Sayers
Message 4 of 22 in “[RFC] "Remote helper for Subversion" project”
  1. David BarrMar 3, 2012
  2. David BarrMar 3, 2012
  3. Jonathan NiederMar 4, 2012
  4. David BarrMar 4, 2012
  5. Andrew SayersMar 4, 2012
  6. Approaches to SVN to Git conversion (was: Re: [RFC] "Remote helper for Subversion" project)Stephen Bash, Mar 5, 2012
  7. Andrew SayersMar 5, 2012
  8. Stephen BashMar 6, 2012
  9. Nathan GrayMar 6, 2012
  10. Stephen BashMar 6, 2012
  11. Sam VilainMar 6, 2012
  12. Andrew SayersMar 7, 2012
  13. Sam VilainMar 7, 2012
  14. Andrew SayersMar 8, 2012
  15. Andrew SayersMar 6, 2012
  16. Sam VilainMar 7, 2012
  17. Andrew SayersMar 7, 2012
  18. Phil HordMar 7, 2012
  19. Nathan GrayMar 7, 2012
  20. Andrew SayersMar 7, 2012
  21. Jonathan NiederMar 4, 2012
  22. Ramkumar RamachandraMar 27, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.