| 35 | |
| 36 | To install a new version of a NCM component inside SCDB, the easiest is to use [source:SCDB/trunk/src/utils/misc/updateComponent.pl src/utils/misc/updateComponent.pl] script. This script takes care of rebuilding the component from CVS sources (an up-to-date CVS checkout is required), to install templates into SCDB and, optionally to copy the RPM into a RPM repository. The syntax is : |
| 37 | {{{ |
| 38 | src/utils/misc/updateComponent.pl --source /cvs/checkout/path/ncm-components/category \ |
| 39 | --rpmrep /your/component/RPM/repository/path \ |
| 40 | component_name |
| 41 | }}} |
| 42 | |
| 43 | For example, to upgrade `ncm-glite' from `/scrach/source/ncm-components/glite` and install RPM in `/tmp', do : |
| 44 | {{{ |
| 45 | src/utils/misc/updateComponent.pl --source /scrach/source/ncm-components/glite \ |
| 46 | --rpmrep /tmp \ |
| 47 | glite |
| 48 | }}} |
| 49 | |