View source for Using Subversion
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to Using Subversion.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to Using Subversion.
Subversion is a free/open-source version control system. That is, Subversion manages files and directories over time. A tree of files is placed into a central repository. The repository is much like an ordinary file server, except that it remembers every change ever made to your files and directories. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of “time machine”.
If you are using Linux, you are probably don't need more than these very short instructions.
Use svn, the Subversion command line client:
$ svn co http://svn.openmoko.org/trunk /your/path/to/your/working_copy
Replace /your/path/to/your/working_copy with the actual path to the directory into which you wish to use all the GSM files. Or use a . (period) if you're already in that directory.
If your current computer doesn't have Subversion, you might want to use the repository directly to get the latest files. It's not as efficient and powerful as subversion itself, but it might help. You will need to put your gta01 username and password on the command line, since the files require authentication.
Use the wget tool to do it, as follow:
wget -r -np -nH --cut-dirs=1 --user USER --password PASSWD http://svn.openmoko.org/trunk
Thanks to its Unix underpinnings, Mac OS X offers several ways to connect to a repository, ranging from conventional Cocoa applications to the use of a command line. Though anyone should be able to follow any of the methods listed below, users are encouraged to choose the approach that best suits their personal workflow and level of technical skills--particularly if they're using Subversion to update a live site.
Get either SvnX, scplugin, or iSVN. Download one of them and use.
This approach requires permission to use /Applications/Utilities/Terminal.app on your Macintosh (enabled by default) and shell access to your UNIX-based hosting provider. If you do not have access to both of these components, please speak with your system administrator or choose one of the alternate approaches listed above.
Install SVN from the following Metissian Projects Package
Once SVN is installed, take the following steps to checkout the GTA01 sourcode from the SVN repository.
svn co http://svn.openmoko.org/trunk . Make certain there is a space between the last trailing slash and the period -- this will not work properly otherwise. Alternatively, you may get the GTA01 sourcecode without moving into the desired directory before (i.e., combine steps 2 and 3 together), by running the command:
svn co http://svn.openmoko.org/trunk /your/path/to/your/working_copy
Once you have initially setup SVN, you simply need to do the following for all future updates.
# cd /your/path/to/your/working_copy # svn update
These instructions describe how to get the latest GSM sourcecode from the Subversion repository to your Windows machine using a graphical user interface application called TortoiseSVN.
http://svn.openmoko.org/trunk
Complete the following steps to update your local code from the SVN repository.