News for hackers. Stuff that matters.
Re:Upgrading GitHub from Rails 3.2 to 5.2 by quaunaut on Friday September 28, 2018 @01:12PM (#18095034)
It didn't take Github as a whole a year to go from 3.2 to 5.2. It took a small team within Github to work with everyone to upgrade from 3.2 to 5.2, with most of the changes introducing business value in the form of security and technical debt fixes(as many issues as I have with Rails, which are many, deprecations aren't willy nilly and generally have great reasoning behind them).
Re:Upgrading GitHub from Rails 3.2 to 5.2 by kenhwang on Friday September 28, 2018 @04:19PM (#18096702)
Last I heard, Github also runs it's own build of ruby and much of the complexity stemmed from incompatibilities with that.
Re:Upgrading GitHub from Rails 3.2 to 5.2 by pknopf on Friday September 28, 2018 @02:34PM (#18095815)
His point still stands.

You can find other platforms we're updating is a lot easier.

That is the issue.

Re:Upgrading GitHub from Rails 3.2 to 5.2 by titusjohnson on Friday September 28, 2018 @03:16PM (#18096210)
- 10 year old codebase under active development.

- 2 major versions and 4 years out of date.

- Upgrade started as a half-hearted "in your free time" effort with no official team, or maybe 1 dev (article says both).

- Upgrade included "cleaning up technical debt and improving the codebase", (you could define almost any work under that umbrella).

- At the end there were only 4 devs full-time on the upgrade.

I don't know of any platform that would make the above situation all that much easier...

Re:Upgrading GitHub from Rails 3.2 to 5.2 by dylanz on Friday September 28, 2018 @03:12PM (#18096175)
I'd love to know what other frameworks would be easier. It's all relative. I've been involved in upgrades of a lot of statically typed projects, in many languages, and... it's all the same. Major upgrades are always a pain in the ass.
Re:Upgrading GitHub from Rails 3.2 to 5.2 by ilikehurdles on Friday September 28, 2018 @03:31PM (#18096345)
It depends on scale. It tooks us at a previous company over a year to update from Java 6 to Java 8 (technically 7, but 8 was released before we got done with the upgrade so we jumped to 8), and that didn't involve any major new frameworks. Where I'm at today I don't even want to think about upgrading from Elasticsearch 5 to 6+. Terabytes of data indexed each day plus way too many consumers. I think web frameworks are easy to upgrade compared to databases or schema, at least when you're faced with distributed architectures.
Re:Upgrading GitHub from Rails 3.2 to 5.2 by goatlover on Friday September 28, 2018 @03:31PM (#18096342)
> You can find other platforms we're updating is a lot easier.

Care to name the platforms that would be much easer to update at Github's size across two major versions?

Re:Upgrading GitHub from Rails 3.2 to 5.2 by KurtMueller on Friday September 28, 2018 @02:54PM (#18096021)
What other platforms have you updated that was a lot easier?
Re:Upgrading GitHub from Rails 3.2 to 5.2 by daybreaker2 on Friday September 28, 2018 @03:14PM (#18096192)
and at github's scale at that.
Re:Upgrading GitHub from Rails 3.2 to 5.2 by Bluestrike2 on Friday September 28, 2018 @09:53PM (#18098293)
For what it's worth, I'd be weary of putting too much weight on these types of articles when it comes to judging how difficult Rails upgrades are.

Rails was hugely popular for years (and still is, in a lot of ways). There are countless articles about it and it's been for a ton of projects. There are a lot of internal Rails apps built on earlier versions that are owned by companies with either limited in-house development resources, or none at all; in which case, it's easy for decision-makers on the business side to push off updates (assuming they even know about them). "That doesn't sound like a big deal, we'll just do it for the next one." A bit of time passes, and then you're two major releases behind and you're looking at a serious effort. Or maybe it's developers who make that decision for what are likely valid reasons in the short-term. Upgrades across multiple major releases aren't exactly uncommon because of that, and there are a lot of articles detailing them, blog posts discussing or complaining about them, questions on SO, etc. as a result.

For the most part, though, I don't that that Ruby or RoR is uniquely difficult to upgrade compared to other frameworks. I've handled upgrades across versions that have gone ridiculously smoothly, and some not so smoothly.

Re:Upgrading GitHub from Rails 3.2 to 5.2 by JohnBooty on Friday September 28, 2018 @03:31PM (#18096340)
I'd like to hear about some of these platforms. 5+ years of continuous development, 2 major versions, heaps of new framework functionality, etc.