Difference between revisions of "SVN"

From FOG Project
Jump to: navigation, search
(Moved "additional info" to the primary "upgrade to trunk" article.)
Line 1: Line 1:
−
+
= Installation =
−
== Fedora ==
+
Before using subversion (checking out code/FOG) you need to install the proper package on your system first.
  
−
=== Install Subversion ===
+
'''Debian/Ubuntu:'''
−
 
−
sudo yum install subversion
 
  
−
=== Download the package ===
+
sudo yum update && yum install subversion
  
−
cd ~
+
'''CentOS/Fedora/RHEL:'''
−
mkdir svn
 
−
cd svn
 
−
svn checkout https://svn.code.sf.net/p/freeghost/code/trunk
 
−
 
 
−
=== Install It! ===
 
−
 
−
cd ~/svn/trunk/bin
 
−
sudo ./installfog.sh
 
−
 
 
−
== Ubuntu ==
 
−
 
 
−
=== Install Subversion ===
 
−
 
 
−
sudo apt-get update
 
−
sudo apt-get upgrade
 
−
sudo apt-get install subversion
 
  
−
=== Download the package ===
+
sudo apt-get update && apt-get install subversion
  
 +
= Checkout =
 
  cd ~  
 
  cd ~  
−
mkdir svn
+
  svn checkout https://svn.code.sf.net/p/freeghost/code/trunk fogproject
−
cd svn
+
  cd fogproject
−
  svn checkout https://svn.code.sf.net/p/freeghost/code/trunk
+
  ...
−
 
+
You'll find detailed instructions on how to install FOG [[Installation#Installer_options|here]].
−
=== Install It! ===
 
−
 
−
  cd ~/svn/trunk/bin
 
−
  sudo ./installfog.sh
 
−
 
 
−
 
 
−
=== GUI Subversion clients ===
 
  
 +
= GUI Subversion clients =
 
Coming from a Windows background, some people may prefer using a GUI Subversion client, rather than the standard, basic command-line client. If you feel comfortable with a file system browser/explorer integrated Subversion client, then [http://tortoisesvn.tigris.org/ TortoiseSVN] is the best choice - it is extremely popular. <br />
 
Coming from a Windows background, some people may prefer using a GUI Subversion client, rather than the standard, basic command-line client. If you feel comfortable with a file system browser/explorer integrated Subversion client, then [http://tortoisesvn.tigris.org/ TortoiseSVN] is the best choice - it is extremely popular. <br />
  
 
Another tool that is simple to configure and easy to understand, but is a traditional one-window application like Microsoft &trade; Visual Source Safe &trade; is [http://rapidsvn.tigris.org/ RapidSVN]. [http://en.wikipedia.org/wiki/RapidSVN It is cross-platform] and has a simple interface, in one place unlike TortoiseSVN.
 
Another tool that is simple to configure and easy to understand, but is a traditional one-window application like Microsoft &trade; Visual Source Safe &trade; is [http://rapidsvn.tigris.org/ RapidSVN]. [http://en.wikipedia.org/wiki/RapidSVN It is cross-platform] and has a simple interface, in one place unlike TortoiseSVN.

Revision as of 14:18, 16 March 2016

Installation

Before using subversion (checking out code/FOG) you need to install the proper package on your system first.

Debian/Ubuntu:

sudo yum update && yum install subversion

CentOS/Fedora/RHEL:

sudo apt-get update && apt-get install subversion

Checkout

cd ~ 
svn checkout https://svn.code.sf.net/p/freeghost/code/trunk fogproject
cd fogproject
...

You'll find detailed instructions on how to install FOG here.

GUI Subversion clients

Coming from a Windows background, some people may prefer using a GUI Subversion client, rather than the standard, basic command-line client. If you feel comfortable with a file system browser/explorer integrated Subversion client, then TortoiseSVN is the best choice - it is extremely popular.

Another tool that is simple to configure and easy to understand, but is a traditional one-window application like Microsoft ™ Visual Source Safe ™ is RapidSVN. It is cross-platform and has a simple interface, in one place unlike TortoiseSVN.