News for hackers. Stuff that matters.
Re:We are currently taking a DDoS attack and are working to ... by Volpe on Saturday March 23, 2013 @07:22PM (#5430254)
You know you can run git internally as well?

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...

Re:We are currently taking a DDoS attack and are working to ... by huherto on Saturday March 23, 2013 @07:41PM (#5430333)
To me github is the killer feature of git.

I think svn is easier and more appropiate for a corporate environment.

Re:We are currently taking a DDoS attack and are working to ... by jlgreco on Saturday March 23, 2013 @08:01PM (#5430403)
Really? Git seems like the killer feature of Github to me...

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.

Re:We are currently taking a DDoS attack and are working to ... by FuzzyDunlop on Saturday March 23, 2013 @08:22PM (#5430456)
I think the killer feature of git -- which applies to any other DVCS -- is that you're not dependent on github if you're well prepared. There's absolutely nothing stopping you adding redundant remotes so you always have somewhere to push/pull changes and deploy from.

    git remote add <remote_name> url
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Sunday March 24, 2013 @04:39AM (#5431488)
Yep and that's like managing dns with host files...
Re:We are currently taking a DDoS attack and are working to ... by delano on Saturday March 23, 2013 @08:10PM (#5430429)
svn is fine for very small, highly co-ordinated teams which is rare in a corporate environment. It's decidedly not fine for complex merging, development outside of the private network, or maintaining multiple versions of the same codebase (customer installs) among other things.
Re:We are currently taking a DDoS attack and are working to ... by Peaker on Saturday March 23, 2013 @08:44PM (#5430525)
Even then, doing without "add -p", "rebase -i", "commit --amend", inplace branches, and various other git features is going to cost you.
Re:We are currently taking a DDoS attack and are working to ... by rubyrescue on Saturday March 23, 2013 @09:43PM (#5430700)
the achilles heel of svn is branches cost 100% of the branched repository. even an svn repo with one user can be prohibitively large.

even in a corporate lan environment just pulling down an svn repository can take far too long

Re:We are currently taking a DDoS attack and are working to ... by huherto on Saturday March 23, 2013 @10:12PM (#5430768)
Re:We are currently taking a DDoS attack and are working to ... by rubyrescue on Saturday March 23, 2013 @10:55PM (#5430884)
500MB branch in git - git checkout -b mybranch master == 500MB 500MB branch in svn - svn copy ... == 1GB
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Sunday March 24, 2013 @04:40AM (#5431490)
Branches cost nothing in svn. I doubt you've used it. svn copy only appends a pointer back to the source rev, much as git does.
Re:We are currently taking a DDoS attack and are working to ... by rubyrescue on Sunday March 24, 2013 @05:23PM (#5433704)
i used to use them extensively. unless something has radically changed, they cost nothing in the svn repository but when you pull them down, you have multiple copies on disk which takes double the space because of the way a branch appears like a separate folder in your working copy. am i missing something?
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Monday March 25, 2013 @08:29AM (#5436617)
Your working copy has a URL. You can switch it to another URL (a branch/tag) using "svn switch". It only transfers the differences between the two.

You can have two separate copies checked out, but you don't have to.

Re:We are currently taking a DDoS attack and are working to ... by huherto on Monday March 25, 2013 @04:08PM (#5439403)
It is interesting, I have heard several times the comment about svn branches being expensive. But, that is not true, they are checking out the whole branches directory!
Re:We are currently taking a DDoS attack and are working to ... by huherto on Monday March 25, 2013 @04:07PM (#5439393)
Are you checking out all the branches? I mean the actual branches subdirectory? If you do that, it is going to be expensive. But you shouldn't do that. Just checkout the trunk and switch to branches as needed.
Re:We are currently taking a DDoS attack and are working to ... by zevyoura on Saturday March 23, 2013 @10:33PM (#5430825)
You have to maintain a full copy of the file tree locally per branch, it's a pain that gets worse as your project size grows. With git, switching between branches is near instantaneous.
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Sunday March 24, 2013 @04:33AM (#5431481)
It is in svn as well (200mb wc switch = 4 seconds).
Re:We are currently taking a DDoS attack and are working to ... by banachtarski on Sunday March 24, 2013 @06:13PM (#5434004)
sorry but that is a very long time. Branching is something I do dozens, if not hundreds, of times a day (creating, checking out, deleting, etc).

svn doesn't fit the sane modern workflow and everything it does can be done by git in a less painful manner. I think the only use case I can think of for svn is a very binary heavy repo that needs global locking.

Re:We are currently taking a DDoS attack and are working to ... by zevyoura on Sunday March 24, 2013 @05:01AM (#5431519)
I worked in an environment with a significantly larger repository, and svn switches were a constant source of frustration.
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Saturday March 23, 2013 @07:31PM (#5430294)
We'd lose our deployment, integration tests, continuous integration, ability to pull other team changes from the master and code review platform. That's a big chunk of our dev infrastructure.

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.

Re:We are currently taking a DDoS attack and are working to ... by Volpe on Saturday March 23, 2013 @07:39PM (#5430324)
> We'd lose our deployment, integration tests, continuous integration, ability to pull other team changes from the master and code review platform. That's a big chunk of our deb infrastructure.

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...)

Re:We are currently taking a DDoS attack and are working to ... by teej on Saturday March 23, 2013 @07:36PM (#5430317)
So your desire to not use Github has nothing to do with Github then.
Re:We are currently taking a DDoS attack and are working to ... by arianvanp on Saturday March 23, 2013 @07:35PM (#5430316)
git is decentralized. Any sane sysadmin wouldn't use github as a 'central' point, but set up an own remote to which you push. Then every once in a while from that remote, commits are pushed to github.

heck you wouldn't even really need a remote.

Re:We are currently taking a DDoS attack and are working to ... by elithrar on Sunday March 24, 2013 @12:49AM (#5431163)
Alternatively you can set up an alias (i.e. "all") for multiple remotes and just push to them in one hit. Useful when I'm pushing code to Heroku and GitHub simultaneously.
Re:We are currently taking a DDoS attack and are working to ... by hp50g on Sunday March 24, 2013 @04:32AM (#5431480)
Aliases on that scale are like hosts files. An utter shit to manage. Its why they invented dns which is a centralized delegated service.

The "single source of truth" is hard to avoid.

Re:We are currently taking a DDoS attack and are working to ... by andreyf on Saturday March 23, 2013 @07:54PM (#5430376)
Your deployment really shouldn't rely on your VCS...

Just added a 3 GB file to my github repo. It took <2m, most of which I imagine was spent gzip-ing it.

Re:We are currently taking a DDoS attack and are working to ... by hp50g on Sunday March 24, 2013 @04:36AM (#5431485)
Well it doesn't. We package every rev that's made as part of our integration process. Then we choose one and deploy it (using our auto deployment software which farts out packages across 100-odd machines, per instance..).