Author: lkundrak
Update of /cvs/fedora/fedora-security/tools/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29915/scripts
Modified Files: Tag: lkundrak-tools-ng add-tracking-bugs Log Message: I gorribly broke a-t-b, fixing now a bit, needs tidyup
Index: add-tracking-bugs =================================================================== RCS file: /cvs/fedora/fedora-security/tools/scripts/Attic/add-tracking-bugs,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- add-tracking-bugs 9 Jan 2008 21:42:38 -0000 1.1.2.3 +++ add-tracking-bugs 10 Jan 2008 18:01:25 -0000 1.1.2.4 @@ -4,7 +4,7 @@ # File a bugs for specified versions and add dependencies # Lubomir Kundrak lkundrak@redhat.com
-my $usage = 'add-cve-bug [options...] +my $usage = 'add-tracking-bugs [options...] --bugs=<bug>[,...] Parent bugs --versions=<ver>[,...] Affected Fedora versions --component=<pkg> Affected package, to find owner to CC (mandatory) @@ -73,12 +73,8 @@ 'debug' => $debug, });
-# Get parent bugs +# All the work (not the one that makes Jack a dull boy)
my $parent_bugs = $bugzilla->get_bugs (@bugs, ['alias','keywords','priority','bug_id', 'bug_severity', 'short_short_desc']); -print Dumper ($parent_bugs) if $debug; - my $tracking_bugs = Libexig::Fedora::tracking_bugs ($parent_bugs, $component, @versions); - -use Data::Dumper; -print Dumper ($tracking_bugs); +print STDERR Libexig::Fedora::file_tracking_bugs ($parent_bugs, $tracking_bugs, $bugzilla, $component);
security-commits@lists.fedoraproject.org