Author: lkundrak
Update of /cvs/fedora/fedora-security/tools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14108
Modified Files:
Tag: lkundrak-tools-ng
add-cve-bug
Log Message:
A couple of debugging statements
Index: add-cve-bug
===================================================================
RCS file: /cvs/fedora/fedora-security/tools/Attic/add-cve-bug,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- add-cve-bug 19 Nov 2007 09:10:37 -0000 1.1.2.3
+++ add-cve-bug 20 Dec 2007 23:13:42 -0000 1.1.2.4
@@ -72,6 +72,8 @@
{
my $component = shift;
+ print "Getting list of owners\n" if $debug;
+
# Call bugzilla
my $call = $bugzilla_rpc->call('bugzilla.getCompInfo', $component);
# print Dumper ($call) if $debug; # too verbose
@@ -106,6 +108,9 @@
sub file_bug
{
return 0 if $dryrun;
+
+ print "Creating a bug\n" if $debug;
+
my $call = $bugzilla_rpc->call('bugzilla.createBug',
shift, $username, $password);
@@ -123,6 +128,8 @@
my $desc;
my $refs;
+ print "Getting a bug description from CVE\n" if $debug;
+
($desc, $refs) = Libexig::CVE::cve ($cve);
die 'Cannot fetch CVE description; re-run with --interactive'
Show replies by date