Difference: CreateNewPackageSVN (25 vs. 26)

Revision 262014-09-08 - BenjaminCouturier

Line: 1 to 1
META TOPICPARENT name="SVNUsageGuidelines"

Instructions for creating a new Package in SVN

Line: 66 to 66
svn import -m "first import of FredComponents under Phys" svn+ssh://svn.cern.ch/reps/lhcb/Analysis/trunk/Phys/FredComponents
svn mkdir -m "create tags and branches directories for Phys/FredComponents" svn+ssh://svn.cern.ch/reps/lhcb/Analysis/tags/Phys/FredComponents svn+ssh://svn.cern.ch/reps/lhcb/Analysis/branches/Phys/FredComponents
Note: if the mkdir command fails, you may need to create the intermediate directories (e.g. the hat "Phys") one by one. A version of the command line client more recent than the one on lxplus5 has the option "--parents" to simplify the process.
Note: Before creating the SVN directory in the "tags" subdirectory, the package must have been imported to the trunk. If not the pre-commit hook will reject the mkdir, with an error message: Failure: Invalid operation on a tag.

Add your new package in the list of known packages in the repository

On a machine where the pico editor is installed (e.g. lxplus, but not lxbuild)
cd $User_release_area
svn co -N svn+ssh://svn.cern.ch/reps/lhcb lhcb_repos
svn pe packages lhcb_repos
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback