LCG Tag creation



Document identifier: LCG-01-TYP-04
Date: 11 May 2004
Author: Louis Poncet Louis.Poncet@cern.ch
Abstract: This documentation is used by certification and testing group to explain how to create a new tag.

Contents

Introduction

The tag creation for our group is a set of rpms list and configuration files for LCFGng. There is 3 directories rpmlist, source and updaterep. They are containing all files. Those files are stored on the cvs area lcgdeploy (see cvs documentation for details). All scripts in this documentation must be run in the WebGen/bin directory checkout from the cvs.

Tag creation

1) To begin choose a tag name. The convention for lcg-release (the candidate release) is lcgYYYYMMDD, like this lcg20040121 (for the 21th january of 2004).

2) Then check that all files are in the HEAD of the lcg-release.

3) Update updaterep.conf files by replacing the old tag name by the new one in all the file, commit the new version.

4) You can commit your cange the create the tag.

lcg-release> cvs commit
lcg-release> cvs tag lcgYYYYMMDD

Webpages creation

The next part is the creation of the webpages to download rpms. The updaterep.conf file is write to download some pages that are not yet existing in our website.

1) To begin be sure that all require rpms are in the Web repository.

2) Then you have to run gen_webpages.pl script which is in the lcgdeploy cvs area under WebGen/bin. To run this script you have to be log on lxplus, check that $RELDIR is set to lcg-release. Then run the script with the tag name in parameter.

 
cvs co WebGen
cd WebGen/bin
./gen_webpages.pl <new_lcg_tag>

This script will create the requires pages but with a -testNNNNNN suffix. If you have errors at the end of the script check the log file in $LOGDIR and correct the errors (missing rpms in 90``Using file name suffix: $suffix''

3) Next you must check if the new index files seem OK. First you will compare them with a reference version, usually the previous tag:

 
./chk_webpages.pl <new_lcg_tag> <suffix> --diff <ref_lcg_tag> > diff.txt
less diff.txt

Check if there are no unexpected differences.

4) Now you have to publish the webpages on the site (by removing the suffix), it is done with chk_webpages.pl script located in the same place of gen_webpages.pl, to see all possibilities of this script run it without argument. Use this script like this :

./chk_webpages.pl <tag_name> $suffix --install
./chk_webpages.pl <tag_name> --publish

The tag creation if finish.

About this document ...

GD internal

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.70)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 -html_version 4.0 -no_navigation -address 'GRID deployment' Tag-howto.drv_html

The translation was initiated by Louis Poncet on 2004-05-11


GRID deployment