Note: This web site is only kept up to date for OSG Software 1.2 (VDT 2.0.0). If you are looking for information for the most recent release, the RPM-based OSG Software 3.0, please see the OSG documentation web site

Purpose

To use mash to regularly pull completed RPMs from koji and update our yum repositories with them.

The Script

The script lives in our subversion as software/tools/osg-repo-mash.py

Method of Execution

This script will run on regular.cs.wisc.edu as a cron job owned by cndrutil. The script is run from a subversion checkout at /p/vdt/workspace/mash/tools via the helper scripts osg-development-mash.sh, osg-testing-mash.sh and (eventually) osg-production-mash.sh. It takes about 15 to 30 minutes to run and completely ties up the machine due to AFS being slow. Therefore, the development repo is updated only every 2 hours, and the testing repo every 6 hours. A lock file is created, preventing multiple instances of the script from updating the same repo at the same time.

Configuration

/p/vdt/workspace/mash/etc contains the configuration files. Not all of them are used by this script. The important files are:

Future plans

Eventually, the GOC will be hosting the main OSG repos, and we'll be mirroring them. So all of this will go away. We don't have a good timeline for when this will happen yet.