This page last changed on Jun 29, 2009 by rosie@atlassian.com.

Setting Up a Subversion Repository in Stand-Alone Crucible

To set up Subversion in stand-alone Crucible,

  1. Start Crucible then open the 'Admin' menu by clicking the Administration link in the footer of the page.
  2. Under the 'Repository Settings' heading, click 'Repository List' in the left-hand navigation bar.
  3. The 'Repository List' screen opens.
  4. Find the SVN repository plugin and click its Configure Plugin link.
  5. The 'Configure Plugin' screen opens. Click 'Add Repository'.
  6. The 'Add Repository' screen opens. Fill in the fields.
    || Field || What to enter ||
    Name Choose a unique name for the repository.
    Repository Root Enter the repository root URL for the repository. If you are not sure what the repository root is, please see the instructions below under "Finding your Repository Root".
    Repository Path Add the path on the base URL where your repository. For example, if you used the root URL above, and the full path to your Subversion instance is 'http://svn.example.com/svn5/', you would enter 'svn5' into this field.
    SVN Username Enter the username of the Subversion account that Crucible will use.

    Note that this account should only have read-only access to the repository.
    SVN Password Enter the password of the Subversion account that Crucible will use.


  7. Click 'Save'. The view will return to the list of repositories.
  8. Your Subversion repository is now set up for Crucible. You will be able to select changesets from it when creating reviews.

There is no 'initial scanning' required in this process, as stand-alone Crucible's access to Subversion is strictly on-demand. Data is not cached, hence scanning is not required.

Finding your Repository Root.

Run the following command:

svn info SVN_URL

Where SVN_URL is the complete URL of the repository you want to add.

You will get something like the following:

>svn info http://svn.example.com/svn5/

Path: svn5
URL: http://svn.example.com/svn5/
Repository Root: http://svn.example.com/
Repository UUID: ce062a09-193b-427a-a7b3-a85007076e5d
Revision: 83
Node Kind: directory
Last Changed Author: ryan
Last Changed Rev: 83
Last Changed Date: 2009-05-07 10:48:41 +1000 (Thu, 07 May 2009)

Next to "Repository Root" is the URL you should define as your repository root. The path will be whatever is remaining.

Document generated by Confluence on Jul 09, 2009 19:51