Difference between revisions of "ApCoCoA-1:SourceCodeManagement"
Line 1: | Line 1: | ||
− | The ApCoCoALib sources are managed with | + | The ApCoCoALib sources are managed with subversion. |
− | ==Downloading and installing | + | ==Downloading and installing subversion== |
− | + | Go to the [http://subversion.tigris.org/ subversion website]. Then download and install the right version for your operating system. | |
− | + | ||
− | + | ==Composition of the svn-repository== | |
+ | |||
+ | The complete ApCoCoA-repository contains two subrepositories, one for ApCoCoALib and one for ApCoCoAPackages: | ||
+ | |||
+ | <pre> | ||
+ | ~$ cd repo | ||
+ | ~/repo$ ls | ||
+ | ApCoCoALib ApCoCoAPackages | ||
+ | </pre> | ||
+ | |||
+ | Each of the subrepositories is subdivided into three directories: | ||
+ | |||
+ | <pre> | ||
+ | ~/repo$ cd ApCoCoALib/ | ||
+ | ~/repo/ApCoCoALib$ ls | ||
+ | branches tags trunk | ||
+ | </pre> | ||
+ | |||
+ | In '''tags''' are all stable versions, i.e. at the moment ApCoCoA-1.0, and in '''trunk''' is the current version of the ApCoCoA sources: | ||
+ | |||
+ | <pre> | ||
+ | ~/repo/ApCoCoALib$ cd tags/ | ||
+ | ~/repo/ApCoCoALib/tags$ ls | ||
+ | release-1.0 | ||
+ | </pre> | ||
==Checking out sources== | ==Checking out sources== | ||
− | To check out the current ApCoCoALib sources run | + | * To check out the '''complete repository''', i.e. the ApCoCoALib sources and the (Ap)CoCoA-packages, run<br /><pre>svn co svn://apcocoa.org/ <target directory></pre>or<br /><pre>svn co svn://apcocoa.fim.uni-passau.de/ <target directory></pre>from the command line. |
− | + | * To check out only the current '''ApCoCoALib''' sources run<br /><pre>svn co svn://apcocoa.org/ApCoCoALib <target directory></pre>or<br /><pre>svn co svn://apcocoa.fim.uni-passau.de/ApCoCoALib <target directory></pre>from the command line. | |
− | from the command line. | + | * To check out only the current '''ApCoCoAPackages''' sources run<br /><pre>svn co svn://apcocoa.org/ApCoCoAPackages <target directory></pre>or<br /><pre>svn co svn://apcocoa.fim.uni-passau.de/ApCoCoAPackages <target directory></pre>from the command line. |
==Updating the sources== | ==Updating the sources== | ||
− | To update your | + | To update your ApCoCoA sources, run |
− | + | ||
− | + | <pre> | |
− | in your local repository from the command line | + | ~/repo$ svn update |
+ | </pre> | ||
+ | |||
+ | in your local repository from the command line. | ||
+ | |||
+ | ==The Mercurial repository== | ||
+ | |||
+ | The old mercurial repository will be kept alive but will be no longer supported and updated! Although if you prefer the mercurial repository you can look at the old [[ApCoCoA:SourceCodeManagement_Hg|sourcecode management page]] for working with mercurial. | ||
− | == | + | ==Subversion Help== |
− | *[http:// | + | * [http://subversion.tigris.org/ www.subversion.tigris.org] |
− | + | * [http://svnbook.red-bean.com/ www.svnbook.red-bean.com] | |
− | *[http:// | ||
− | |||
− | |||
− | |||
− | |||
[[Category:ApCoCoA|{{PAGENAME}}]] | [[Category:ApCoCoA|{{PAGENAME}}]] | ||
[[Category:ApCoCoALib|{{PAGENAME}}]] | [[Category:ApCoCoALib|{{PAGENAME}}]] |
Revision as of 13:27, 16 February 2009
The ApCoCoALib sources are managed with subversion.
Downloading and installing subversion
Go to the subversion website. Then download and install the right version for your operating system.
Composition of the svn-repository
The complete ApCoCoA-repository contains two subrepositories, one for ApCoCoALib and one for ApCoCoAPackages:
~$ cd repo ~/repo$ ls ApCoCoALib ApCoCoAPackages
Each of the subrepositories is subdivided into three directories:
~/repo$ cd ApCoCoALib/ ~/repo/ApCoCoALib$ ls branches tags trunk
In tags are all stable versions, i.e. at the moment ApCoCoA-1.0, and in trunk is the current version of the ApCoCoA sources:
~/repo/ApCoCoALib$ cd tags/ ~/repo/ApCoCoALib/tags$ ls release-1.0
Checking out sources
- To check out the complete repository, i.e. the ApCoCoALib sources and the (Ap)CoCoA-packages, run
svn co svn://apcocoa.org/ <target directory>
orsvn co svn://apcocoa.fim.uni-passau.de/ <target directory>
from the command line. - To check out only the current ApCoCoALib sources run
svn co svn://apcocoa.org/ApCoCoALib <target directory>
orsvn co svn://apcocoa.fim.uni-passau.de/ApCoCoALib <target directory>
from the command line. - To check out only the current ApCoCoAPackages sources run
svn co svn://apcocoa.org/ApCoCoAPackages <target directory>
orsvn co svn://apcocoa.fim.uni-passau.de/ApCoCoAPackages <target directory>
from the command line.
Updating the sources
To update your ApCoCoA sources, run
~/repo$ svn update
in your local repository from the command line.
The Mercurial repository
The old mercurial repository will be kept alive but will be no longer supported and updated! Although if you prefer the mercurial repository you can look at the old sourcecode management page for working with mercurial.