Versions Compared

Key

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

...

The CMT Release Manager still expects old style tags of the form vXrYpZ so the tags above need to be converted to the old style tags. This conversion is done in two steps. First, the tagger script writes a history of tags to a file located in /nfs/slac/g/glast/ground/cvs/CVSROOT/tagHistory. The second part of this is a cron job running every minute on glastlnx14. It executes a perl script located in ~glastrm/oldStyleTagger.pl. This script reads the tagHistory file and determines what tags have occurred since the last time it ran (1 minute ago). It determines which packages where tagged with the new style tags and converts them to old style tags. It then applies these old style tags to the package. This cron job has to run as the glastrm account otherwise the two rules above that deny old style tags will apply and the tag will be denied. There's also a testOldStyleTagger.pl which is identical to oldStyleTagger.pl except for not actually executing cvs tag commands. It is used for testing out what the oldStyleTagger.pl would do for debugging purposes.

How to turn off the CVS tagging (in the case of an outage)

  • cvs co CVSROOT/tagger
  • edit CVSROOT/tagger
    insert a useful print statement and exit(1)
  • cvs ci CVSROOT/tagger

It is also a good idea to temporarily point the stag binaries at a "do nothing" script to prevent further tagging attempts via stag.  See:
/afs/slac/g/glast/ground/applications/install
i386_linux26/usr/i386_rhel50/bin     and
amd64_linux26/usr/i386_rhel50/bin

To re-enable tagging, just undo the changes made above.