Getting the Sources (with git)
Posted by coldtobi | 17 Jun, 2009, 21:16This project uses git to manage its source code.
To understand how to get the right code, please read how branches and tags are used.
branches
Currently the project uses this branches to maintain the code:
- To get the current (stable) release, use the master branch. This is the same version as downloading the archive file from sf.net
- Newer code will go into the testing branch. This branch is guaranteed to compile, but might not always work as expected.
- trunk is the newest one, the front. The code should compile, but noones say that it will work at all.
Used Tags
A tag "solarpowerlog-<version>" is generated for every released version.For example, with solarpowerlog-0.01 version 0.01 is marked.
(It may also be used to tag some versions, like release candiates.)
Get the code
to get the code of your desired branch, use
git init
git pull --tags git://solarpowerlog.git.sourceforge.net/gitroot/solarpowerlog/solarpowerlog <branch>
Note: If you omit <branch> you'll get the (default) master branch. "--tags" makes sure that you also get the tag informations.
Development | Comments (0) | Trackbacks (0)