Live data from Hacker News

GitHub Is Down

githubstatus.com

71–80 of 93 posts

Re: GitHub Is Down

#71

If only there was some kind of distributed version control system. /s

Of course, there is. You just need to host it. Self-hosted GitLab mirrors work great when GitHub is down. https://docs.gitlab.com/ee/user/project/repository/repositor...

Or Gitea, if you want to use a fraction of the resources! I use it solely as a GitHub backup — you can mirror Git repositories from anywhere and it pulls changes on a schedule. Literally set it up this week, thank goodness.

https://gitea.io/en-us/

Re: GitHub Is Down

#72
post #31

I don't see the point for major open-source projects or even company projects to depend on a third-party provider for git services in the cloud that is not on-premise. It's fine if the source code is self-hosted or on premise and the mirror is hosted on some cloud VCS like Github, but not the other-way round, which for the latter you risk getting problems like this. The case for self-hosting a VCS server for serious…

GitHub addiction is not just about git itself. It's about the entire ecosystem of pull requests, issues, forking, linking to related projects, CI integrations, hosting for docs, and so on, all integrated under one sign-on umbrella. It is awfully convenient. Yes, for sure you can self-host one of the alternatives like GitLab, or assemble an equivalent set of services from smaller parts. It is absolutely reasonable to…

It is indeed convenient but the whole ecosystem now runs the risk of being a single source of failure if even one part of the service goes down and it is out of your control to do anything about it and also defeats the purpose of decentralisation of using git. It may not matter for personal or toy projects, but for company or serious ones, it does.

In the case of other risks of only using GH to host your project, Its like hosting your encrypted private key on Keybase because it is temptingly convenient but both run the risk of going down or getting compromised in a security breach.

Serious projects like the Linux kernel, WebKit and Chromium aren't primarily hosted on Github but have Github mirrors instead which makes more sense.

Re: GitHub Is Down

#73
post #46

PSA: I just received a github phishing request that was not detected by Gmail. I almost fell for it. Phishing email looks like a "review your suspicious activity" alert, but the alert is the suspicious activity. https://imgur.com/a/zdtWmuN

Did the odd capitalization, "April 01th", and unrelated sending address not tip you off?

Re: GitHub Is Down

#74

If only there was some kind of distributed version control system. /s

Of course, there is. You just need to host it. Self-hosted GitLab mirrors work great when GitHub is down. https://docs.gitlab.com/ee/user/project/repository/repositor...

Instead of relying on GitLab's API, it's probably a better idea to just use git remotes properly. I put together a script [0] to automate the process to set the primary remote to Sourcehut (git.sr.ht) and mirror to GitLab and GitHub. And yes, that script is in a repo that's also mirrored to GitHub and GitLab (check the README). It combines well with my `git pushall` alias [1].

[0]: https://git.sr.ht/~seirdy/dotfiles/tree/master/Executables/s...

[1]: https://git.sr.ht/~seirdy/dotfiles/tree/master/.config/git/c...

Re: GitHub Is Down

#75
post #40
post #31

I don't see the point for major open-source projects or even company projects to depend on a third-party provider for git services in the cloud that is not on-premise. It's fine if the source code is self-hosted or on premise and the mirror is hosted on some cloud VCS like Github, but not the other-way round, which for the latter you risk getting problems like this. The case for self-hosting a VCS server for serious…

Unless you have the (ops) capacity to host it yourself reliably, chances are GitHub will be up more than your self-hosted solution. As I'm typing this, I'm waiting for GitHub to recover so I can deploy an update to a rather important project for a big client. However, I'm happy it's their engineers to be scrambling to fix their git hosting, instead of me context switching from my work and rushing to duct-tape piece o…

> Unless you have the (ops) capacity to host it yourself reliably, chances are GitHub will be up more than your self-hosted solution.

For an individual it's absolutely trivial to self-host git over ssh more reliably than github.

It just costs a bit of money.

Re: GitHub Is Down

#76

Earlier quoted context omitted.

Hopefully does not depend on github webhooks for replication!

It does, but it would've mirrored your latest commit before it went down. Anyway, here's how you connect Keybase to GitHub: https://blog.codefor.cash/2019/08/30/free-automatic-github-b... https://github.com/codeforcash/github-to-keybase-mirror Note: this was a v1, and I'm sure there are more resilient ways to do this. Critical feedback strongly encouraged (ideally along with suggestions).

Hooks (https://git-scm.com/docs/githooks) together with templates (https://coderwall.com/p/jp7d5q/create-a-global-git-commit-ho...) sound like a good alternative.

Edit: I can see where your solution has an advantage. When one accepts contributions, all of that can be automated with web hooks via github. Still, having to run lambda/similar for this is a bit heavy weight.

Edit 2: Considering that for a release, I would opt in for release from a tag or explicit commit, that would be a non issue. Pull when needed, for redundancy, use another, self hosted bare repo. Push there in case of github down.

Re: GitHub Is Down

#77

If only there was some kind of distributed version control system. /s

Of course, there is. You just need to host it. Self-hosted GitLab mirrors work great when GitHub is down. https://docs.gitlab.com/ee/user/project/repository/repositor...

You can just sync with someone else’s repo by specifying it on the command line. Nothing to install, no script, nothing. It’s built into git and is right there in the single line summary of the man pages for git-fetch, git-pull etc: they all take a repository argument.

Re: GitHub Is Down

#78
I first thought I was having network saturation problems due to my gf’s kids playing games instead of doing their school online. I then checked some other sites and found they were fine but my first assumption was not that GitHub itself was having problems.

Re: GitHub Is Down

#79
post #75
post #40

Earlier quoted context omitted.

Unless you have the (ops) capacity to host it yourself reliably, chances are GitHub will be up more than your self-hosted solution. As I'm typing this, I'm waiting for GitHub to recover so I can deploy an update to a rather important project for a big client. However, I'm happy it's their engineers to be scrambling to fix their git hosting, instead of me context switching from my work and rushing to duct-tape piece o…

> Unless you have the (ops) capacity to host it yourself reliably, chances are GitHub will be up more than your self-hosted solution. For an individual it's absolutely trivial to self-host git over ssh more reliably than github. It just costs a bit of money.

money is probably the main reason people don't selfhost
Post reply on HN