Subversion: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
UMIACS provides a centrally managed [[Subversion]] service.
{{note|This page is maintained for legacy reasons. You are encouraged to prefer [[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 provides a centrally managed Subversion service.
 
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=
=Getting Started with Subversion=
Line 27: Line 29:
==Collab.net Subversion Packages==
==Collab.net Subversion Packages==


These are well packaged subversion command line packages.  You can find ones for Windows, Mac OS X and Solaris.  Please see the community downloads for Mac OS X.
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
http://www.open.collab.net/downloads


==Security Considerations==
==Security Considerations==
Command line subversions store your password be default on linux, so you should be careful. In order to disable this for a one time command you can pass the --no-auth-cache option. In order to disable password caching completely, add the line: "store-passwords = no" to the subversion configuration file on your machine.
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==
==Graphical Clients==
Line 39: Line 48:


* Windows - http://tortoisesvn.tigris.org
* Windows - http://tortoisesvn.tigris.org
* Mac OS X - http://scplugin.tigris.org
* macOS - http://scplugin.tigris.org


===Other Clients===
===Other Clients===


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

Latest revision as of 17:31, 2 October 2018

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

UMIACS provides a centrally managed Subversion service.

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