Versions Compared

Key

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

...

Script tagCollector.py has been committed to CVS (grits-tools/python/tagCollector.py). This page has been updated for version 1.1113.

The most recent version of the tagCollector.py script should be used. On SLAC linux, the most recent version is maintained at \

/afs/slac.stanford.edu/g/glast/ground/scripts/tagCollector.py

The previous production version, 1.911, is available as tagCollector_old.py

Note
titleInterface changes

Version 1.13 accepts the value NONE for the --parent option.  In this case, --new=HEAD is not allowed, but you can specify a positive integer, e.g. --new=123 in order to create a tag for HEAD 123.

Version 1.11 has the additional flag --fake. The options --real and --verbose are now also true flags, taking no argument.

Functionality

To start, will just handle the most common Currently handles these activities:

  1. Make a new release tag which is identical to current HEAD build
  2. Make a new HEAD by changing some package tags, adding new packages or removing packages as compared to current HEAD
  3. Make a new HEAD, not based on any previous HEAD. 

There must be If a file packageList.txt, listing all packages and versions in "this" build,  exists belonging to the build at the top level (e.g. ScienceTools-scons/packageList.txt). It is used to determine what gets the new tag in cases 1. and 3. above. tagCollector.py will update it appropriately for 2.

At some point would like to add ability to make a new tag along a branch by updating, adding or removing packages relative to an existing tag on that branch.

...