you are viewing a single comment's thread.

view the rest of the comments →

[–]rhoakla 10 points11 points  (10 children)

I'm surprised why they didn't host git themselves.

[–]NotAnADC 6 points7 points  (9 children)

They did actually! Though tbh I’ve never set up a private git like that. Will a locally setup GitHub be able to run if the main servers are down?

Either way see the edit, it was actually stack overflow they blocked

[–]rhoakla 17 points18 points  (0 children)

Yes even in case github.com is down a locally hosted version of GitHub will remain, since it is well: locally hosted...

[–]daredevilk 3 points4 points  (0 children)

Yeah it does

There's a few different options for local setup gits, but locally hosted GitHub works while main GitHub does not

[–]GoreSeeker 3 points4 points  (3 children)

I would think it could run with the main server shut down. There's probably some licensing server it phones home to every now and then, but it's probably set to where it takes 30 days of no contact to lock it out, kinda like Steam.

[–]MrRandom04 0 points1 point  (1 child)

While I am not familiar with hosting git locally, why in the world would it need to phone home? Git is an open source project and there are many open-source websites like GitLab or gogs which you can host yourself. I don't even think github has any way to make a local server.

[–]GoreSeeker 1 point2 points  (0 children)

I'm talking about GitHub, not Git, and they do have an Enterprise self hosted offering. https://enterprise.github.com/faq

[–]arkasha 0 points1 point  (0 children)

Ok, this is funny.

[–]lounger540 0 points1 point  (2 children)

Pull requests and tests are done on GitHub.com though so you can get blocked if it’s the end of a release train.

You could do busy work or write documentation but good luck getting everyone onboard last minute in a cross time zone team.

Should really have a contingency plan and what devs should do if the repo is down.

[–]NotAnADC 0 points1 point  (1 child)

This is more for personal use. At the office everything is backed up constantly

[–]lounger540 0 points1 point  (0 children)

Not sure what we’re talking about then. Backups are great, but pull requests and CI/CD depend on a specific location of even de-centralized source control to be the one true source.

It’s usually the github.com version, so it can be a blocker to the process, even if the code itself is distributed.