5 ms·
Isn't the whole point of git that you don't need to even have internet access to get work done?
by anaphor 13y ago
Isn't the whole point of git that you don't need to even have internet access to get work done?
- valarauca1 13y agoI thought the error message was "Commit locally github is down"
- cytzol 13y agoYou still have your local source code, but GitHub gives you issue tracking, comments, pull requests, and other things you could still use for work - none of which can be cloned locally.
- anaphor 13y agoOkay yes, but it probably isn't going to be down for more than a few hours at a time. I'm sure pull requests and issues can wait a few hours vs. actually fixing bugs or writing new code. Right?
- cytzol 13y agoYou'd have to hope so! I wanted to use the site, but having it down didn't bother me. But if I depended on it for my day job, I'd want more than just my source code available.
- scott_s 13y agoI find it easy to imagine that if the task you are doing right now requires looking at open issues, it could be a blocker. I depend on an internally controlled issue tracking system, and if my current task is creating or responding to defects and requirements, I'm not going to be happy if that system is down.
- king_magic 13y agoNo, they can't wait a few hours. Not when you have a 60 developer team on a private GitHub enterprise account, and it's the middle of the workday.
- balls187 13y agoif all 60 are working together sure, but if it's a handful of devs working with each other, you can pull directly from each others repository. PITB, yes. But you can still get work done.
- king_magic 13y agoAgain, not so easy when it's a massive multi-team effort - we have a continuous integration system that builds every branch (we use a GitFlow based model) on every commit that gets pushed to GitHub.
- coryking 13y agoYou can pull from eachother, but since you know github will be up in a few hours and it would take more than that to really coordinate any workflow change, most of the time people just goof off until github is back. Plus you are forgetting that lot of automated jobs get triggered on github changes. Many shops kick off all kinds of tests, deployments, and other things based on changes to the github repo.
- balls187 13y agoIf devs want to use that as an excuse to do other things, that's cool. My point was simply that you can still be productive when github goes down, if you want to be.
- king_magic 13y agoSure, developers can still be productive. But what about QA, UX, Product Managers? They rely on automated jobs that get triggered by GitHub changes. I don't think you're "wrong" for the developer use case, but the reality is that it can bring large teams to a screeching halt.
- vacri 13y agoIf you have a team that large and are relying on cloud services, then you need to have a plan in place for short interruptions like this. If you really have a 60-dev team, you should have knocked out all the SPOFs in the systems that support them - 60-dev teams are millions of dollars a year in salary, even at bargain basement wages. There is not a single serious provider that will guarantee you 100% uptime, because outages, however rare, do happen.
- andrewryno 13y agoOne other problem is that if you're using a tool like Capistrano to deploy, you usually set your remote repo to Github. When Github goes down, you can't deploy until it comes back up or you set up your own remote server.
- morganherlocker 13y agoFor me, issues are the most important part. I might set up a script to run daily that would import my issue list into a local csv.
- sandyarmstrong 13y agoIt depends on what you mean by "work". In a lot of organizations, github downtime is a blocker for doing a release. Writing and committing code is not the only kind of work.
- IgorPartola 13y agoSort of. When was the last time you clones a repo remotely from another user's laptop who is sitting hundreds of miles away? Do you even have an account on their laptop to be able to SSH to it? I am no Linus. I don't email patches. I want to grab my coworker's latest pushed changes and if GitHub is down, I cannot do that. That sucks. Also, our deploy process is to do a `git pull` on the remote server, then run the build process, and finally to deploy the built stuff. When GitHub is down, we don't have a process for this. I agree, both of these things could be avoided by having a different procedure in place, but that would obviate the need for GitHub altogether. Why use it when we can already share code and push it to our servers to be built? The point of GitHub is to provide a nice upstream that you can push to and pull from a la SVN because for most projects that model works really well. git provides all the niceties of local branching, rebasing, etc. while GitHub makes it easy to collaborate. Having said that I'd love to hear how others handle this type of challenge.
- debaserab2 13y agoNo, that's one of several features of git. It's not "the point"