Difference between revisions of "Subversion"

From SME Server
Jump to navigationJump to search
m (Replaced broken link with a newer (more general) one)
(Updated installation instructions since the RPM is no longer listed in SME Dev repository)
Line 8: Line 8:
  
 
=== Installation ===
 
=== Installation ===
This contrib can be found in the [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/ SME Dev] repository. To install this contrib get shell access as root user and issue the following command:
+
This contrib can no longer be found in the [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/index.html SME Dev] repository due to changes in the policy for this repository. You can still install it from the [http://mirror.contribs.org/smeserver/contribs/jmartens/index.html snetram] repository. If you do not have my repository installed you will have to do so first. {{Repository|snetram}}
  yum install smeserver-subversion --enablerepo=smedev
+
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' ====
 
==== Updating the subversion 'core' ====
Line 15: Line 16:
  
 
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 [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/ SME Dev] repository does not contain the latest release of subversion.
 
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 [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/ 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 [http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/ here], but it is easier to configure  my repository as this will hold a copy of above mentioned RPM.{{Repository|snetram}}
 +
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
  
The latest version available as RPM can be found [http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/ here], but it is easier to configure the dag repository.
+
===== Updating the subversion 'core' from dag =====
{{Repository|dag}}
+
The dag repository also holds the latest version of Subversion.{{Repository|dag}}
 
After that you can update to the latest version available in the dag repository with this command on a SME Server shell:
 
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
 
  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 ===
 
=== Additional information ===

Revision as of 16:15, 11 November 2007

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 .