Are there any SCM solutions designed for use on the local machine only? - visual-studio-2010

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.

Related

Better Version Control than TFS

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.

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.

Visual Studio with a Remote Server

The site that I am working on is at a remote server. I want to work on it locally. Are there any tools better then that in Visual Studio for working with a remote website?
Rather than deal with the quirkiness of VS remoting, what about using Remote Desktop to drive VS on a machine local to your target (behind VPN for example)?
If you can set up a subversion server on the remote site you could use that to sync changes between locations. This would be really helpful in other areas as well such as allowing multiple people to mess with your code and to keep track of every change you make. It would also be the best in the area of performance.
If its a windows share, just set up the repository where it is right now then use:
svn checkout file:///project/trunk
Or if its over a web server you can set up SVN to be served though that as well.
There are plenty of free/not free plugins for VS that make working with SVN very easy.

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.

Best way to deploy subversion (SVN) in a multisite windows environment

We are planning on moving for MS Source Safe (ouch) to SVN. We are working mostly in a Microsoft environment (windows, Visual Studio, .NET) and we have developers in multiple sites. I heard about VisualSVN and integration with visual studio. On the other hand I can get someone to host SVN for me and use TortoiseSVN. Any recommendations? Any pitfalls I should avoid?
I heard about VisualSVN and
integration with visual studio
Point to note, VisualSVN (the one that integrates with VStudio) is not a server technology at all, it is simply a integrated GUI front end to SVN, and in fact works through TortoiseSVN (which is required to be installed). However, VisualSVN is GREAT and defnitely worth the $50 per developer to use it. I used it daily and it saves me SO much time.
There is also VisualSVN Server, which will take care of the server side of things and the setup is absolutely dead simple. As long as you have an internet facing server and copious amounts of bandwidth (though SVN is not much of a bandwidth hog) you should be fine to host it yourself. Oh yeah, and VisualSVN Server is completely FREE!
However, having your repository hosted off-site is definitely always an option.
I use dreamhost for this now and couldn't be happier.
Hosting subversion is fantastically simple. At the risk of being labeled a brown nose (is there a badge for that?) Jeff Atwood did put up an article on installing subersion
http://blog.codinghorror.com/setting-up-subversion-on-windows/
So really you could save yourself some money by running your own subversion server and you'll never have to worry about what happens to your code if your hosting company goes belly up.
I would start with tortoise because it is free and is really easy to use. If you find you really need integration with VS then by all means try out visual svn. In my experience source control <-> editor integration is most useful for automatically opening files when you edit them. Subversion doesn't require you to open files so that big advantage is gone.
Another SVN integration with Visual studio is AnkhSVN http://ankhsvn.open.collab.net/ It is free, and has a few quirks. Personally, I use it for basic diffing and the visual indicators for file status (changed, conflict, etc.) while I use Tortoise for the heavy lifting.
You can get hosting of secure svn repositories from a variety of sources: http://beanstalkapp.com/ and many others. Often free if the usage (users, data, etc.) is limited.
VisualSVN does integrate with Visual Studio but not like SourceSafe does (and I mean this in a good way). It requires TortoiseSVN so it's not not an either/or. VisualSVN and Tortoise is a great combination.
Best way to deploy subversion (SVN) in a multisite windows environment
As far as I understand, you have multiple development teams in different locations (even different continents, maybe) who have to access the same codebase. For such a case VisualSVN Server provides Multisite Repository Replication feature.
The feature is based on VDFS (VisualSVN Distributed File System) technology which allows automatic, transparent, bidirectional master/slave replication of your repositories between remote sites. What's more -- it works out-of-the-box with minimal configuration steps done via VisualSVN Server Manager MMC console.
Learn more at http://www.visualsvn.com/support/topic/00068/

Resources