Subversion server

From ITSwiki
Jump to: navigation, search

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.compute.dtu.dk/svn/XXXX where XXXX is the name of the repository. To see who has access to the repository, see https://svn.compute.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 (i.e. using a browser) on https://svn.compute.dtu.dk/AREANAME. The area can hold any number of repositories and each repository is access via https://svn.compute.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.compute.dtu.dk. It is then browsable via http://svn.compute.dtu.dk/ and available for checkout from a subversion client via the url http://svn.compute.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.

...