Subversion

From SME Server
Revision as of 18:36, 1 November 2007 by Cactus (talk | contribs) (Replaced broken link with a newer (more general) one)
Jump to navigation Jump to search

Subversion for SME Server

Maintainer

Jonathan Martens

Description

This contrib provides subversion over http and https for SME Server, it won't provide other means of subversion like the svn protocol or the ssh+svn protocol. It will also install a panel in the server-manager to administrate your subversion repositories.

Installation

This contrib can be found in the SME Dev repository. To install this contrib get shell access as root user and issue the following command:

yum install smeserver-subversion --enablerepo=smedev

Updating the subversion 'core'

The smeserver-subversion contrib does not contain the subversion package itself, as this removes the need of releasing a new contrib every time a new subversion version is released.

This contrib is meant to tie it in to SME Server. The command in the installation section will install the latest subversion version yum can find in the enabled repositories. Unfortunately the SME Dev repository does not contain the latest release of subversion.

The latest version available as RPM can be found here, but it is easier to configure the dag repository.

The following command will configure the dag repository on SME Server. EDIT NOT COMPLETE!


To create an entry in the database for the epel repository we open put the following commands in a terminal window or in a shell window:

/sbin/e-smith/db yum_repositories set epel repository \

Name 'SME Server - epel' \
BaseURL 'http://<http://download.fedoraproject.org/pub/epel/7/$basearch' \
EnableGroups yes \
GPGCheck yes \
Visible no \
status disabled

To enable the changes:

    signal-event yum-modify

Just to be sure, give yum a fresh start:

    yum clean all

After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

After that you can update to the latest version available in the dag repository with this command on a SME Server shell:

yum update subversion --enablerepo=dag

If you already have the dag repository configured and have not installed smeserver-subversion you can do it all at once:

yum install smeserver-subversion --enablerepo=smedev --enablerepo=dag

Additional information

More information about subversion can be found on the Subversion site, the online copy of the book Version Control with Subversion or at this page on my website.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-subversion component or use this link .