Difference between revisions of "Source Code"

From MagnetoWiki
Jump to navigation Jump to search
(Added ZigVersion License code)
(Added server URL for easy setup.)
Line 1: Line 1:
 
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 [http://subversion.tigris.org/ Subversion version control system], and associated software. The [http://svnbook.red-bean.com/ Subversion Book] is a good introduction and reference to the world of Subversion.
 
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 [http://subversion.tigris.org/ Subversion version control system], and associated software. The [http://svnbook.red-bean.com/ 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==
 
==Browsing the Repository==
  
The repository can be viewed online using the [http://websvn.tigris.org/ WebSVN] interface at:
+
The repository can be viewed from any web browser using the [http://websvn.tigris.org/ WebSVN] interface at:
  
 
[http://houptlab.org/xtechops/websvn/ Houpt Lab Source Code Repository]
 
[http://houptlab.org/xtechops/websvn/ Houpt Lab Source Code Repository]

Revision as of 16:02, 13 March 2007

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

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

Subversion Setup

Install the Subversion client package, which places the Subversion command line tools on the local Mac in /usr/local/bin.

Run the Install usr-local-bin on PATH script to ensure that /usr/local/bin is placed on the PATH environment variable by modifying the account's .bash_profile.

To confirm that Subversion is correctly installed and available on the PATH, open a Terminal window and execute the follow command to display the version number.

$ svn --version

Secure Shell (SSH) Public-Key Encryption Setup

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).

Basic Operations with ZigVersion

ZigVersion is a well-designed Mac OS X Subversion client. A local copy of ZigVersion can be found on LabDisk in the Software/Subversion Folder. ZIgVersion requires a License Code after the 30-day Demo.

Houpt Lab Non-Commercial ZigVersion License Code:

ZL012100ZigVersion
Tom Houpt, Ph.D., Florida State University
houpt@neuro.fsu.edu
MCwCFAInthqs1RqT5Ohp0BMUvUrDhY+ZAhQF0QoQyMZVzDVYPbNqs2zhC9+L/Q==


Importing Projects

To import a project folder into the Subversion repository, drag the project folder from the Finder and drop it in the ZigVersion browser window at the desired location (typically under the repository root).

Basic Operations with XCode

Although XCode supports many Subversion operation, it doesn't support checking out (or importing) a project directory. So, to checkout an existing project directory, use 'svn checkout' from a Terminal. For example, use the following to checkout the 'testproj' directory from the repository and place it in the 'testproj-work' folder in your home directory:

$ svn checkout svn+ssh://houptlab.org/svnroot/testproj ~/testproj-work

Now open ~/testproj-work/testproj.xcodeproj, and use it normally (change, add, delete, rename files, etc).

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

Server Setup