views:

1232

answers:

4

I am a lone programmer working on many .Net projects. I work alone and I didn't used version control till now. Just recently I learned the benefits of using version control. As I have three machines I work on, keeping a sync version of a project sometimes proves to be too much. So, now I am planning to use subversion as my version control server.

Having said that, I read in many threads, blogs etc about the benefits of using version control for a single developer. I agree with most of them but one thing most of them didn't discussed was, how to use SVN without actually depending on one of your particular system to be the server. The reason I want to do this because all my systems are almost never in "always on" condition. So if I host my repositories in my main desktop, I might not be able to work on my laptop if my desktop is turned off (or am I missing something here?)

Thats why, I want to know that can I host my subversion repositories in my GoDaddy shared hosting account and access them from the three computers I have?

Or alternatively, are there any free (and fast) online svn repositories I can use? I am trying not to use any gui clients for now as I want to clear my basics first with svn, but later I am planning to use TortoiseSVN as my client.

+1  A: 

You may want to look into other version control systems which aren't based on a central server. Git is the most popular choice these days.

Also, if your project is opensource GitHub is free and does all the trouble for you. It will cost if you host commercial projects.

Update:

Just to clarify my response, the way i see he's asking 2 questions, first is asking how to use subversion in his non-centralized environment OR use free hosted alternatives.

He seems to be just starting with version control, and doesn't know too many other options. I'm entirely fine with him using a free subversion hosted service, i just mentioned an alternative who natively does what he was pretending to do in the first place with his 3 computers and subversion.

This is not a comment like "omg! your [scm] sucks!!11!, just use my loved [anotherscm]!!"

Update: (response to @Yogesh)

Actually the fact that is "merge based" is a what makes it able to work decentralized and full featured while offline, it makes a breeze working with branches because actually each working copy is a branch, while branching in Subversion is a pain. I don't work too much with binaries, but by reading a bit don't think Git has much problems with them (1 | 2).

Git is not better or worse than Subversion, it depends entirely on your needs. Again, your pick, i was just pointing that Git could be a good fit to your needs, even if you're not in a team.

pablasso
He asked for Subversion, not Git.
eduncan911
Yes pablasso. You are correct. I am just starting with version control and still looking at options. But Git is merge based and too many binary files can play spoilsport (or what I heard). Thats why I am try to avoid Git based scm like github. Is that true?
Yogesh
+4  A: 

I'm not sure about GoDaddy, but you shouldn't have any issues developing in a disconnected mode with Subversion. As for other hosts, you could try ProjectLocker.

Andy Gaskell
+11  A: 

First, GoDaddy does not allow for Subversion to be installed. It's a seperate service that runs to provide an HTTP-like interface - not a hosting account.

With that said, there are MANY free versions out there. I vote for Google Code as it's free, and uses Subversion.:

http://code.google.com

If you want something more private, I recommend Unfuddle as they have a free version. Just don't check in big files.

http://www.unfuddle.com

Another private one is Project Locker:

http://www.projectlocker.com

Lastly, I highly recommend picking up and reading a Subversion book on practical uses of Subverison, organizating your multiple projects, and proper branch/merge management.

Version control with SubVersion

You can also read it for free here: http://svnbook.red-bean.com/ But, it's a very long dry read. I highly recommend picking up the book to thumb through down the road.

eduncan911
In addition to the many free hosting services, there are several such as wush.net which has hosting plans for just a few dollars per month. In exchange for that, you get tech support, which easily pays for itself the first time you run into some issue (especially for someone new to Subversion).
RjOllos
@RjOllos: Wow, someone is able to offer tech support for svn on a cheap account? That's impressive.
eduncan911
A: 

I am a loan coder that uses subversion. I was unable to use shared hosting to host my code, but it was not that hard to setup apache and subversion on my xp machine at home. I then bought a cheap domain at godaddy.com that pointed to my home.

Subversion for Windows with Apache server

Aaron
Your xp machine needs to be on when somebody access your subversion server and that is not what I want. I do not want to depend on any of my systems to be on all the time.
Yogesh
Yes, I have a box in the closet that I run at all times for my ccnet and svn. Sorry, missed that part about not hosting it on any of your systems.
Aaron
You can also install the free (as in beer) VisualSVN server. You can use that server with any (free or not) client.
Bert Huijben
He stated that he does not want to depend on any machine being "on" at all times. e.g. a server.
eduncan911