Follow this page! | Delete Record CLI script for Change |
| Thursday, 25 March 2010 00:00 |
|
This is a Perl trigger to delete CRs on a Telelogic Change server from a shell. It is intended to administrators, but be warned that the operation is irreversible. This script can be a Weapon of Mass Destruction for your database. When piped with the get_report.pl script, it allows to query and delete a set of CRs (e.g. from a project) in one command. Think twice before using.
Usage is displayed when invoked with no argument:
[boris@samarcande ~]$ perl -I /home/boris/Projects/csapi/ delete_record_5.pl [boris@samarcande ~]$ perl -I /home/boris/Projects/csapi/ delete_record_5.pl -v 154 [boris@samarcande ~]$ perl -I /home/boris/Projects/csapi/ delete_record_5.pl -v 154 Developped and tested on Unix -- should be crossplatform. delete_record_4.pl is tested with Change 4.3, 4.4 -- should run with Change 4.5, 4.6, 4.7. delete_record_5.pl is tested with Change 5.2 -- should run with Change 5.0 and 5.1.
|