Difference between revisions of "Subversion server"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Text replace - "Category:IT Systems" to "Category:IT")
Line 1: Line 1:
IMM has a [http://subversion.tigris.org/ subversion ]server available for its staff and students. A subversion server usually has a number of ''repositories'' but where the access to the repositories is controlled by one common user database and one ''svnaccess ''file, which defines the access rights of the users. However, in order to provide more flexibility for projects which include external partners (i.e. users who do not have an account at IMM) the IMM subversion server uses an ''area ''concept to support several user databases and svnaccess files.
+
DTU Compute has a [http://subversion.tigris.org/ subversion ]server available for its staff and students. A subversion server usually has a number of ''repositories'' but where the access to the repositories is controlled by one common user database and one ''svnaccess ''file, which defines the access rights of the users. However, in order to provide more flexibility for projects which include external partners (i.e. users who do not have an account at DTU Compute) the DTU Compute subversion server uses an ''area ''concept to support several user databases and svnaccess files.
  
* '''<u>''Shared area''</u>''': A path where the user must authenticate using his/her UNIX password. I.e. only users with an IMM account can have write access to such a repository. To provide access the repository owner have to make a request to IMMIT-Support. The svn path is '''https://svn.imm.dtu.dk/svn/XXXX''' where '''XXXX '''is the name of the repository. To see who has access to the repository, see [https://svn.imm.dtu.dk/svnaccess '''https://svn.imm.dtu.dk/svnaccess''']'''.<br />'''
+
* '''<u>''Shared area''</u>''': A path where the user must authenticate using his/her UNIX password. I.e. only users with a DTU Compute account can have write access to such a repository. To provide access the repository owner have to make a request to DTU Compute IT-Support. The svn path is '''https://svn.imm.dtu.dk/svn/XXXX''' where '''XXXX '''is the name of the repository. To see who has access to the repository, see [https://svn.imm.dtu.dk/svnaccess '''https://svn.imm.dtu.dk/svnaccess''']'''.<br />'''
* <u>'''''Private Area:'''''</u> An private area which has is own user database and own access control database and is administrated by a webinterface on https://svn.imm.dtu.dk/AREANAME. The area can hold any number of repositories and each repository is access via '''https://svn.imm.dtu.dk/AREANAME/svn/REPOSITORYNAME'''. Contact IMM IT support for setting up an area.
+
* <u>'''''Private Area:'''''</u> An private area which has is own user database and own access control database and is administrated by a webinterface on https://svn.imm.dtu.dk/AREANAME. The area can hold any number of repositories and each repository is access via '''https://svn.imm.dtu.dk/AREANAME/svn/REPOSITORYNAME'''. Contact DTU Compute IT support for setting up an area.
  
 
The shared area should cover most needs related to individual projects like Master Thesis, etc.
 
The shared area should cover most needs related to individual projects like Master Thesis, etc.
Line 8: Line 8:
 
===Making a repository public available===
 
===Making a repository public available===
  
A repository from any area can made publicly available on [http://svn.imm.dtu.dk/ '''http://svn.imm.dtu.dk''']. It is then browsable via http://svn.imm.dtu.dk/ and available for checkout from a subversion client via the url http://svn.imm.dtu.dk/svn/REPOSITORYNAME. To make a repository public, please contact IMM IT Support.
+
A repository from any area can made publicly available on [http://svn.imm.dtu.dk/ '''http://svn.imm.dtu.dk''']. It is then browsable via http://svn.imm.dtu.dk/ and available for checkout from a subversion client via the url http://svn.imm.dtu.dk/svn/REPOSITORYNAME. To make a repository public, please contact DTU Compute IT Support.
  
 
===Backup and diskusage===
 
===Backup and diskusage===
Line 18: Line 18:
 
===Recommended clients===
 
===Recommended clients===
  
A number of clients are available (mostly freely); SUN/Linux usually comes with the command line client '''svn''', on IMM SunRay servers the SmartSVN client is available. On Windows many users find the [http://tortoisesvn.net/ TortoiseSVN] client the best choice due to its integration with Windows explorer.
+
A number of clients are available (mostly freely); SUN/Linux usually comes with the command line client '''svn''', on DTU Compute SunRay servers the SmartSVN client is available. On Windows many users find the [http://tortoisesvn.net/ TortoiseSVN] client the best choice due to its integration with Windows explorer.
  
 
Mac OSX [http://www.apple.com/downloads/macosx/development_tools/svnx.html svnX]
 
Mac OSX [http://www.apple.com/downloads/macosx/development_tools/svnx.html svnX]

Revision as of 11:27, 3 July 2013

DTU Compute has a subversion server available for its staff and students. A subversion server usually has a number of repositories but where the access to the repositories is controlled by one common user database and one svnaccess file, which defines the access rights of the users. However, in order to provide more flexibility for projects which include external partners (i.e. users who do not have an account at DTU Compute) the DTU Compute subversion server uses an area concept to support several user databases and svnaccess files.

  • Shared area: A path where the user must authenticate using his/her UNIX password. I.e. only users with a DTU Compute account can have write access to such a repository. To provide access the repository owner have to make a request to DTU Compute IT-Support. The svn path is https://svn.imm.dtu.dk/svn/XXXX where XXXX is the name of the repository. To see who has access to the repository, see https://svn.imm.dtu.dk/svnaccess.
  • Private Area: An private area which has is own user database and own access control database and is administrated by a webinterface on https://svn.imm.dtu.dk/AREANAME. The area can hold any number of repositories and each repository is access via https://svn.imm.dtu.dk/AREANAME/svn/REPOSITORYNAME. Contact DTU Compute IT support for setting up an area.

The shared area should cover most needs related to individual projects like Master Thesis, etc.

Making a repository public available

A repository from any area can made publicly available on http://svn.imm.dtu.dk. It is then browsable via http://svn.imm.dtu.dk/ and available for checkout from a subversion client via the url http://svn.imm.dtu.dk/svn/REPOSITORYNAME. To make a repository public, please contact DTU Compute IT Support.

Backup and diskusage

All repositories are being backed up daily and written to tape. Tapes are kept for 3 months back like any other user data.

No quota is applied directly on the repositories nor the areas. However, disk usage is being monitored.

Recommended clients

A number of clients are available (mostly freely); SUN/Linux usually comes with the command line client svn, on DTU Compute SunRay servers the SmartSVN client is available. On Windows many users find the TortoiseSVN client the best choice due to its integration with Windows explorer.

Mac OSX svnX

Removal of repositories

Repositories in the shared area will be archived once nobody has access to it (typically because their accounts have been deleted) or according to agreement with the repository owner. The removal of repositories in private areas is managed by the area owner.