View Full Version : SVN - HowTo?
Michael Hartlef
04-01-2009, 20:37
Hi folks,
I would like to setup a Subversion thingy on some webspace and I wonder how to do this. So far I could not find a lot of info that I understand. Does someone here have experience with this?
Michael
ErosOlmi
04-01-2009, 20:43
If you find a way let me know.
I have necessity to share sources between Roberto and me.
I would like to install on thinBasic server anything that could help thinBasic team and thinBasic users in sharing sources for different projects.
Thanks for the idea.
Eros
Michael Hartlef
04-01-2009, 21:29
:) And Petr and me wanna share source soon too. ;) I'll let you know when I find something.
ErosOlmi
04-01-2009, 21:30
That is great !
If I can do something let me know.
Petr Schreiber
04-01-2009, 21:55
Mike, thank you for your confidence in my ability to clean that something sources soon :D
ALIAS FirstQuarterOf2009 AS Soon
... now it will run fine :P
Just joking :)
My experience with SVN is so far "that difficult thing I need to instal cygwin to use", I hope technology went further since those dark times.
Petr
Michael Hartlef
04-01-2009, 22:03
Take all your time. I fine with it now.
ErosOlmi
04-01-2009, 22:09
I'm searching for info about SVN.
I found some projects that are moving from SVN to GIT. For example PERL
But for what we need now I think we can stay with SVN.
For the moment I found some info on how to setup SVN under Windows. I do not think I will have the capacity and knowledge to setup under a *nix server.
http://blog.excastle.com/2005/05/31/mere-moments-guide-to-installing-a-subversion-server-on-windows/
http://blogs.vertigosoftware.com/teamsystem/archive/2006/01/16/Setting_up_a_Subversion_Server_under_Windows.aspx
http://www.robgonda.com/blog/index.cfm/2005/7/7/Subversion-up-and-running-in-30-minutes-or-less
ErosOlmi
05-01-2009, 00:12
Following the indications found in the urls I posted above, I was able to setup a SVN server on a vitual machine running WINXP SP3.
All seems very easy if indications are followed literally.
I'm now playing with all the many options found on the client side trying to add new files to projects, updating, creating revisions and so on.
I still have to understand how to correctly setup server security on a project level in order to have username/password for each project.
If I will be able to setup and understand the basis of what is really needed, I will than try installation on thinbasic.com server and let you know how to setup your client.
Ciao
Eros
ErosOlmi
05-01-2009, 01:04
Another very specific tutorial: http://www.codeproject.com/KB/aspnet/Subversion.aspx
Michael Hartlef
05-01-2009, 06:52
Thanks Eros for all the info. A lot to read. ;)
ErosOlmi
05-01-2009, 11:58
Well,
it took me 10 minutes to do the job. I followed the following indications:
http://blogs.vertigosoftware.com/teamsystem/archive/2006/01/16/Setting_up_a_Subversion_Server_under_Windows.aspx
Only problem was to find a working download site for SVNService and TortoiseSVN.
I found and alternative for SVNService here: http://www.robgonda.com/blog/files/robGonda/UserFiles/File/SVNService.zip
TortoiseSVN can find in many download sites, just type "TortoiseSVN + Download" in Google.
Anyhow, in my virtual machine seems working all correctly. I also was able to connect via network from another computer to simulate a net client and all was fine. I was also able to setup different projects with different authorization groups/users. So I'm quite ready to setup on thinbasic.com machine. I still have to understand if Apache or IIS are needed or not. Maybe just for using SVN via web but I do not want to access sources via web but only via Tortoise client.
Tortoise is very nice. It 100% integrates with Explorer and the right click menu on files and folders. I will give more details via PM when finished the job on thinbasic.com
Eros
ErosOlmi
05-01-2009, 22:59
Installed SVN server.
Created initial project.
Eros
Michael Hartlef
06-01-2009, 17:39
THANK YOU!!!
ErosOlmi
08-01-2009, 18:46
I'm now trying to implement an email system notification for some events that can occur in a repository.
For example when a commit takes place or when a lock is requested.
Those events should be notified to the user group via email (for the moment).
Eros
ErosOlmi
08-01-2009, 19:31
A little step further on SVN configuration.
I've just discovered I can define some hooks when events occurs.
And I've discovered I can integrate thinBasic scripts to be executed when such events occurs.
Events can be one of the following: http://svnbook.red-bean.com/en/1.2/svn.reposadmin.create.html#svn.reposadmin.create.hooks
I will see what I can do.
Ciao
Eros
Michael Hartlef
08-01-2009, 19:33
Man, that is cool. I'm glad you can do this.
ErosOlmi
09-01-2009, 01:57
For a personal local PC version of SVN, I suggest to download and install VisualSVN from http://www.visualsvn.com/server/
It contains all you need to manage your local development versioning.
Than if not already installed, install TortoiseSVN from http://www.visualsvn.com/visualsvn/download/tortoisesvn/
You should be able to start in few minutes.
Eros