News for hackers. Stuff that matters.
Re:GitHub's down? by brudgers on Wednesday May 06, 2015 @09:00AM (#9498243)
I read about Github being down and know that it sucks for many people. What I find interesting is thinking about how quickly so many installations of distributed version control adopted a de facto central server. Github is a platform that should not need a particularly high uptime from the point of view of any one user.

But of course it does because so much of its utility is that it substitutes for a lower level partition strategy for source code version control at the level of the individual user. By which I mean that the whole point of distributed version control is to have sufficient resources for working at hand regardless of what is happening remotely as the default condition.

Git is designed to be available and partition tolerant. Using it with the expectation of consistency is a mistake and Git requires manual intervention on the part of users to even get good-enough-consistency. Github can't change that.

None of which changes makes Github being down not suck for the people for whom it sucks.

Re:GitHub's down? by coherentpony on Wednesday May 06, 2015 @09:15AM (#9498327)
> Github is a platform that should not need a particularly high uptime from the point of view of any one user.

This is totally false. GitHub doesn't just provide a git server, it also provides ticketing and project management. When GitHub is down, projects that rely heavily on, for example, commenting on issues grind to a halt.

Yes, you don't need GitHub to be up 99.999% of the time to do a `git push` every once in a while, but there are other projects that use other features of GitHub besides the git server aspect.

Re:GitHub's down? by Zikes on Wednesday May 06, 2015 @10:29AM (#9498857)
It's also the primary host for dozens of package management systems anymore.

It's not hard to imagine a production system being unable to scale out because they didn't vendor and they can't fetch the repo for an essential library.

Re:GitHub's down? by tenfingers on Wednesday May 06, 2015 @10:01AM (#9498643)
And it's a shame this is the case, though.

I do publish projects with github because of the popularity of the platform, but I really don't approve github pull requests, and I also don't like github over-simplified issues. Together, these two features are probably what most projects depend on.

Github pull requests are definitely inferior to the patch-by-mail approach for a conversation within a closed group of people. It's clicky and looks friendly, but you don't have the patch to see in the mail notification (you have to be online), and again it's more convoluted to edit/apply using vanilla git.

Many people don't know, but git makes patch-by-mail handling extremely convenient to handle. In fact, it's more convenient to handle than using the several github command-line interfaces I tried(!). You submit the patch, have a conversation by regular mail, and then either edit the patch or merge it. Everything is always right there. Using github you have several side effects: people often add comments to specific lines in the patch, which will looks like garbage in the generated github notification. People will also naturally edit the comments, which won't generate notifications. I cannot count how many times I have to re-read comments because I had the feeling I missed something (and indeed, some comments were edited). This is bad. It shouldn't be allowed. It cannot happen with email.

Github has the advantage of making the conversation visible. But if you have a developer mailing list for your project, git and plain, regular patches do work really well. It might take a bit more to get used to, but it pays back.

Issues are a different problem, since I still feel the distributed solutions are inferior. I experimented a lot with bugs-everywhere and simple defects (sd), two distributed bug trackers that store the issues in the repository itself. Both are nice, and have distinctive features from each other which I'm not going to discuss much. The main thing is that 'sd', at some point, even supported to sync issues with github, which allowed to have best of both worlds. Unfortunately, it's lacking maintenance at the time, but it would solve ticketing in a distributed way. It looks like there's not much interest in this, as both projects are definitely not as active as the many available github clients which do 1/10 of what these projects offer.

Please, look into these two projects.

Re:GitHub's down? by coherentpony on Wednesday May 06, 2015 @11:09AM (#9499203)
Thanks for the distributed issue tracker mentions; I didn't know they existed.
Re:GitHub's down? by k_bx on Wednesday May 06, 2015 @03:56PM (#9501401)
Our Jenkins is configured to sign-in with GitHub. And yeah, it sucked to not be able to get in. Probably in future it's best to move away to non-Gihub accounts.
Re:GitHub's down? by thom_nic on Wednesday May 06, 2015 @11:21AM (#9499308)
It also acts as the de-facto authentication provider for a ton of third-party hosted services.

I don't know if "login with github" stopped working during this outage but I can imagine the sort of hell if I suddenly couldn't access my PaaS running production infrastructure because it couldn't authenticate my github account.

Re:GitHub's down? by abhishekghosh on Thursday May 07, 2015 @03:54AM (#9503780)
Agreed with you. There are gists which people curl or wget from the servers. Github is not exactly like source forge or something like that....
Re:GitHub's down? by stephenr on Thursday May 07, 2015 @06:02AM (#9504025)
Sounds like a poor choice if you're curling scripts from GitHub
Re:GitHub's down? by brudgers on Wednesday May 06, 2015 @10:47AM (#9499000)
I see your point about productivity. From a CAP perspective the ticketing and other project management processes depend on all three.
Re:GitHub's down? by xiaq on Wednesday May 06, 2015 @09:53AM (#9498580)
Although DVCSs don't require a central repo to operate, the most natural workflow for most projects is still to have a central repo where everybody pulls and pushes.

DVCSs still have many merits, even with that central repo. First, when the central repo is down, you still have the whole history in your local repo. You can still view logs, check out an old commit, create new branches and commits, etc.. Second, if that central repo is destroyed, you can trivially recreate it using any update-to-date clone. This is already way more advanced than centralized VCSs.

Re:GitHub's down? by manojlds on Wednesday May 06, 2015 @10:10AM (#9498711)
Every time a Github down article comes on HN (why do they still come and get upvoted?), this is usually the top comment - centralised server for a DVCS.