Better Version Control than TFS - visual-studio

I am working on TFS for Version Controlling since one year. It was good with Visual Studio but some days ago my PC Crashed and the Code on my local Machine Which were not Checked in Destroy... Then I have worked again which took much time and my project got late. Now I decide to move from TFS to another better Version controlling then TFS which handle code locally as well as on the server.
please advise me if anyone use good version control tool for Visual Studio. Thanks in advance

Just like Edward commented TFS is not a version control system. Which is a product that provides source code management (either with Team Foundation Version Control or Git), reporting, requirements management, project management, automated builds, lab management, testing and release management capabilities. It covers the entire application lifecycle, and enables DevOps capabilities.
TFS supports two types of version control: Git and Team Foundation Version Control (TFVC). One centralized and one distributed. As for which version control system should you use, you could take a look at this thread: Choosing the right version control for your project
For your case, you should be checking in frequently or setup some sort of backup system to avoid mistakes like this. Or set an alarm clock, memos to remind you to commit code to version control. If the files are gone from your file system, they're gone.

Related

How to delete version into version control of Team Foundation Server 2013?

I'm a new user into Team Foundation Server and I have a problem, during the develop an desktop app, a team member performed a inestable version and update (realize check-in) this version into the version control and the moment when I check-in my code the server merge my code with the latest version and the system failure.
I decided delete unstable versions of control version, but I not find way perform this.
I read this article but in the article only explain how to perform Roll back version and this does not help me.
You must do a rollback to maintain history of that change.
If you rollback the checkin out is just the same as if you had never checked that code in.

Are there any SCM solutions designed for use on the local machine only?

I'm going to be building some ASP.Net MVC 2 software using Visual Studio 2010 and, as the only developer, I'd like to have some basic SCM in place to I can manage changes locally. I know most SCM solutions are designed to run on servers and accessed by multiple developers. What's an easy, simple SCM solution for a solo developer that wants to manage everything on a single Windows 7 machine?
Thanks so much in advance for your help!
A distributed VCS like git or mercurial would work just fine for a local repository, and you could always use your local repo as a master for future shared access.
File based SVN
git
I see three possibilities:
use a VCS that allows file-based access (SVN does)
install a server (e.g. for SVN)
use a distributed VCS (like Hq, git etc.)
They are listed with increasing recommendation level, so I recommend last one most. (Although I should warn against using git, which isn't really considered the easiest to use of the family.)
In my experience, TFS, hands down, has the best integration with Visual Studio. All other source control providers offer lackluster support for .NET projects at best (this specifically comes into play with renaming, moving, and deleting files under source control).
That said, for a single developer, my recommendation would be to use AnkhSVN with free SVN hosting on projectlocker.
On the other hand, if you have a BizSpark or MSDN account, and have some time, you may want to set up TFS 2010, perhaps on a VM.
Perforce provide a 2-user non-expiring "evaluation" license. I believe this can be installed and used on a single PC.
If you already have the .NET stack installed on your machine and SQL Server (including Express Edition), you can have a single user version of SourceGear Vault for free. Works well on my fairly old XP Pro machine.

Bug Tracking for Windows and SVN

I'm working as part of a volunatry team creating an open source product with a permissive license. We are currently using Visual SVN Server/TortoiseSVN for source control and TeamCity for our continuous integration builds.
I would like to add a bug tracking component into the mix that will integrate into SVN. Ideally, I'd like to use FogBugz but we have no budget. So, I need an alternative. The requirements are:
Must be free or have a free version supporting at least 20 developers (we're volunteers!)
Must integrate with VisualSVN Server
Must run on Windows
I prefer Microsoft technology (ASP.Net over PHP; SQL Server over MySQL, etc) because we are a Microsoft shop, we have experience with those tools and already have them installed.
Must be able to work with a geographically distributed team
Must work with Express editions of Visual Studio (the developers don't all have the Pro version so we can't rely on Visual Studio add-ins).
I'd like The Community's recommendations, please, for products that meet all of the above requirements.
[Clarification: our license is very close (though not word-for-word) to the MIT license.]
Trac: It is not a Microsoft technology but will integrate well into SVN. There are not many free bug tracking software's that are free on Microsoft technology.
JIRA is free for open source projects and will run on Windows. Subversion integration is available and provided through a plugin.
Trac
Redmine
Try Bugzilla.
Is free
I do not know if integrates with SVN... but I suppose the answer is YES.
Runs on Windows - you must set up few
components, but it actually runs
prety well on IIS, however
installation is a bit tricky.
Bugzilla is Perl and MySQL. However,
as I said I had installed succesfully
Bugzilla on Windows 2003.
Installation of MySql and Perl does
not take a lot of server resources -
we had those two on our ASP.NET +
MSSQL test server, and no performacne
drop had been observed.
Works with distributed team.
Try InDefero, you can even get the hosted way for free if your project is not that big in size.

Version control "in the clouds"

I'm a developer who works on both individual and group projects using Microsoft Visual Studio. I could setup one of several different source control packages, such as VSS, SourceGear Vault or SVN on a server of my own and access them remotely; however, I don't want to deal with the hassle of setting it up, configuring it, etc.
Does anyone offer a hosted source control service?
For Git, check out GitHub. Good packages, used by an awful lot of opensource projects. Considered to be one of the best hosting experiences for git.
I use Assembla to host all my personal projects. It has 500mb of storage and you can host your code and do bug tracking and issue tracking.
It also has a good set of tools and you can use SVN, Trac/SVN, Trac/git, Mercurial or even an external SVN server for source control.
http://unfuddle.com/ offers a wide variety of SCM offerings (Subversion/Git/Maybe CVS?) as well as issue tracking. And they do it very well.
We use Dreamhost for our subversion repositories and are very happy so far, plus you can't beat the price:
http://www.dreamhost.com/hosting-features.html#svn
Google Code, SourceForge all have code hosting solutions. How private do you want to be ?
A basic hosting plan at dreamhost gets you tons of web hosting space, bandwidth, database, jabber chat server, CVS, subversion repository and more for a little more than 5 bucks a month.
Beanstalk seems nice (SVN only), but i don't have any experience with it. Free plan has 20mb space for 3 users and 1 repository.
Project Locker hosts both subversion repositories and an issue tracking software, trac, for you. Trac is real nice when coupled with version control.
I used CVSDude a long time ago. They were free up to 10 MBs at that time.
I'm using webfaction (webfaction.com) as my main web-host at the moment. They offer subversion as a 'one-click-installer' - in reality it takes a few more clicks than the name suggests, but it's really a straightforward process.
Their technical support is absolutely brilliant, and you're provided with the same features across each of their levels of shared hosting. I'd recommend them, most hosts I've used have been pretty awful in comparison.
Visual Studio Online, based on the capabilities of Team Foundation Server with additional cloud services, is the home for your project data in the cloud. Get up and running in minutes on our cloud infrastructure without having to install or configure a single server. Connect to your project in the cloud using your favorite development tool, such as Visual Studio, Eclipse or Xcode.
http://www.visualstudio.com/
Visual Studio Online Basic
Start your next development project in the cloud – 5 users are free!
Visual Studio Online is now Visual Studio Team Services. You not only get cloud-hosted version control with unlimited, free, private Git or TFVC repos, but also integrated bug and work item tracking with enterprise Agile tools for DevOps, like backlogs and Kanban boards, automation for build, test, and release plus other features for team collaboration and app development.
And your first 5 users are still free. Here's more about how to get started with Team Services.

What is the best way to integrate TFS version control

Working on implementing TFS throughout our organization. It is easy to integrate with .NET projects and any platform that uses Eclipse or a derivative of Eclipse for editing.
What's the best way to use TFS version control with Xcode (now that I find out we need to write some iPhone apps)?
Xcode integration is something that we at Teamprise have been looking into a lot. One of the main problems for us is that Apple does not provide a version control API that we can hook into to add a new version control system to Xcode - for integrated version control it is either the systems that Apple provide access to or nothing at the moment.
That said, we do have a number of customers who develop in Xcode for TFS. They either use Teamprise Explorer (which is a standalone GUI client to TFS compiled as a Universal Binary) or they have macros inside Xcode that perform basic check-out and get operations in-conjunction with the TFS command line (tf). It's obviously not the ideal experience but acceptable for them. The stand-alone GUI has the advantage that you can do all the work item tracking stuff there as well and integrate this with your check-ins.
Sorry if this is a very "marketing" type answer - just trying to let you know what our current customers do with Xcode. If you want more details around the macro approach then let me know.
Hope that helps,
Martin.
Few week earlier announced Git-tf by codeplex could do the job.
One way would be to use the Team Foundation System client under Windows in VMWare, and check out (or whatever TFS calls it) your sources to a directory on your Mac that's shared with the virtual machine. It also looks like Teamprise has a Team Foundation client for Mac OS X built atop Eclipse that would be worth looking into.
That said, I'd very strongly encourage you to use a natively cross-platform source code management system like Subversion or Perforce instead of a platform-specific silo like Team Foundation System for your company's soruce code, especially since you're going to be doing multi-platform development.
While you're not likely to share code between a .NET application and an iPhone application, having full cross-platform access to things like design documents can be really important. Mac OS X 10.5 and later include Subversion, Perforce is readily available, and both Perforce and Subversion are natively supported by the Xcode IDE. Subversion in particular is also more likely to be familiar to experienced Mac and iPhone developers you might bring onto your projects as you ramp up.
Perhaps SVNBridge will do the trick, it's an open source used at CodePlex (Microsoft's Open Source Hosting). Check it out here: http://www.codeplex.com/SvnBridge
I have limited experience with it other than using it briefly to connect to CodePlex.
Follow this links, its raeally helpful:
https://www.visualstudio.com/get-started/cross-platform/share-your-xcode-projects-vs
After that Check-in your existing xCode project code into TFS
On your Mac, download and extract www.microsoft.com/en-us/download/details.aspx?id=30474. I placed it in /users/{myuseraccount}/git-tf
Open Terminal and run the following commands
export JAVA_HOME=/Library/Java/Home
export PATH=$PATH:$JAVA_HOME/bin:/git_t
export PATH="/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/":$PATH
export PATH="/Users/{myuseraccount}//Git-Tf/":$PATH
change the working directory to your xCode project folder:
e.g.: cd “/users/{myuseraccount}/documents/xCode Projects/testproject1/”
In terminal fire commond:
- git remote add origin url//companyName.visualstudio.com/DefaultCollection/_git/xyz
and than
git push -u origin --all
It'll directly push your project into Visual studio TFS server..!!!!
The biggest problem with this is that Xcode only runs on OS X and TFS client tools only run on Windows. If you're host operating system in OS X and you have a Windows virtual environment running locally (like Parallels or VMFusion) then you could use Team Explorer or the command-line tools to work with the repository.
But this is a lot of work just to use a really dated version control system. If you don't have to use TFS I would probably use SVN or something else with native OS X support.

Resources