News for hackers. Stuff that matters.
Re:GitHub was down by justaguy88 on Friday March 12, 2021 @01:42PM (#26439251)
What's the best practice for high availability (self-hosted?) repositories?

Is there a pass-through proxy for git? Or a leader-follower arrangement that is nice, with a proxy server?

Re:GitHub was down by drstewart on Friday March 12, 2021 @01:47PM (#26439320)
Best practice for me is to hope this happens on Friday afternoon and then take a half day... so all according to plan!
Re:GitHub was down by justaguy88 on Friday March 12, 2021 @02:02PM (#26439520)
I just want to be able to run self-hosted CI without it failing due to github
Re:GitHub was down by usui on Friday March 12, 2021 @02:10PM (#26439612)
I don't understand. Almost all of GitHub is a centralized service, while the self-hosted version is available to a select few enterprise partners.

What's the roadblock on doing self-hosted CI without failing due to GitHub? It would be as simple as not using GitHub I think

Re:GitHub was down by smallnamespace on Friday March 12, 2021 @01:49PM (#26439337)
If you're already using a cloud provider, they [1] all [2] have [3] private git repo services.

You can set up a cronjob to sync them, or some have built-in config to do the mirroring [4].

I used Google's mirroring option before. It was fine, but we never had to use it (local copies were sufficient when GH was slow one day).

[1] https://cloud.google.com/source-repositories

[2] https://aws.amazon.com/codecommit/

[3] https://azure.microsoft.com/en-us/services/devops/repos/

[4] https://cloud.google.com/source-repositories/docs/mirroring-...

Re:GitHub was down by serverlessbird on Friday March 12, 2021 @05:26PM (#26441719)
We don`t need to forget about small but better providers, like DNS made easy or it`s younger brother Constellix I also read one guy at webhosting talk. he said DNS simple have some new good features
Re:GitHub was down by serverlessbird on Friday March 12, 2021 @05:23PM (#26441706)
GitHub better use something more trusted. AWS outages is so well known :/
Re:GitHub was down by drudoo on Friday March 12, 2021 @01:46PM (#26439298)
You could have a selfhosted gitea or gitlab instance that mirrors your GitHub repo. I use that as backup for some GitHub repos.
Re:GitHub was down by jtdev on Friday March 12, 2021 @01:52PM (#26439387)
Self host GitLab seems like a good approach here.
Re:GitHub was down by usui on Friday March 12, 2021 @02:06PM (#26439570)
We use a cluster of self-hosted GitLab instances. Their update cadence has been on a roll and their development process is much more transparent compared to GitHub imo because it's a lot easier to see how they comment and discuss when they have "all-remote" baked into the core of their workflow

Believe it or not, we have higher service availability hosting GitLab ourselves than GitHub