Subversion

From SME Server
Revision as of 17:15, 11 November 2007 by Cactus (talk | contribs) (Updated installation instructions since the RPM is no longer listed in SME Dev repository)
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 no longer be found in the SME Dev repository due to changes in the policy for this repository. You can still install it from the snetram repository. If you do not have my repository installed you will have to do so first. The following command will configure the snetram repository on SME Server. Snetram After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

To install this contrib get shell access as root user and issue the following command:

yum install smeserver-subversion --enablerepo=snetram

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.

Updating the subversion 'core' from snetram (RPM officially released by subversion)

The latest version available as RPM can be found here, but it is easier to configure my repository as this will hold a copy of above mentioned RPM. The following command will configure the snetram repository on SME Server. Snetram 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 snetram repository with this command on a SME Server shell:

yum update subversion --enablerepo=snetram
Updating the subversion 'core' from dag

The dag repository also holds the latest version of Subversion. 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

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 .