Source Control from Hell

67 points - yesterday at 10:06 PM

Source

Comments

jimbobimbo yesterday at 11:28 PM
I think it was the rite of passage in early 2000s to join a company and drive the migration from something like Visual SourceSafe to Subversion and establish a semblance of CI with Jenkins and whatnot.
hankbond today at 2:19 AM
As someone that started around 2012-2014 I have only ever known Git. I try not to think too hard about a life without formal version control because I find it too stressful.
temporallobe today at 12:53 AM
I’ve been through quite a few in my career: CVS, Subversion, SCCS, VSS, PVCS, and going way back, ClearCase. None are perfect, but anything is better than a folder-based system. I even wrote a prototype of my own system, also bases on folders, and it sucked. As complex and annoying as Git can be, there’s a damn good reason it’s pretty much the universal standard and I am thankful we landed on it.
ChrisMarshallNY yesterday at 10:37 PM
Our Japanese factory used to remove hard disks from the build machines (OS, build environment, etc.) and store them in a locked room.

They were still using Perforce, when I left, in 2017.

anonzzzies today at 12:08 AM
Mostly people who used Windows/DOS had that experience. I started on CVS the first job (on a Unix machine) I had begin 90s. I had to work with visual sourcesafe once and yeah, it was a joke. I worked with many companies (all Windows and indeed some Delphi projects) which had a similar or worse 'versioning' (zips with datetime etc) and all got them on cvs. Which sometimes was a bit of a pain as we had to get a unix/linux machine on/offsite for that until later. If companies did not want to use it, our team used it and used bash scripts to generate their weirdness for us end of day.
pronik yesterday at 11:21 PM
It's funny how you can pinpoint the location of the story to somewhere in the former Soviet Union just by FAR Manager being used by everyone. Good memories of simpler times.
deepsun yesterday at 11:35 PM
> Then in 2009 I found git.

Well, CVS was around since 1986, surprising author never tried it. It was much better than their shared folder (it was literally created in response to shared folders).

grandfunction yesterday at 10:46 PM
Should've started with subversion. Much more palatable than git for an organisation in that state, at that time.

I too started at a place with "copy folders", then sccs, then RCS, then CVS, then SVN, finally git. Git still hurts my brain sometimes

comrade1234 yesterday at 11:23 PM
I worked at the beginning of my career in amateur environments, mostly university based, and it was never that bad. We always had some form of source code control. Doing a quick google search and source code control had been around since 1962.
thecatapps today at 2:33 AM
But Tom is a genius!
camtarn yesterday at 11:33 PM
I am currently working on a project using an industrial product with a source control method from a different plane of hell.

From the outside it actually looks well designed. Each file is versioned, versions have comments, and you can even Confirm versions to e.g. say that you have tested them and approved them for deploy. And the system keeps track of which version of each file is live on the running site.

The difficulty comes when you realise that it's a graphical programming environment so there are no diffs between versions, all users work on a single server so a version might accidentally end up with unrelated changes from multiple users, and there is no way to group changes to multiple files together.

Oh, and files' build properties are unversioned.

And global variables (and there are only global variables) have their own incompatible versioning system.

And everything is stored in a completely proprietary DB instead of as files so you can't even bolt your own version control onto the side.

Oh, and by default the system only keeps the last ten versions, and increasing that leads to trouble because you can't delete anything that's referenced in a past version...

And that's before you even consider branching!

I have no doubt that all of this was revolutionary when the system was first built, presumably some time in the 90s, but right now it's causing me to tear my hair out.

jason_pomerleau today at 12:44 AM
My last gig was similar, circa 2012. No source control when I started. 10 engineers. "Checkout" involved declaring to the CTO and engineering team which file you were working on, and grabbing the file from a folder shared directly from the CTO's machine.

One of the engineers convinced them to adopt Subversion shortly after I started. One of my jobs was to handle merges.

Classic ASP. The file naming scheme was based on roman numeral prefixes. Well, not all files. Maybe about half of them. Code was full of thousands of "if customer_id = X, do A, elseif customer_id = Y, do B, else do C". I was the first QA hire. "Can't you just look at the diff and spot bugs that way?"

On my first day (Monday), I opened up Outlook to 1,000 emails. "Hey [IT Guy's First Name], uh, when did you provision my Exchange account?"

[IT Guy]: Friday afternoon, why?

Me (to myself): I've made a huge mistake.

I lasted a year until my first options vested. Forfeited the remainder. I was just a couple of weeks away from going into the on-call rotation, where I could expect to be awoken 2 to 5 times a night to respond to issues.

Started my own firm with 6K proceeds from options sale, and never looked back.

moomin yesterday at 11:35 PM
I kid you not, at (Fortune 500 Company), I only convinced people to use source control by hooking an entire deployment system with approval management to it.
ivanjermakov today at 1:18 AM
> And you can sync and exchange deltas.

2009? diff was released in 1974. Not a Windows way of thinking I assume.

forrestthewoods yesterday at 11:43 PM
Oh I thought this was going to to be about Git.

It’s a shame an entire generation has been raised on Git such that they can’t even imagine a better world.

ltbarcly3 yesterday at 11:20 PM
"They were still using the shared folder process many years later. It was crude, it was hellish, and it worked for them just fine."

Well it didn't work for them just fine, they are just bad at their jobs and lack curiosity, joy in what they do, and the ability to learn (probably all 4 are very intimately related). Having spent years dealing with these kinds of people I'm glad AI will replace all of them soon.

I'm reminded of a team at eBay in 2018! that controlled the core web framework for the entire company. If you tried to use any technology they didn't want you to use they would use dirty tricks and politics to try to stop you. It was a complete piece of crap as you might expect, and they had a small army of people working on it full time. When I talked to their senior director of engineering about getting something fixed, he said they were 'in the merge process for the next release'. I offered to send a completed PR they could review, and he said it was too much work because "it would conflict and they were already trying to merge too many changes". I kept asking questions because I couldn't make sense of what he was saying. They apparently didn't understand what a branch was or what 'merge' meant in the context of git and were going file by file merging all the features for the release by hand? What he was trying to explain made so little sense I gave up working with that team and started planning my escape from the company. This was about 6 years after eBay had adopted git and set up an enterprise github installation. Our industry is FULL of people who hate their job, are shockingly bad at it, and maintain their employment via nepotism and running out anyone who seems competent.

hackio65 yesterday at 10:35 PM
How do you purge years of committed config dumps, our repo is mostly generated envoy junk?
nimchimpsky yesterday at 11:49 PM
[dead]