views:

249

answers:

6

Hey,

Since week I use ToirtoiseSVN and AnkhSVN and GoogleCode and sourceforge.net as my project hosting. For me it's frustrating to fill all this forms before create next project. So I start thinking about mu own repository hosting...

Can I use simple file hosting etc. and install there software like use Google or SourceForge to have my own SVN Server ? My point is to have independent repository in internet without all this uselessly UI interface which give me Google and SF to administrate my version control. I don't want to take advantage of already exist hosting like GoogleCode etc - I want to be independent from them! ;)

Or maybe it's other way to do my own repository hosting and FREE ;) Please don't tell me that I'm at mercy of commercial hosting... :/

p.s. If I wrote something wrong, sorry ;)

+2  A: 

VisualSVN server is the easiest to get up and running

dr
Standard Edition features will be ok for me ? Could I install it on hosting or it's impossible like Pekka says ?
netmajor
VisualSVN is something like Tortoise? what is difference between them ?
netmajor
I don't see an issue with installing on a hosted server.
dr
I just thinking to upload my project on hosting and if I don't have with me my laptop I just download project with svn... sorry if it's stupid! it's just my thought since using Tortoise...
netmajor
you would interact the same way as you would with google code
dr
I missed the SHARED portion of @Pekka answer. A shared hosting environment could be a problem.
dr
+1  A: 

You can't install subversion on a standard shared web hosting package. You will need either specialized hosting that explicitly provides subversion, or rent a small (possibly virtual) server and install all the software you need on that (the most flexible solution, but also requires quite a bit of knowledge to set up securely).

Also, check out my recent question on serverfault: Affordable combined Ruby/Rails/Redmine + Subversion hosting?

Pekka
+1  A: 

If you have your own server, then you can simply follow a tutorial for whatever os.

I have ubuntu server and followed this tutorial https://help.ubuntu.com/community/Subversion

Jonathan Mayhak
I unfortunately have only laptop. No 24/7 server :/
netmajor
+1  A: 

You could use a distributed version control system like Mercurial or Git. With these systems you simply create a local repository to work against.

For backup/remote access you simply upload the folder to a web storage.

Duckers
I use only TortoiseSVN as a client, so could you explain me what is difference to use Mercurial? I install it local and use like tortoise?
netmajor
@netmajor: Yes, there is both a TortoiseHg http://tortoisehg.bitbucket.org/ and TortoiseGit http://code.google.com/p/tortoisegit/
Greg Hewgill
A: 

Setting up VisualSVN, like @dr suggested, would require your own windows server to install it on (ie a cheap VPS). You can get svn running on linux and linux vps are event cheaper than windows so shouldn't be too much of a financial burden if you want to go this route.

If you want pure free, then I feel unfortunatly you will have to stick with filling out forms :-)

WestDiscGolf
For student VPS it's too much :/ Filling form or local repo is only free solution...
netmajor
The other option is to run the repo internally in your house on a different machine. When I was a student we use to have at least 1 spare machine on in the house somewhere all the time. Maybe you can go that route? You can then setup a nightly backup which backs up your repos to gmail http://bit.ly/7HsXHM
WestDiscGolf
+1  A: 

It is very easy to set up a simple subversion repository, especially if it just for you. Actually, if it is just for you, you may set up a svn repository on local disk and you do not have to setup any server. I do that sometimes for my own little projects, just to have the history of my work.

Assuming you are on Unix, you create a repository with:

svnadmin create /path/to/repo

and checkout with:

svn checkout file:///path/to/repo

Plus just a little configuration:-). Let me know if you need more details on this kind of setup.

pajton
I see that this is solution for local repository? Your commands are equal to TortoiseSVN option "Create repository here" ?
netmajor
Yes, they are equal. If you are on Windows and need a repository just for yourself, creating/accessing it with TortoiseSVN like this should work nicely for you. And zero more configuration in case of Windows:).
pajton