News for hackers. Stuff that matters.
Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by pm24601 on Friday February 27, 2015 @07:33PM (#9122247)
For me:

1. I do development offline all the freaking time. Basically I love the entire repo stored on my disk for the same reason I have a laptop instead of a desktop - so I can code anywhere.

2. News flash there are plenty of places that do not get good internet connectivity. Or my phone maybe dead or dying. Or I just stopped caring about having the tethering option on my plan. (and didn't care enough to bypass the restriction )

3. I don't use a lot of large images/video/etc in my development. Never have really, but then again I do a lot of server-side dev - very little Android coding.

4. Why do I care about a repo that is 1-2 gigabytes? I have a 4 terabyte disk.

Overall, comment: problem for facebook and google - for most companies this is not a problem. And if your company is having this problem, it has the money and people to solve the problem ... like facebook and google are doing.

Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by philtar on Saturday February 28, 2015 @03:16AM (#9123149)
The question is not when do you do development offline? The question is when have you ever needed the ENTIRE history of the repository offline?

Have you? Maybe. Do you constantly need to? Very very unlikely for the vast majority of people

Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by pm24601 on Sunday March 01, 2015 @04:11AM (#9126498)
Yes I do need the entire repo:

1) when a developer "accidentally" deleted the master repo.

2) when a developer accidentally damaged the master repo with a force push and it was easier to drop and restore the repo from my disk version.

3) when I am figuring out the overall contribution that each developer made.

4) when i am running a git bisect to figure out when a bug was introduced.

5) ... other cases.

As another person said, its not that I always need the full repo its just that I need it on occasion and I don't know when I will need the full repo. And those times when I need the full repo, I may be flying overseas or at my mom's house ( and she doesn't have internet ).

By the simple expedience of having the full repo with me, I don't have to worry about needing an older version of a file ... or anything.

Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by twic on Sunday March 01, 2015 @11:56AM (#9127777)
I use blame quite a bit, along with the pickaxe in Git and revsets in Mercurial. Those involve querying over the history of the repository - potentially quite a large fraction of it. I'm glad to be able to do that locally, limited by the speed of my SSD rather than min(the latency of my broadband connection, my tiny slice of GitHub's disk bandwidth).
Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by falcolas on Saturday February 28, 2015 @10:04AM (#9123824)
> Do you constantly need to?

"Constantly" doesn't matter. If you ever need access to the entire history while offline and it's not there, you can't work. Disks and bandwidth are both relatively cheap, compared against the value of having access to the data.

Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by liveoneggs on Friday February 27, 2015 @10:53PM (#9122727)
a 2GB git repo (without any binaries) probably has 4-5 million objects and will take a few GB of memory to clone and will otherwise be slow for status and other commands.
Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by pm24601 on Sunday March 01, 2015 @04:19AM (#9126506)
Sure. So what? Most repos I am dealing with are less than 200m. The problem of 1-2 gigabytes with millions of objects is simply not a big problem for most startups companies. Larger companies have the resources to solve this "problem".
Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by liveoneggs on Monday March 02, 2015 @03:12PM (#9134033)
you asked.. > 4. Why do I care about a repo that is 1-2 gigabytes? I have a 4 terabyte disk.
Re:Unorthodocs: Abandon Your DVCS and Return to Sanity by pm24601 on Sunday March 01, 2015 @01:40PM (#9128307)
also if this was the case I would make a second git repo a filtered version of the complete git repo. Sure it is a "hack" but it is an engineering solution to an engineering problem. Not all engineering solutions need to be idealized perfection.