81 points · by orrsella · 13y ago · 138 comments
It becomes just as much of a PITA importing projects github and maven for example as well.
We actually ended up sticking with svn and trac and doing manual mirrors of every source dependency we pull in to protect our asses. SVN is kept only due to externals support (even though all our externals are internal!). Our head rev is over a quarter of million revs, 37gb of data and the repository has been online since 2006 to give you an idea.
I'm aware of github enterprise btw - its actually easier to build our own using trac as we can support it end to end, its a crap load more configurable and we can scale it up and run failover nodes easily using svnsync and pgsql replication. We have our own plugins and reports plugged in using reportlab as well. And its not atlassian's crap either.
Using github as an excuse to stay with svn seems rather ill informed.
You wouldn't lose hours if github is down. You might lose your ability to deploy (if you are deploying from github) but you could setup any other remote you like, and deploy from that.
I'm not sure what the 'size' of your repo has to do with anything...
I think svn is easier and more appropiate for a corporate environment.
Why do you think that git is inappropriate for a corporate environment? I've been using it in one for a few years now and see nothing wrong with that.
git remote add <remote_name> urleven in a corporate lan environment just pulling down an svn repository can take far too long
Size is mentioned as to be honest we moved a load of stuff to git in 2011 as a test case and it couldn't handle it. We have some test fixture data files (big ones) that it choked on. Not only that, you can't compose software easily without introducing external tooling.
You'd lose all that from using git? Why? Are you saying if you switched to git without switching any of your svn infastructure? We aren't talking about github downtime anymore are we...
> Size is mentioned as to be honest we moved a load of stuff to git in 2011as a test case and it couldn't handle it.
A repo I interact with daily is now pushing 54gb, it contains large test fixtures that have HD videos, and images in it. I've never had any issues. (It takes a while to copy it around...)
heck you wouldn't even really need a remote.
Just added a 3 GB file to my github repo. It took <2m, most of which I imagine was spent gzip-ing it.
cringe This is very corporate reasoning in the most pejorative sense of the word.
> Each hour we lose is potentially multiplied by the number of staff as we would push and pull hundreds of times a day.
You clearly haven't used git. Even if github were to disappear, it would be absolutely trivial for a team to switch to an alternative central git repo for everyone to work through.
Except for all the tooling built into github that would have to be replicated locally somehow.
I guess you could switch to: http://www.atlassian.com/software/stash/overview
That wouldn't be "trivial", and if that's the backup plan, you may as well start by using Stash and skip github entirely.
What tooling? The issue tracker and code comments? I imagine the uptime requirements aren't >99% for those, but if you absolutely need them all the time, that's what github's enterprise service is for.
It is probably prudent to have some central location to push code to though, especially if you want people to work on it outside of your company LAN.
Best solution is probably to have a server you control and have a copy on somewhere like github and keep them in sync. That way you don't have to worry about DDOS of github and you don't have to worry about what happens if a drive dies on your server etc.
SVN is actually better for us.
I sense a bunch of downvotes coming for me in 3..2..1..
> I'm aware of github enterprise
Which I must say is also insanely priced, particularly since you have to pay for everyone with a user account.Which means if you're wanting to use GitHub issues to replace some bugtracker the non-developers need access to you're paying full cost for everyone who might need to update a bug once or twice a year.
I understand that they're trying to get everyone to use their online offering, but a lot of organizations wouldn't consider it due to a combination of not wanting to host their code externally, and GitHub's ongoing uptime issues. They might go for GitHub Enterprise, but it's crazily priced compared to other similar software (e.g. Atlassian Stash+Jira).
git remote add online git@ddosfreedomain.com:you/yourrepo.git
Why waste so much time on support infrastructure? Wouldn't it be better to spend that time doing productive work?
That said, it's pretty easy to keep a repo up, so I would guess that if github has a few hours of downtime a year you are still doing better.
I'm comparing it to what we have as the suggestion is inevitable.
And that org's infrastructure team could probably claim 5 nines uptime as well.
Host github.com
Hostname ssh.github.com
Port 443
Cloning and pushing to github now works in my machine.[1]: https://help.github.com/articles/using-ssh-over-the-https-po...
Not sure I find any of these is more convincing than the next or very convincing at all.
GitHub seems to be one of the least offensive businesses around but still gets attacked on a regularly. It's popularity might make it a target but don't those running botnets have better targets? And wouldn't they publicize their exploits?
And I can't believe GitHub would use it as an excuse. A DDoS attack has clear evidence that their entire devops team and many of their suppliers would have first hand knowledge of. If word leaked out it would be pretty embarrassing.
Lastly would a competitor risk destroying their entire business if found out. People are irrational and stupid but that would be crazy.
Why is this happening?
Ideological or government attackers, on the other hand, can't be reasoned with and can only be expected to escalate in the future. If that's who Github is dealing with, then they'd better figure out how to actually deal with DDoSes sometime soon, because they will only increase in size and frequency.
you <--> (X <--> Y)
If you push to and pull from X, and X should be unavailable, automatically start using Y. When X is pushed to, check with Y first to keep in sync. There are ways to push to multiple remotes by defining multiple remote URLs, but then it's a harder problem of dealing with downtime.git add remote <name> <url> git add remote <name> <url> then create a shell script that checks both remotes for the latest if one is greater than the other merge the two if they are the same then push to both. Then just always push with that script.
Just how I've handled it so far. That said a autoMagical way of handling it built into github/git itself would be cool.
Doesn't help if you use GitHub for issues, of course, but hey!
I first noticed the top graph change, and a minute or two after it went back up towards 100%, they updated their status message to "Minor service outage". Now it's been moved to the history: https://status.github.com/messages
I was trying to make pulls just a minute ago and it was incredibly slow, but the status.github was just showing "we're investigating the high rate of drop packages".
Now, why would anyone want to DDoS GitHub? Gee...