Source Code

From MagnetoWiki
Jump to navigation Jump to search

Source code, scripts, and configuration files for the Houpt Lab's software, servers and meta-cortex are all stored in the Houpt Lab Source Code Repository. The repository uses the Subversion version control system, and associated software. The Subversion Book is a good introduction and reference to the world of Subversion.

Houpt Lab Repository Access

The Houpt Lab Subversion server is accessed with the following URL:

svn+ssh://houptlab.org/svnroot/

Browsing the Repository

The repository can be viewed from any web browser using the WebSVN interface at:

Houpt Lab Source Code Repository

Mac OS X Client Setup (10.6+)

All the software and scripts for setting up an Subversion client are available on LabDisk in the Software/Subversion folder.

Subversion Setup

Subversion is included with XCode, so install XCode.

Basic Operations with XCode

In the XCode Preference, setup access to the HouptLab repository like this:

XCode Repository Preferences for HouptLab

To import and checkout project directories, use the Repository window (SCM > Repositories):

XCode Repository Preferences for HouptLab

Consult the XCode section on Version Control for details on using XCode with Subversion.

Command-Line and Secure Shell (SSH) Public-Key Encryption Setup

To use Subversion over SSH from the command-line, it is useful to setup SSH keys for password-less login.

Run the Create SSH Key script to generate public and private keys for the current user.

Run the Install Public SSH Key script to copy the public key to the Subversion server (houptlab.org).

Server Setup

The sever is currently running 10.4, which doesn't ship with Subversion. The Subversion client package is installed, which places the Subversion command line tools in /usr/local/bin. Symbolic links are setup in /usr/bin so that Subversion commands are available on the default path.