News for hackers. Stuff that matters.
Re:Why SQLite Does Not Use Git by tetha on Tuesday April 10, 2018 @06:48PM (#16806320)
What the hell, speaking against git makes you a hipster now? I was called a hipster for proposing git over CSV and SVC.
Re:Why SQLite Does Not Use Git by ben509 on Tuesday April 10, 2018 @08:41PM (#16807073)
If you were promoting git back in the days of SVN and are now moving on to something else because git is too popular, just cop to it, you're a hipster. :-P
Re:Why SQLite Does Not Use Git by adamcw on Tuesday April 10, 2018 @07:04PM (#16806438)
As I'm not familiar with those, I have to ask: did you mean CVS and SVN?
Re:Why SQLite Does Not Use Git by tetha on Tuesday April 10, 2018 @07:11PM (#16806497)
Ack. I'm damn sorry, I just had a fully botched prod-update from hell and I'm on tilt.

Yes. CVS and SVN. The old and ugly ones.

Re:Why SQLite Does Not Use Git by hermitdev on Tuesday April 10, 2018 @08:06PM (#16806895)
You want old, ugly, slow, pain-in-the-ass and proprietary,? Try ClearCase. Expensive. Drain on productivity (all commits were individual file based, meaning it was extraordinarily easy to miss a change; also had no concept of an ignore, so really easy to miss adding a new file). Also, very. fucking. slow. A moderately sized project (or VOB in clearcase terminology) could take an hour to update. I've probably lost a year of my life waiting for clearcase to complete. Also, it had a habit of just royally fucking up even trivial merges (dropping braces in C++ code, for example, or ignoring whitespace changes in python code for another).
Re:Why SQLite Does Not Use Git by lokedhs on Tuesday April 10, 2018 @09:33PM (#16807314)
I've never used Clearcase, but I worked for Sun around 2000 and one of the things I did was analysing kernel dumps of Solaris.

If we saw the Clearcase kernel module you can be sure that that was going to be the root cause of the crash. That thing seemed to really terrible, and it wouldn't surprise me if the rest of the product was as bad.

I don't know if things have changed now, but to use Clearcase you needed a kernel module that provided a special filesystem that you did your work against.

Re:Why SQLite Does Not Use Git by andrewflnr on Tuesday April 10, 2018 @10:40PM (#16807616)
> to use Clearcase you needed a kernel module that provided a special filesystem that you did your work against.

That... Augh, that's actually kind of a good idea, even if it was before its time. But FFS...

Re:Why SQLite Does Not Use Git by lokedhs on Tuesday April 10, 2018 @10:51PM (#16807659)
The idea is not terrible, but when the kernel module is so unstable it brings down the build machines with a kernel panic, I'd say the execution was somewhat lacking.
Re:Why SQLite Does Not Use Git by trentnelson on Wednesday April 11, 2018 @09:35AM (#16810905)
Re:Why SQLite Does Not Use Git by gumby on Tuesday April 10, 2018 @10:23PM (#16807545)
> CVS and SVN. The old and ugly ones.

In their respective times they were a big improvement. I believe CVS was the first client/server revision control system (why that feature was added was a horror story)

Re:Why SQLite Does Not Use Git by ams6110 on Wednesday April 11, 2018 @01:16AM (#16808256)
Never had a problem with SVN personally either. OpenBSD still uses CVS, for an entire operating system.

Which version control you use matters a lot less than having a sane development process.

Re:Why SQLite Does Not Use Git by stevekemp on Wednesday April 11, 2018 @01:57AM (#16808415)
Very much so. I remember jumping from RCS to CVS and it was a very positive change.

(RCS only worked on single files, moving to CVS allowed you to maintain a tree. Before RCS I was using SCCS!)

Re:Why SQLite Does Not Use Git by adamcw on Tuesday April 10, 2018 @07:20PM (#16806572)
Hahah. Nothing to be sorry for, I was just curious. There are enough source systems out there, I wouldn't be surprised if they were a few I hadn't heard of.
Re:Why SQLite Does Not Use Git by dunham on Tuesday April 10, 2018 @10:51PM (#16807658)
See also RCS - the revision control system you discover when you mistype vi. (This frequently happened to people at school back in the SunOS/Solaris days.)
Re:Why SQLite Does Not Use Git by notyourwork on Tuesday April 10, 2018 @07:07PM (#16806462)
10 years ago?
Re:Why SQLite Does Not Use Git by JauntyHatAngle on Tuesday April 10, 2018 @08:39PM (#16807067)
I worked at a pretty well regarded and reputable organisation that still used SVN. (Pretty sure they still do).

If not for my yammering there wouldn't be any git in use by any team there. (Only a year ago)

All the code progressed fine. git would still have improved it but nobody had bothered to switch yet.

Re:Why SQLite Does Not Use Git by sixothree on Tuesday April 10, 2018 @10:58PM (#16807690)
We still use SVN (but tfs git for greenfield projects). We are a small company and only 2 or 3 devs work on the same project at a time. Git itself doesn't solve any problems we have. We still deal with merges when someone goes nuts refactoring.
Re:Why SQLite Does Not Use Git by petre on Wednesday April 11, 2018 @03:06AM (#16808735)
Fossil is a great replacement for that kind of use case. You can fully convert a git or a svn repository with fossil import, so migration is painless. It's also painless for users since fossil is very easy to pick up compared to git and the basic commands are quite similar to svn. Branching and merging is a breeze compared to svn, quite like git but easier. It's also nice for companies that want everything in one place, since all developer repos sync with a central repo by default. It's also distributed in the sense that everything gets replicated to every repo that's in sync with the central repo (it does this automatically at fossil update or fossil sync) contains the full project history.
Re:Why SQLite Does Not Use Git by mb_72 on Tuesday April 10, 2018 @09:36PM (#16807326)
As a mostly solo developer I haven't found a need to switch away from SVN to git or anything else; doing so would involve work I can't bill for and for no benefit to myself or existing clients. Some things in software and life in general are Fine Just As They Are.
Re:Why SQLite Does Not Use Git by dragonshed on Tuesday April 10, 2018 @10:24PM (#16807554)
I also did this until the day came when I wanted to branch and someone showed me how easy it was in git.

I still use SVN from time to time with my old repos, but if given an opening, I migrate it to git without hesitation.

Re:Why SQLite Does Not Use Git by sjellis on Wednesday April 11, 2018 @03:58AM (#16808954)
"I also did this until the day came when I wanted to branch and someone showed me how easy it was in git."

Git is an incredibly powerful tool for managing a set of files over time, but if you just use the handful of basic commands, then I agree that the immediate big win is branching.

Personally, I found that moving from Subversion to Git fundamentally changed my work habits (for the better). I was a lone developer at the time, so the collaboration aspect wasn't really important.

I noticed that Git made it so easy to create a repository that I put everything into version control: not just application code, but random scripts and notes.

The other gain was that I learned to work in small, focused commits, because Git is so fast that commiting often is not a burden. Once I made that change, the commit history became meaningful and useful in a way that that Subversion never was: I could quickly revert code, and look back at individual commits for information.

Re:Why SQLite Does Not Use Git by pdfernhout on Wednesday April 11, 2018 @10:56AM (#16811669)
"The other gain was that I learned to work in small, focused commits"

This!

Re:Why SQLite Does Not Use Git by astura on Wednesday April 11, 2018 @12:47PM (#16812980)
This is surprising?

My company uses SVN. SVN works fine so there isn't really a reason to spend the man hours migrating a crap ton of projects to to Git. Before SVN existed we used CVS and we migrated to SVN from CVS about, idk, 15-ish years ago?

Re:Why SQLite Does Not Use Git by JauntyHatAngle on Wednesday April 11, 2018 @07:39PM (#16816799)
Yes, there are people who are surprised that many have the opinion that SVN is fine for a lot of projects and you don't need to migrate for the sake of it.

That's more or less what I was getting at.

Re:Why SQLite Does Not Use Git by tetha on Tuesday April 10, 2018 @07:13PM (#16806510)
More like 5 - 6 years ago.

So, not recent. But version control is one of the few infrastructural components that's allowed to have decades of churn, in my book. Software lives that long.