Difference between revisions of "SVN server installation (Windows)"

(Created page with "Category:Development =SVN server (Windows)= ==Installation== * Download Visual SVN server for windows: http://www.visualsvn.com/server/download/ * Install Visual SVN...")
 
Line 3: Line 3:
  
  
=SVN server (Windows)=
+
=Installation=
 
 
 
 
==Installation==
 
 
* Download Visual SVN server for windows: http://www.visualsvn.com/server/download/
 
* Download Visual SVN server for windows: http://www.visualsvn.com/server/download/
 
* Install Visual SVN server. Choose your installation folder + repository directory
 
* Install Visual SVN server. Choose your installation folder + repository directory
  
  
==Users / groups configuration==
+
=Users / groups configuration=
 
* Open the '''Visual SVN server''' application.
 
* Open the '''Visual SVN server''' application.
 
* Open properties
 
* Open properties
Line 26: Line 23:
  
  
==Create a new repository (1) – standalone use==
+
=Create a new repository (1) – standalone use=
 
Right click on “repositories” -> create New Repository
 
Right click on “repositories” -> create New Repository
 
[[File:SVN server windows 5.png|none|Windows SVN server 05]]
 
[[File:SVN server windows 5.png|none|Windows SVN server 05]]
Line 36: Line 33:
  
  
==Create a new repository (2) – mirror Google Code==
+
=Create a new repository (2) – mirror Google Code=
 
Google provides a free subversion service through its “Google Code” service. However, there’s no quality analysis. … So, in order to provide quality checks we will mirror the google code repository.  
 
Google provides a free subversion service through its “Google Code” service. However, there’s no quality analysis. … So, in order to provide quality checks we will mirror the google code repository.  
  

Revision as of 21:03, 18 October 2014



Installation


Users / groups configuration

  • Open the Visual SVN server application.
  • Open properties

Action > Properties

Windows SVN server 01
  • Click Repositories, adjust “Everyone” rights to Read Only
Windows SVN server 02
  • Add a new user and add 'read / write' permissions to this new user
Windows SVN server 03
Windows SVN server 04


Create a new repository (1) – standalone use

Right click on “repositories” -> create New Repository

Windows SVN server 05

Enter the repository name and let the server create the default structure for you:

Windows SVN server 06

→ Note the SVN URL. You’ll need it later when you’re gonna setup your project, within the maven pom.


Create a new repository (2) – mirror Google Code

Google provides a free subversion service through its “Google Code” service. However, there’s no quality analysis. … So, in order to provide quality checks we will mirror the google code repository.

Therefore, we’ll be able to perform quality scans.

  • Create a new repository, see previous chapter
Windows SVN server 07
  • Right click on the repository -> All tasks -> Manage hooks
Windows SVN server 08

You have to edit the “pre-revision property change hook” and put the following command:

exit 0

This will check that the execution (synchronization) was successful.

Windows SVN server 09