February 8, 2012, Wednesday, 38

SwissExWiki:SvnRepository

From SwissExperiment

SwissExWiki:SvnRepository
Jump to: navigation, search

SVN File Storage

A version control utility exists on the SwissEx server to enable sharing of large files.

The repository URL is http://www.swiss-experiment.ch/svnrepository


Authentication

The authentication is done by an LDAP server which is also used for the Wiki itself, i.e., username and passwords as well as the group permissions are the same for the wiki as for the repository.


Usage

In the repository we have created folders, one for each Wiki group with read/write permissions only for group members, and public versions, readable (but not writeable) by all registered Wiki users.


There are many tools available to upload/download data from/to the repository:

Mapping under Windows

A very convinient way is to map the above URL as a "hard drive" using Windows explorer: Tools->Map Network Drive-> Sign up for ...or connect to a network server-> ... Then: "Choose another network location" and enter the above url. If there are problems connecting, try http://www.swiss-experiment.ch:80/svnrepository instead. If everything works as planned you have access to the repository, you should only see the folders that you have at least read access to.

SVN Client

Another more convienient possibility to use the repository is to install a subversion client on your local machine. For windows, http://tortoisesvn.tigris.org/ is very convienient and easy to use.

  • Install it (think you need to reboot the machine), then create an empty folder, go in, right click -> Svn checkout-> and enter the above URL. NOTE that this will check out the WHOLE repository (all items that are readable by you). You might want to use SVN -> browse repository to see in which files you are actually interested in etc.
  • To add files, once you checked out a folder, you can simply put files there, and then SVN -> add, then SVN->commit to send changes you made to the server. You can change files as well, but dont forget to commit the changes to the server. If you made changes locally you want to overwrite with the current version from the server, click right on the file: SVN->revert.


How to share files in the Wiki

In the current setup we do not support direct wiki integration. If you have uploaded a big file (for small files, in particular text files, direct upload via the Wiki should be used anyway), just put the external link to the file in your wiki page.