Difference between revisions of "SVN Access"

From Studio Grow Wiki
Jump to: navigation, search
m
Line 19: Line 19:
 
## Port: 7822
 
## Port: 7822
 
## Protocol: SSH
 
## Protocol: SSH
## Saved Sessions: RPSVN
+
## Saved Sessions: GrowSVN
 
## Connection->Data->auto-login username: oshroth
 
## Connection->Data->auto-login username: oshroth
 
## Connection->SSH->preferred protocol: 2
 
## Connection->SSH->preferred protocol: 2
Line 33: Line 33:
 
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:
 
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:
 
<blockquote>
 
<blockquote>
svn+ssh://RPSVN/
+
svn+ssh://GrowSVN/
 
</blockquote>
 
</blockquote>
  
Line 46: Line 46:
 
To start working with SVN (initially):
 
To start working with SVN (initially):
 
# Right-click a folder that you want to add to version control and select SVN Checkout...
 
# Right-click a folder that you want to add to version control and select SVN Checkout...
# Enter svn+ssh://RPSVN/branches/<your name lowercase>/
+
# Enter svn+ssh://GrowSVN/branches/<your name lowercase>/
 
# Click OK
 
# Click OK
 
# You will receive an warning about a non-empty folder, click OK
 
# You will receive an warning about a non-empty folder, click OK

Revision as of 21:04, 9 January 2014

How To: Gain Access To SVN Repository On Windows

Requires:

  • Run PuTTYgen
    1. Click Conversions->Import Key...
    2. Navigate to and select your private key
    3. Click Actions->Save Private Key
    4. Save the putty private key file somewhere
    5. Close PuTTYgen


  • Run Putty and make a new session:
    1. Hostname: 75.98.165.66
    2. Port: 7822
    3. Protocol: SSH
    4. Saved Sessions: GrowSVN
    5. Connection->Data->auto-login username: oshroth
    6. Connection->SSH->preferred protocol: 2
    7. Connection->SSH->Auth->private key file: path\to\privatekey.ppk
    8. Click "Save" on the sessions panel to save this config.
    9. Click Open to test your session.

The following window should appear if the test was successful:

Putty success.png

If an error message appears, double check all your details are correct and try again. If the problem persists contact Tim.

Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:

svn+ssh://GrowSVN/

The easiest way to test that you have the correct URL format is to attempt the following:

  1. Right-click on any Windows folder and choosing TortoiseSVN->repo-browser.
  2. Input the URL as described above
  3. Attempt to browse the repository. If everything is correct you will be able to browse it without receiving error messages.

[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection. This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.]

To start working with SVN (initially):

  1. Right-click a folder that you want to add to version control and select SVN Checkout...
  2. Enter svn+ssh://GrowSVN/branches/<your name lowercase>/
  3. Click OK
  4. You will receive an warning about a non-empty folder, click OK
  5. Once the checkout finishes, click OK
  6. Right-click the folder again and select SVN Commit...
  7. Enter the same URL as before and click OK