www.XuvTools.org
Table of ContentsAvailable XuvTools Tags and BranchesFor tags, the tag name pattern “xuvtools-<Major>.<Minor>.<Patch>” should be used. For branches, the branch name pattern “xuvtools-<Major>.<Minor>.x” should be used. For branches, the patch level is undefined because from this branch, higher patch levels may originate.
Tagging and Branching XuvTools Releases in SubversionCreating a tag or branch is done in subversion by creating a 'cheap' copy of a certain revision of the repository. Details can be found here: http://svnbook.red-bean.com/en/1.1/ch04s06.html. Creating a tag for a release version of XuvTools, i.e. xuvtools-1.5.0 release: svn copy -r 2768 -m "XuvTools Release 1.5.0" \ svn://tim.informatik.uni-freiburg.de/lmbsoft/trunk \ svn://tim.informatik.uni-freiburg.de/lmbsoft/tags/xuvtools-1.5.0 Since we do not need (or want) to tag the whole trunk directory, we can select the individual parts we need: TAG_REVISION="3176" TAG_NAME="xuvtools-1.7.0" TAG_DIRS="libBlitzFFTW libBlitzHDF5 libBlitzNetCDF libGenFile \ libcmdline project thirdparty xuvtools xuvtools_gui" svn mkdir -m "created base directory for ${TAG_NAME} tag" \ svn://tim.informatik.uni-freiburg.de/lmbsoft/tags/${TAG_NAME} for DIR in ${TAG_DIRS} ; do svn copy -r ${TAG_REVISION} -m "tagged ${TAG_NAME} (${DIR}) from trunk r${TAG_REVISION}" \ "svn://tim.informatik.uni-freiburg.de/lmbsoft/trunk/${DIR}" \ "svn://tim.informatik.uni-freiburg.de/lmbsoft/tags/${TAG_NAME}/${DIR}" \ || break done Branching is done in the exact same way, by changing the server directory to svn://tim.informatik.uni-freiburg.de/lmbsoft/branches/. RELEASE_REVISION="2768" svn mkdir -m "created base directory for xuvtools-1.5.x release branch" \ svn://tim.informatik.uni-freiburg.de/lmbsoft/branches/xuvtools-1.5.x BRANCHDIRS="libBlitzFFTW libBlitzHDF5 libBlitzNetCDF \ libGenFile libcmdline project thirdparty xuvtools \ xuvtools_gui" for DIR in ${BRANCHDIRS} ; do svn copy -r ${RELEASE_REVISION} -m "branched xuvtools-1.5.x ${DIR}" \ "svn://tim.informatik.uni-freiburg.de/lmbsoft/trunk/${DIR}" \ "svn://tim.informatik.uni-freiburg.de/lmbsoft/branches/xuvtools-1.5.x/${DIR}" \ || break done More Hands-On Examples for SubversionListing the available base directories of the lmbsoft subversion repository: svn ls svn://tim.informatik.uni-freiburg.de/lmbsoft branches/ tags/ trunk/ Listing the available modules in the trunk directory: svn ls svn://tim.informatik.uni-freiburg.de/lmbsoft/trunk [...] libBlitzFFTW/ libBlitzHDF5/ libBlitzNetCDF/ libGenFile/ libcmdline/ project/ thirdparty/ xuvtools/ xuvtools_gui/ |
|||||||||||
|