News for hackers. Stuff that matters.
Re:Visual Studio and Team Foundation Server will have Git su... by ethomson on Wednesday January 30, 2013 @01:24PM (#5140900)
While there are a lot of compelling reasons to use a distributed version control tool, there are also compelling reasons to use a centralized system. Having a lot of giant files (game resources are the canonical example) suits a checkout/edit/checkin system much better than a system that scans the disk like a edit/merge/commit system or a DVCS. These sorts of repositories exist within Microsoft (and DevDiv) itself. For that reason alone, TFVC won't be going anywhere anytime soon.
Re:Visual Studio and Team Foundation Server will have Git su... by jf on Wednesday January 30, 2013 @01:33PM (#5140938)
A couple of other reasons to use centralized version control: 1: You are a Fortune 100 company and need to have access control on your codebase (so you can give contractors access to only a few files for example) 2: The code you are writing is subject to regulatory control.
Re:Visual Studio and Team Foundation Server will have Git su... by zwieback on Wednesday January 30, 2013 @01:54PM (#5141036)
Interesting you should mention that. We have our code on a corporate SVN server but I used git (via git svn) to create a mirror for some offshore developers outside the export control bubble. Git allowed me to exclude a set of files very easily. Not an argument pro or con either system, just saying.
Re:Visual Studio and Team Foundation Server will have Git su... by meaty on Wednesday January 30, 2013 @04:47PM (#5141953)
This is why we use svn still.

Also, its easier for developers not to fuck it up royally.

Re:Visual Studio and Team Foundation Server will have Git su... by rjzzleep on Wednesday January 30, 2013 @02:06PM (#5141104)
sorry, help me understand here. How does something who's only method of control is tied to the ide you use keeping any control over the source code?

you can still use git-tfs to use tfs like you would use svn. you can also just copy the file to another folder and suddenly everything is good. or you use time machine or another other backup mechanism.

Do i miss something magic that tfs does, that I don't understand?

Re:Visual Studio and Team Foundation Server will have Git su... by to3m on Wednesday January 30, 2013 @02:38PM (#5141281)
I can't speak for TFS, so maybe they do something daft, but it's usual that when you get latest from the server you simply won't get the files you aren't allowed to. You won't even see them. It's access control at a finer grain than the repository level, applied on the server side.

(with git always giving you the whole repository, there's not much you could do with git, but but many systems don't do that.)

Re:Visual Studio and Team Foundation Server will have Git su... by jf on Wednesday January 30, 2013 @02:17PM (#5141170)
I've never used TFS but my understanding is that TFS server allows you to configure it to only give a specific person access to a specific set of files.

For example: One could tell the TFS server "Deny Contractor-X access to all files, except for files A, B, and C". I assume that this would only allow Contractor-X to access files A, B, and C. Even if they were using git-tfs.

Re:Visual Studio and Team Foundation Server will have Git su... by pnathan on Wednesday January 30, 2013 @02:43PM (#5141323)
> 2: The code your are writing is subject to regulatory control.

Can you expand on what, precisely, you mean by that?

Re:Visual Studio and Team Foundation Server will have Git su... by jf on Wednesday January 30, 2013 @03:08PM (#5141478)
If I remember correctly, certain regulatory environments require that an audit log be kept of who saw which file and when.
Re:Visual Studio and Team Foundation Server will have Git su... by pnathan on Wednesday January 30, 2013 @06:16PM (#5142420)
> If I remember correctly, certain regulatory environments require that an audit log be kept of who saw which file and when.

Okay, let's say that's your environment. How do you prevent Mole Manny (who is a legit developer in your organization) from pulling down all the files in his project (as he's entitled to do), and then copying it over to his $super_sneeky_storage_system?

We've talked a lot about this where I am and we've concluded that to ensure a super-tight environment we'd have to do a slew of really heinous lockdowns (epoxy usb ports for instance) which would likely not really do much against moles but slow down and anger legit users.

Re:Visual Studio and Team Foundation Server will have Git su... by dragonwriter on Wednesday January 30, 2013 @07:50PM (#5142723)
Really? The only places I've run into regulatory requirements for audit logs of seeing data is when the data itself is sensitive government data or is legally protected personal data; outside of national security, those aren't the kind of things that generally apply to code (and in the national security space, I'd imagine that you'd need more comprehensive monitoring of your systems, desktop or server, such that using centralized VCS for the purpose would be redundant [alone, centralized VCS for that purpose has holes big enough to drive a truck through, since it can't monitor who sees information once it is checked out, only who checked it out].)
Re:Visual Studio and Team Foundation Server will have Git su... by chiph on Wednesday January 30, 2013 @06:22PM (#5142439)
If you write medical device or flight-control software, you have to have traceability all the way from requirements to the delivered binaries. With a central server & build system, that's much easier to do & also explain to federal inspectors.
Re:Visual Studio and Team Foundation Server will have Git su... by cpayne on Wednesday January 30, 2013 @03:14PM (#5141512)
I've worked on things like poker machine software.

Pieces like the random number algorithm for that stuff is tightly controlled.

Re:Visual Studio and Team Foundation Server will have Git su... by dustinchilson on Wednesday January 30, 2013 @03:13PM (#5141504)
Some code like encryption algorithms cannot leave the United States by law (if developed by a US company/Citizen).

Another example might be Credit Card Processing software, you don't want a lot of people knowing how you generate your encryption keys.

Re:Visual Studio and Team Foundation Server will have Git su... by MichaelGG on Wednesday January 30, 2013 @03:34PM (#5141606)
If your encryption key generation security depends on people not knowing how you generate keys, then it's totally busted.
Re:Visual Studio and Team Foundation Server will have Git su... by rmc on Wednesday January 30, 2013 @05:10PM (#5142087)
Ah, but the question isn't Is this a good idea? but Is this legally required?

Not always the same.

Re:Visual Studio and Team Foundation Server will have Git su... by Rastafarian on Wednesday January 30, 2013 @04:58PM (#5142033)
It may not depend on it, but it will improve it by some small margin most of the time.
Re:Visual Studio and Team Foundation Server will have Git su... by dragonwriter on Wednesday January 30, 2013 @07:53PM (#5142732)
Centralized version control doesn't have any advantage over distributed version control for either of those scenarios. Particularly, it doesn't give you any more control over where the code goes after someone with authorized read access to the repository makes their own copy of it.

For that, you need comprehensive monitoring on every system from which the repository can be accessed that tracks what is done, and once you have that, it doesn't really matter what you do for VCS for that kind of monitoring.

Re:Visual Studio and Team Foundation Server will have Git su... by tracker1 on Wednesday January 30, 2013 @03:28PM (#5141587)
I can speak from my own experience there are times where depending on funding, portions of a project must be developed by U.S. citizens... but the bigger project can have parts developed over seas. Depending on funding and the project.