Difference between revisions of "Subversion"

From Cncz
Jump to: navigation, search
m ([Introductie][Introduction])
Line 23: Line 23:
 
We have set up a [https://svn.science.ru.nl/ subversion server for FNWI]
 
We have set up a [https://svn.science.ru.nl/ subversion server for FNWI]
 
including an administrative interface to manage repositories and repository
 
including an administrative interface to manage repositories and repository
users.  To be able to use the subversion server contact C&CZ to create a repository and
+
users.  
appoint an owner.  The owner of a repository can create additional users
 
and grant access rights to his/her repository(ies).  At the moment it is not
 
possible to use your [[Login|science account]] for authentication but we plan to add
 
this possibility in the future.  Therefore we urge repository owners to use
 
science account names for users who already have a science account and to
 
use account names starting with an underscore (_) for external users.
 
 
[/en]
 
[/en]
  
Line 44: Line 38:
 
* an SVN client installed on your computer.
 
* an SVN client installed on your computer.
  
Contact [mailto:postmaster@science.ru.nl postmaster@science.ru.nl] if you would like have a new SVN repository or user account.
+
[mailto:postmaster@science.ru.nl Contact C&CZ] to create a repository and appoint an owner.
 
[/en]
 
[/en]
  
Line 61: Line 55:
 
===[Authenticatie en autorisatie][Authentication and Authorization]===
 
===[Authenticatie en autorisatie][Authentication and Authorization]===
 
[en]
 
[en]
A subversion user can be owner of one or more repositories. Repository owners can controll user access to the repository and create new svn users if necessary. Account details such as your full name, email address and password can be changed through the web interface:
+
A subversion user can be owner of one or more repositories. Repository owners can grant user read or read-write access to the repository. New svn user accounts can be created if necessary. Account details such as your full name, email address and password can be changed through the web interface:
 
https://svn.science.ru.nl
 
https://svn.science.ru.nl
 
[/en]
 
[/en]
Line 69: Line 63:
 
[en]
 
[en]
 
====Repository Owners====
 
====Repository Owners====
From the
+
We urge repository owners to use science account names for users who already have a science account and to use account names starting with an underscore (_) for external users:
Repository owners will create account names starting with an underscore for external users to prevent username conflicts in the future:
 
 
{| border="1"
 
{| border="1"
 
|+svn usernames
 
|+svn usernames
Line 82: Line 75:
  
 
====Repository Users====
 
====Repository Users====
If you have a science login name the repository owner should have created an account for you with the same account name. At the moment your SVN and science accounts are not connected, i.e. you can change the passwords of both independently.  In the future this will probably change.  
+
If you have a science login name, the repository owner should have created an account for you with the same account name. At the moment your SVN and science accounts are not connected, i.e. you can change the passwords of both independently.  In the future this will probably change.  
  
 
When you first connect to  the repository your SVN client will prompt you for your account name and
 
When you first connect to  the repository your SVN client will prompt you for your account name and
 
password.  Most SVN clients will store/remember your credentials for subsequent repository access.
 
password.  Most SVN clients will store/remember your credentials for subsequent repository access.
The repository owner can change your access rights.
 
 
[/en]
 
[/en]
  

Revision as of 16:36, 30 May 2011

This page is under construction.

Introduction

Subversion logo
Subversion

Subversion is an open source revision control system that allows one or more users to easily share and maintain collections of files.

Although SVN focusses on the software development community it is very well possible to use it as a general purpose centralized system for sharing and maintaining information contained in all kinds of data files. And because SVN offers native support for repository access via http, the repository can be browsed by any web browser. As such SVN is an easy to use file sharing tool.

We have set up a subversion server for FNWI including an administrative interface to manage repositories and repository users.

Getting Started

To be able to use our SVN server you need the following:

  • The URL of the repository;
  • an SVN username and password;
  • an SVN client installed on your computer.

Contact C&CZ to create a repository and appoint an owner.

The Repository

For remote access to our SVN repository the HTTPS protocol is used. The web address (or URL) of our repositories is typically of the form:

https://svn.science.ru.nl/repos/{repository name}

Authentication and Authorization

A subversion user can be owner of one or more repositories. Repository owners can grant user read or read-write access to the repository. New svn user accounts can be created if necessary. Account details such as your full name, email address and password can be changed through the web interface: https://svn.science.ru.nl

Repository Owners

We urge repository owners to use science account names for users who already have a science account and to use account names starting with an underscore (_) for external users:

svn usernames
for science users external users
{science username} _{username}

Repository Users

If you have a science login name, the repository owner should have created an account for you with the same account name. At the moment your SVN and science accounts are not connected, i.e. you can change the passwords of both independently. In the future this will probably change.

When you first connect to the repository your SVN client will prompt you for your account name and password. Most SVN clients will store/remember your credentials for subsequent repository access.

SVN client software

For all major platforms, the svn command line client is either available as part of the distribution or can downloaded seperately. To determine if you have subversion installed on your system, type:

$ svn --version

There are many graphical clients available, which are perhaps easier or more intuitive to use.

Graphical SVN clients

Suggested Graphical SVN clients
Platform Application at FNWI Description
Windows TortoiseSVN Optional for Managed PC's TortoiseSVN is a Windows shell extension, which gives feedback on the state of versioned items by adding overlays to the icons in the Windows Explorer. Repository commands can be executed from the enhanced context menu provided by Tortoise; GPL license.
Linux RadpidSVN Ubuntu systems It's a while since the latest release. Still one of the easiest to use open source SVN gui's for Linux and OSX; GPL license.
Mac OSX -

For more SVN clients, check Comparison of Subversion clients on Wikipedia.

Using SVN

A great resource for learning svn is the book "Version Control with Subversion" wich is published online!

FAQ

How do I login to the Administrative Interface?

Visit https://svn.science.ru.nl/; Click 'Authenticate'.

I forgot my password, how can I reset it?

If you forgot your password you can reset it with the Forgot password? option. You have to specify your login name and the exact e-mail address as registered in the SVN database. You'll recieve an email with a new password. If this fails, please contact C&CZ.