[Resolved] GitHub is returning 500 for all requests
github.com
github.com
I mean...
It is a centralized service that does not take any benefit from being a centralized service like other collaboration software. At the same time it is a bit decentralized but not really.
The way Git works have an impact on how you build things.
In private corporations. ACL is needed for compliance and so on and you end up with a lot repos. Then it propagates on to build pipelines and so on.
There is no proper way to control secrets.
There is no good built in way to separate users from service users like agents and so on.
I wonder what the large IT companies use. Surely it can't be Git as is.
Any clone of the repository can function as a remote; and every developer has a full clone.
If a clone is on a machine with an ssh server, it can be accessed through ssh. Doing so immidietly gives you all access control mechanisms present on said server. For simple setups, this is traditional user accounts with tradutional DAC, possibly with public key authentication uf SSH is so confifured. For more complex situations you can use arbitrary PAM modules. Otherwise any remote filesystem would work once you mount it. These are all concepts that any IT department fielding Linux systems will already need to deal with.
As a developer, I have taken advantage of the distributed nature of git without a second thought. No access to the main repository? No problem, there is a clone on our build server, point your remote to that.
Most distributed systems use server and client agents. That would solve a lot of things.
As always have a failsafe backup system or CI whenever a real outage happens.
Happy coding.
Why is this thread flagged?
I'm with you. I was looking for a HN comment I saw once so I could link to it. A guy was explaining how his response to "why do you use linux?" is "it gives me more control" but his response to "what would Linux let me do that windows doesn't?" and his response would be "nothing". If that person didn't already know, then there's no valid answer that actually applies to that person.
But it's flashier to have a subscription product instead of a strong commons and self-sufficiency.
I can trust GitHub with my deploy secrets; Can you trust your $5 last-updated-in-2019 box?
If you self-host, either you're a sysadmin or you must become one.
Plus GitHub is not just git, so I hope you'll also like to you set up "GitHub Actions" on that $5 box.
aws s3 sync source destination
"...Half-a-billion people stored files on Dropbox. Well, sort of. Really, the files were in Amazon’s cloud..."
https://www.wired.com/2016/03/epic-story-dropboxs-exodus-ama...
If you need backup, then use rsync, but Dropbox isn't just backup.
aws s3 presign s3://<bucketname>/<object>
The original rsync comment, here in this community, does not get the respect that it deserves. If you are a user, maybe you should read this:
"Criticism of Dropbox" https://en.wikipedia.org/wiki/Criticism_of_Dropbox
Do you find these mind-blowing?
As for self-hosting GitHub, yes, that's much more viable and I believe more of us should be doing it (although I personally plan to still have GitHub as a central source of truth and just backup all my repos to several servers under my control). But GitHub is also very socially entrenched and provides a real value-add in terms of good PR interface, Wiki, issues, discussions and whatnot.
(And I'm not counting GitLab, it's worse in almost every way. And is very slow.)
We're way past idealistic slogans. Be the change you want to see. Give example to the rest of us. Many will follow.
In the meantime, I want my free time mostly free of computers.
FWIW, I like (and pay for) sr.ht even though it doesn't have feature parity with GH.
Hate to be that person, but GitLab is better than GitHub at everything. UX is different in some places, and it's an entirely subjective question which one is better ( i prefer GitLab but to each their own), but in terms of features it isn't even close - GitLab absolutely blows GitHub out of the water, even with Microsoft's incredible investment and recent deluge of announcements. In terms of speed i think GitLab is slower while doing some things, but it's not ( at least for me) painful like Jira Cloud is.
I manage GitLab just fine but it's way too slow for me.