this post was submitted on 17 Nov 2024
36 points (97.4% liked)

Open Source

31325 readers
634 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Simple Bash script to convert local SVN (Subversion) repositories to local Git repositories!

Source https://github.com/Rikj000/SVN-to-Git-convert#svn-to-git-convert

License GPLv3

top 13 comments
sorted by: hot top controversial new old
[–] dariusj18@lemmy.world 11 points 4 days ago (1 children)

Doesn't git have builtin svn repo conversion?

[–] Rikj000@discuss.tchncs.de 2 points 4 days ago

Yes, the script uses git svn under the hood,
however it simplifies the process of a fair amount of steps,
to just x1 easy CLI command with an in/output parameter.

[–] original_reader@lemm.ee 6 points 4 days ago (2 children)
[–] thingsiplay@beehaw.org 8 points 3 days ago (4 children)

Why would you want do that?

[–] itslilith@lemmy.blahaj.zone 6 points 3 days ago (1 children)

To test that SVN -> GIT works?

[–] thingsiplay@beehaw.org 4 points 3 days ago (1 children)

Actually pretty good reason.

[–] itslilith@lemmy.blahaj.zone 1 points 3 days ago (1 children)
[–] ReversalHatchery@beehaw.org 1 points 3 days ago (1 children)
[–] Rogue 1 points 1 day ago

Because developing a tool solely for a roundtrip test is probably a waste of time. Perhaps it's an easier exercise than I think but I would have thought you could manually test it far quicker and more thoroughly than by automating the process

[–] corsicanguppy@lemmy.ca 3 points 3 days ago

I'm using RCS for a particular project. It's the best fit for the project.

[–] original_reader@lemm.ee 2 points 3 days ago* (last edited 3 days ago)

Thank you for asking.

In my particular use case we need strict access control.

Really depends on the situation.

More reading if you really want to know: https://www.theknowledgeacademy.com/blog/svn-vs-git/ https://www.linode.com/docs/guides/svn-vs-git/

[–] deadbeef79000@lemmy.nz 2 points 3 days ago

I mean, the why is obvious. Whether anyone should do it is the real question ;-)

[–] Rikj000@discuss.tchncs.de 5 points 4 days ago

Nope, only SVN => Git