HowTo Quickly Get A Project Started With Subversion

From NST Wiki
Revision as of 09:19, 27 May 2010 by Rwh (talk | contribs)
Jump to navigationJump to search

This HowTo will show by example how to quickly started with a new Subversion project once you have created a Subversion repository using the NST WUI.

  1. Use the NST WUI menu and navigate to the "Subversion Manager" page.
  2. Create a new Subversion repository (Ex: "silver") with description.
  3. Create a Subversion user using Action: "U" (Ex: "user1").
  4. Go to the client system that has both a "Subversion" client installed and network access to the NST system where you created the "Subversion" repository in "Step: 2" (***Note: Most Operating Systems (i.e., Windows, Linux, UNIX, BSD, Solaris and Mac OS X) support either a command line or GUI based "Subversion" client.)
  5. Create a top level directory where you want to build out your project (Ex: "/opt/development") and change directory (cd) to the it.
[root@probe-eth0 ~]# mkdir -p /opt/development
[root@probe-eth0 ~]# cd /opt/development
[root@probe-eth0 development]#
  1. Check out your project now for the first time:
 [root@probe-eth0 development]# svn --username user1 checkout https://10.222.222.117/svn-silver/silver
 Error validating server certificate for 'https://10.222.222.117:443':
  - The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
 Certificate information:
  - Hostname: 10.222.222.117
  - Valid: from Wed, 31 Mar 2010 15:06:20 GMT until Sat, 28 Mar 2020 15:06:20 GMT
  - Issuer: My New Company, Albany, New York, US
  - Fingerprint: d5:8a:ff:7a:ca:a4:7d:f3:aa:3a:a1:db:9e:ff:c6:46:5f:53:b7:b4
 (R)eject, accept (t)emporarily or accept (p)ermanently? p
 Authentication realm: <https://10.222.222.117:443> Subversion Repository (silver)
 Password for 'user1':

 -----------------------------------------------------------------------
 ATTENTION!  Your password for authentication realm:

    <https://10.222.222.117:443> Subversion Repository (silver)

 can only be stored to disk unencrypted!  You are advised to configure
 your system so that Subversion can store passwords encrypted, if
 possible.  See the documentation for details.
 You can avoid future appearances of this warning by setting the value
 of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
 '/root/.subversion/servers'.
 -----------------------------------------------------------------------
 Store password unencrypted (yes/no)? no
 Checked out revision 0.
 [root@probe-eth0 development]#