Re:GitHub Sunsetting Subversion Support
by histriosum on Friday January 20, 2023 @03:00PM
(#34458955)
I use Subversion at my gig in several places. I don't use it to manage source code revision control, but I have several processes that require business users to manage binary files (such as audio files) in order for them to be automatically deployed to production. Git or Mercurial are pretty awful at this kind of role. Subversion let's me check out at a subfolder level of a repository, and not pay the cost of having the full revision history contents sitting in my clone.
[ Parent
| on HN ]
Re:GitHub Sunsetting Subversion Support
by mananaysiempre on Friday January 20, 2023 @03:30PM
(#34459432)
Core Git is not the greatest at large binaries, so for that you indeed probably want an addon like git-annex or Git LFS or an alternative such as dvc, but in recent versions it absolutely can[1] only give you only a part of the objects or a part of the history: the former is known as “partial clones” (there are also “sparse checkouts”[2], but those only concern the working tree IIUC), the latter as “shallow clones”.
[1] https://github.blog/2020-12-21-get-up-to-speed-with-partial-...
[2] https://github.blog/2020-01-17-bring-your-monorepo-down-to-s...
Git is much better at it nowadays thanks to Git LFS which just stores the blobs.
in exchange for yet another set of things to worry about to explain to/debug for non-technical users.
I don't think the intended audience for Git LFS is non-technical users.
Then why do you mention it in response to someone describing their use of SVN because it's better for non-technical users?
Similarly, we used to use SVN for a mechanical engineering team doing CAD models. SVN supported a reserved checkout mode (I guess SVN calls it "locking") which meant only 1 person could check out a file at a time. Perfect for non-mergeable binary files, and with TortoiseSVN it was easy for non-SW engineers to use.
That's one thing I doubt Git will ever be able to do since it is a distributed model rather than server-based.
Re:GitHub Sunsetting Subversion Support
by johnwalkr on Friday January 20, 2023 @07:20PM
(#34462231)
It does? That’s a requirement for version control for cad I think (just wrote a huge comment yesterday in here about it). I might actually try to use svn in 2023.
Re:GitHub Sunsetting Subversion Support
by P_I_Staker on Monday January 23, 2023 @08:58AM
(#34488756)
If you're using lfs for cad, it has file locking
Re:GitHub Sunsetting Subversion Support
by P_I_Staker on Monday January 23, 2023 @08:58AM
(#34488752)
File locking exists for LFS, which you could argue is the main place you'd need it... if you want to "lock down" other files, there's ways to handle that in the process, eg. pull requests
Been working on a version control system to solve this large binary file problem as well.
It's called Oxen and is initially targeted towards unstructured machine learning datasets, but could be good for this use case as well. Would love to get any feedback on it!