Subversion: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
UMIACS provides a centrally managed [[Subversion]] service.
{{note|This page is maintained for legacy reasons. You are required to use [[GitLab]] for version control.|gotcha}}


To have a [[Subversion]] repository created you need to just email [mailto:staff@umiacs.umd.edu staff] and provide the name of your repository and how much initial space you think you will need.
'''UMIACS used to provide a centrally managed Subversion service. However as of June 21, 2024, this service has now been fully deprecated.'''
 
To have a Subversion repository created you need to just email [mailto:staff@umiacs.umd.edu staff] and provide the name of your repository and how much initial space you think you will need.


We will give you a [[URL]] back with the server https://subversion.umiacs.umd.edu in it.
We will give you a [[URL]] back with the server https://subversion.umiacs.umd.edu in it.


By default we will configure all repositories to be private and require authentication for both reading and writing to the [[Subversion]] repository.  Authentication is done against our [[LDAP]] and if requested we can enable a UMIACS user to manage the [[ApplicationResource|AR]] with our [[ApplicationResourceUtil]] found at https://intranet.umiacs.umd.edu/arutil.
By default we will configure all repositories to be private and require authentication for both reading and writing to the Subversion repository.  Authentication is done against our [[LDAP]] using [[SecGroups]].
 
=Getting Started with Subversion=
 
You will first need to check out your repository,
 
  svn co https://subversion.umiacs.umd.edu/my_url
 
This will create a directory in your current working directory with the name of the last part of the URL you just checked out.
 
  cd my_url
 
You can now add files by the '''svn import''' command, '''svn add''' can be used to add file that you have created but is not under revision control yet.
 
For more information please see the defacto book on [[Subversion]] in [http://svnbook.red-bean.com/en/1.4/svn-book.html HTML] or [http://svnbook.red-bean.com/en/1.4/svn-book.pdf PDF]
 
=Clients=
 
Most Linux distributions include subversion clients in the distribution including all our [[OSSupport|Red Hat Enterprise Linux]] clients.
 
==Collab.net Subversion Packages==
 
These are well packaged subversion command line packages.  You can find ones for Windows, macOS and Solaris.  Please see the community downloads for macOS.
 
http://www.open.collab.net/downloads
 
==Security Considerations==
Command line subversions store your password be default on linux, so you should be careful. In order to disable password caching completely, add the line: "store-passwords = no" to the subversion configuration file on your machine. In order to disable caching for a one time command you can pass the --no-auth-cache option.
 
==Server Certificate Verification on macOS==
The command-line svn tool that is bundled with macOS through Xcode does not correctly handle the UMIACS subversion server certificate.  In order to verify that you are actually connecting to UMIACS, verify that the following fingerprint matches:
 
  Fingerprint: cb:4f:c6:74:3e:1a:27:d3:55:e7:4b:5a:89:af:e4:c4:95:ce:fe:32
 
If this fingerprint matches, you can safely accept the certificate.
 
==Graphical Clients==
 
===OS Integration===
 
* Windows - http://tortoisesvn.tigris.org
* macOS - http://scplugin.tigris.org
 
===Other Clients===
 
http://subversion.tigris.org/links.html#clients

Latest revision as of 20:37, 26 June 2024

Exclamation-point.png This page is maintained for legacy reasons. You are required to use GitLab for version control.

UMIACS used to provide a centrally managed Subversion service. However as of June 21, 2024, this service has now been fully deprecated.

To have a Subversion repository created you need to just email staff and provide the name of your repository and how much initial space you think you will need.

We will give you a URL back with the server https://subversion.umiacs.umd.edu in it.

By default we will configure all repositories to be private and require authentication for both reading and writing to the Subversion repository. Authentication is done against our LDAP using SecGroups.

Getting Started with Subversion

You will first need to check out your repository,

  svn co https://subversion.umiacs.umd.edu/my_url

This will create a directory in your current working directory with the name of the last part of the URL you just checked out.

 cd my_url

You can now add files by the svn import command, svn add can be used to add file that you have created but is not under revision control yet.

For more information please see the defacto book on Subversion in HTML or PDF

Clients

Most Linux distributions include subversion clients in the distribution including all our Red Hat Enterprise Linux clients.

Collab.net Subversion Packages

These are well packaged subversion command line packages. You can find ones for Windows, macOS and Solaris. Please see the community downloads for macOS.

http://www.open.collab.net/downloads

Security Considerations

Command line subversions store your password be default on linux, so you should be careful. In order to disable password caching completely, add the line: "store-passwords = no" to the subversion configuration file on your machine. In order to disable caching for a one time command you can pass the --no-auth-cache option.

Server Certificate Verification on macOS

The command-line svn tool that is bundled with macOS through Xcode does not correctly handle the UMIACS subversion server certificate. In order to verify that you are actually connecting to UMIACS, verify that the following fingerprint matches:

 Fingerprint: cb:4f:c6:74:3e:1a:27:d3:55:e7:4b:5a:89:af:e4:c4:95:ce:fe:32

If this fingerprint matches, you can safely accept the certificate.

Graphical Clients

OS Integration

Other Clients

http://subversion.tigris.org/links.html#clients