...
Script tagCollector.py has been committed to CVS (grits-tools/python/tagCollector.py). This page has been updated for version 1.22 27 for which the bulk of the work is done in batch under certain circumstances and which has new options, --submit_batch and --log.
...
Note | ||
---|---|---|
| ||
Version 1.27 changes default output to email. If --log option is used, output will go to specified file |
...
CVS Version: $Id: tagCollector.py,v 1.22 27 2011/09/01 16:14:36 jrb Exp $
See also https://confluence.slac.stanford.edu/x/GgFyBQ
...
-b BRANCH, --branch=BRANCH
Bracnh along with to make tag. packageList.txt,
containerNotes.txt and ChangeLog will come from this
branch. [default: MAIN]
-u UPGRADEFILE, --upgrade_list=UPGRADEFILE
File listing packages to upgrade, add or remove; used
only when creating a new HEAD [default: upgrade.txt]
-r, --real Really do it. Job is submitted to batch; email will be sent to
relmanlist. Implies --verbose [default: not set]
-f, --fake Just print what we *would* do [default: yes]
-v, --verbose If set show all cvs command output [default: not set]
-s, --submit_batch Forces submit to batch even if --fake
-l LOGFILE, --log=LOGFILE
Batch log file path [default: $HOME/tagCollector.logno log file; send email instead]
--internal
In this version PARENT can only be HEAD on NONE.
...
and here is part of the output when it was used as the value for upgrade_list.
No Format |
---|
jrb@noric11 $ python tagCollector.py --new=HEAD --fake ScienceTools
tagCollector.py was invoked with argument ScienceTools and options
parent= HEAD
new= HEAD
upgrade_list= upgrade.txt
branch= MAIN
for_real= False
verbose= False
CVS version: $Id: tagCollector.py,v 1.20 2011/08/01 17:42:02 jrb Exp $
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rlog -h ScienceTools-scons/SConstruct
lastHeadTag is: ScienceTools-HEAD-1-896
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rlog -h ScienceTools-scons/packageList.txt
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rlog -h ScienceTools-scons/packageList.txt
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs co -r ScienceTools-HEAD-1-896 ScienceTools-scons/packageList.txt
Found changed package: tip
Found changed package: dataSubselector
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs update -A ScienceTools-scons/packageList.txt
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs commit -m "tagCollector.py updating pkg list"
ScienceTools-scons/packageList.txt
Just fooling; it wasn't for real
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rlog -h ScienceTools-scons/containerNotes.txt
No containerNotes.txt file found for ScienceTools-scons
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag ScienceTools-HEAD-1-897 ScienceTools-scons/ChangeLog
Just fooling; it wasn't for real
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag ScienceTools-HEAD-1-897 ScienceTools-scons/packageList.txt
Just fooling; it wasn't for real
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag -r xmlBase-05-05-10 ScienceTools-HEAD-1-897 xmlBase
Just fooling; it wasn't for real
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag -r astro-03-11-11 ScienceTools-HEAD-1-897 astro
Just fooling; it wasn't for real
?(followed by many similar lines tagging all the individual packages comprising ScienceTools.
The last one is always SConsFiles:)
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag -r SConsFiles-00-12-01 ScienceTools-HEAD-1-897 SConsFiles
Just fooling; it wasn't for real
|
...