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

Re: [spf:guess,iffy] Re: [spf:guess] Re: Approaches to SVN to Git conversion (was: Re: [RFC] "Remote helper for Subversion" project)

From
ASAndrew Sayers <andrew-git@pileofstuff.org>
Date
Mar 8, 2012, 20:51 UTC
Message-ID
<4F591BE0.4070709@pileofstuff.org>
In-Reply-To
<4F57EC04.8060705@vilain.net>

Thanks - this has really helped my thoughts to crystalise. Here's my plan at this point:

1. Create an "SVN History description" project

This will build on the ASCII format I've been proposing so far. The goal will be to produce a human- and machine-readable format that describes SVN history in terms of an idealised version control system; and to produce a set of tests that any SVN history exporter can use as a testing framework.

2. Create an SVN history exporter

This will build on the svn-branch-export.pl script I previously made available. That script ran in exactly two passes ("configure" and "make") which wrote pointlessly different file formats. The new script will accept an SVN history file as input and create another SVN history file as output, allowing users to iteratively improve the file as Sam described.

3. Create an SVN history importer for git

This will resemble the git-branch-import.pl script I previously made available, but written in C based on the final SVN history format. This thread has convinced me this would be a nice little SoC project, and I'll propose it in another thread if I've got project 1 to a reasonable state before it's too late. Failing that, and if nobody else wants to take this project, I'll have a go myself some day when project 2 is approaching completion.

My next step will be to write up the SVN history work thrown up by this thread. I'll come back to the list for advice when I've got something presentable.

	- Andrew
Previous: Sam VilainNext: Andrew Sayers
Message 14 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.