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

Re: GSOC Proposal draft: git-remote-svn

From
Florian Achleitner <florian.achleitner2.6.31@gmail.com>
Date
Apr 3, 2012, 07:49 UTC
Message-ID
<2576556.3d3popQR3z@flomedio>
In-Reply-To
<20120402205659.GA13725@burratino>
Hi!

I'm curiously watching the discussion I kicked off with my proposal. Before refining the proposal I think I will let the discussion continue at the moment. But just to clarify some things: You know I'm rather new to this topic. I've used svn and git, I know what git plumbing is about, but I haven't used plumbing commands to write something into git yet. So I can't tell from experience if it would be good or not, compared to fast-import. So please explain what's the advantage/disadvantage of which design decision. That makes it easier to get the point.

I'm also not yet familiar with svn's internals and what properties they use for what. So there are several questions I simply don't have an answer for. I know that you have discussed several issues in a huge lot of mails on this list. I'm watching and learning currently.

Jonathan wrote about a script "floating around". What's that? Is it somewhere in a tree in some repo, is at a patch somewhere in a mail on the list, is it in git.git in some branch?? How does one find catch floating scripts?

And two clarifications about what I meant in the proposal:
On Monday 02 April 2012 16:30:14 Ramkumar Ramachandra wrote:
> Are you planning to extend svn-fe to do the mapping, write it as a
> separate program, or write it into the remote helper? I personally
> don't mind if the mapping is done in Perl (like in git-svn or SBL) as
> opposed to C; mapping is just parse-intensive.

I personally don't like Perl. :p (I would use python if i need a scripting language). As far as I've seen, svn-fe is a 5-liner calling functions in vcs-svn/. So I thought there is no point of piping something through svn-fe in the remote- helper. I thought I would use those functions like svn-fe does. I thought about vcs-svn/ being a library for svn interaction that the remote- helper, and svn-fe, and svn-fi (?) are using.

On Monday 02 April 2012 15:57:00 Jonathan Nieder wrote:
Show 6 quoted lines
> Florian Achleitner wrote:
> Because of the above:
> > 1. Write a new bi-directional remote helper in C.
> 
> The word "new" makes me worried that you'd be throwing away whatever
> work already exists. :)

Probably I missed something. But all I've seen that is directly a remote-helper is a bash script which basically calls a pipeline from svnrdump | svn-fe | fast-import [2]. I'm not planning to write a longer program in bash. (I personally use bash only for things that fit on one terminal height).

Bash and Perl are not my favourites ;)

[1] https://github.com/divanorama/git/blob/remote-svn-alpha_v2/contrib/svn- fe/git-remote-svn-alpha

Cheers, Florian

Previous: Jonathan NiederNext: Jonathan Nieder
Message 12 of 46 in “GSoC intro”
  1. Florian AchleitnerMar 19, 2012
  2. Andrew SayersMar 19, 2012
  3. Florian AchleitnerMar 20, 2012
  4. David BarrMar 20, 2012
  5. Florian AchleitnerMar 21, 2012
  6. Ramkumar RamachandraMar 26, 2012
  7. Florian AchleitnerMar 27, 2012
  8. GSOC Proposal draft: git-remote-svnFlorian Achleitner, Apr 2, 2012
  9. Ramkumar RamachandraApr 2, 2012
  10. Jonathan NiederApr 2, 2012
  11. Jonathan NiederApr 2, 2012
  12. Florian AchleitnerApr 3, 2012
  13. Jonathan NiederApr 3, 2012
  14. Tomas CarneckyApr 5, 2012
  15. Andrew SayersApr 2, 2012
  16. Jonathan NiederApr 2, 2012
  17. Andrew SayersApr 2, 2012
  18. Jonathan NiederApr 3, 2012
  19. Andrew SayersApr 3, 2012
  20. Jonathan NiederApr 3, 2012
  21. Florian AchleitnerApr 5, 2012
  22. Dmitry IvankovApr 5, 2012
  23. Stephen BashApr 9, 2012
  24. Jonathan NiederApr 10, 2012
  25. Andrew SayersApr 10, 2012
  26. Jonathan NiederApr 10, 2012
  27. Florian AchleitnerApr 11, 2012
  28. Andrew SayersApr 14, 2012
  29. Jakub NarebskiApr 11, 2012
  30. Jonathan NiederApr 11, 2012
  31. Florian AchleitnerApr 11, 2012
  32. Dmitry IvankovApr 11, 2012
  33. Jonathan NiederApr 11, 2012
  34. Andrew SayersApr 11, 2012
  35. Thomas RastApr 12, 2012
  36. Florian AchleitnerApr 12, 2012
  37. Andrew SayersApr 12, 2012
  38. Florian AchleitnerApr 14, 2012
  39. Andrew SayersApr 14, 2012
  40. Stephen BashApr 15, 2012
  41. Jonathan NiederApr 13, 2012
  42. Florian AchleitnerApr 14, 2012
  43. Florian AchleitnerApr 18, 2012
  44. Florian AchleitnerApr 19, 2012
  45. Miles BaderMar 28, 2012
  46. Dmitry IvankovMar 28, 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.