Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
# Upgrade for ScienceTools
// another sort of commentComments can start with a '#' as above or with a slash

 u  dataSubselector dataSubselector 08-02-01
 u  tip             tip-02-17-01

#  One can also add or remove packages from HEAD, e.g.
#  a  myNewPackage   myNewPackage-00-00-01
#  r  obsoletePackage

and here is part of the output when it was used as the value for upgrade_list.

No Format
jrb@noric11 $ python tagCollector.py ScienceTools --new=HEAD
tagCtn --fake ScienceTools
tagCollector.py  was invoked with argumentargument  ScienceToolsScienceTools  and options
parent= HEAD
new= HEAD
upgrade_list= upgrade.txt
for_real= False
verbose= False
 
about to issue command
cvs rlog-d /nfs/slac/g/glast/ground/cvs  rlog  -bh ScienceTools-scons/SConstruct
lastHeadTag is:  ScienceTools-HEAD-1-823
-896
 
about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs  rlog -h ScienceTools-scons/packageList.txt
 
about to issue command
cvs rtag -r ScienceTools-HEAD-1-823 ScienceTools-HEADTMP-1-824 ScienceTools-scons
Just fooling; it wasn't for real
 -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 rtag -d ScienceTools-HEADTMP-1-824 facilities -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 rtag -r facilities-02-19-02 ScienceTools-HEADTMP-1-824 facilities -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 rtag -d /nfs/slac/g/glast/ground/cvs rtag ScienceTools-HEADTMPHEAD-1-824 sourcelike897 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 xmlUtilxmlBase-0305-0405-0110 ScienceTools-HEADTMPHEAD-1-824897 xmlUtilxmlBase
Just fooling; it wasn't for real

about to issue command
cvs -d /nfs/slac/g/glast/ground/cvs rtag -r ScienceToolsastro-HEADTMP03-111-82411 ScienceTools-HEAD-1-824897 ScienceTools-sconsastro
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 -dr SConsFiles-00-12-01 ScienceTools-HEADTMPHEAD-1-824897 ScienceTools-sconsSConsFiles
Just fooling; it wasn't for real

If the value of for_option --real had been Trueused, the cvs commands appearing in the output all would have been executed.  Since it was False for this run,  only the read-only cvs command which actually was executed was the first one (cvs rlog ..) since it's a read-only command which does not affect the repositorycommands, like the initial cvs rlog, were executed.

The overall strategy in the make-new-HEAD case shown above is

...