status-report-scripts parseBZbugList,1.51,1.52
Christian Iseli (c4chris)
fedora-extras-commits at redhat.com
Wed Oct 18 13:24:35 UTC 2006
Author: c4chris
Update of /cvs/fedora/status-report-scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13097
Modified Files:
parseBZbugList
Log Message:
Do away with the bzId_pkg.txt stuff.
Index: parseBZbugList
===================================================================
RCS file: /cvs/fedora/status-report-scripts/parseBZbugList,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- parseBZbugList 27 Sep 2006 23:21:04 -0000 1.51
+++ parseBZbugList 18 Oct 2006 13:24:32 -0000 1.52
@@ -18,9 +18,6 @@
# http://mirrors.kernel.org/fedora/core/development/SRPMS/)
# * the URL of packages available in the FC release repo (defaults to
# http://mirrors.kernel.org/fedora/core/5/source/SRPMS/)
-# * the URL to a short list linking BZ ticket numbers with package names,
-# used when the script can't deduce the package name automatically from
-# the summary. (defaults to bzId_pkg.txt)
# * the owners.list file
# * the URL to a wiki page containing the list of migrated/retired packages
# (defaults to Extras/PackagesNoLongerInDevel)
@@ -53,14 +50,12 @@
"https://bugzilla.redhat.com/bugzilla/buglist.cgi?query_format=advanced&product=Fedora%20Extras&version=4&version=5&version=devel&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_severity=security&bug_severity=high&bug_severity=normal&bug_severity=low&bug_severity=translation&bug_severity=regression&chfieldto=Now&negate0=1&field0-0-0=component&type0-0-0=equals&value0-0-0=Package%20Review&ctype=csv";
my %opt;
-my @options = ( "help", "repourl=s", "bzid=s", "o=s", "d=s", "cvs=s",
+my @options = ( "help", "repourl=s", "o=s", "d=s", "cvs=s",
"comps=s", "currel=i", "firstrel=i" );
$main::repourl = "http://mirrors.kernel.org/fedora";
$main::discarded
= "http://fedoraproject.org/wiki/Extras/PackagesNoLongerInDevel";
-$main::bzid
- = "http://fedoraproject.org/wiki/Extras/UsefulScripts?action=AttachFile&do=get&target=bzId_pkg.txt";
$main::members
= "https://admin.fedora.redhat.com/accounts/dump-group.cgi?group=cvsextras&format=txt";
$main::cvsDir = "/export/scratch/extras";
@@ -72,7 +67,6 @@
# Override any default settings with arguments that the user has supplied
$main::repourl = $opt{"repourl"} if defined $opt{"repourl"};
$main::discarded = $opt{"d"} if defined $opt{"d"};
-$main::bzid = $opt{"bzid"} if defined $opt{"bzid"};
$main::cvsDir = $opt{"cvs"} if defined $opt{"cvs"};
$main::compsDir = $opt{"comps"} if defined $opt{"comps"};
$main::currel = $opt{"currel"} if defined $opt{"currel"};
@@ -102,7 +96,6 @@
my @CORE_DROPPED_SRPMS;
my @COMPS;
my @COMPS_M;
-my %NAME;
my %OWN;
my %OWN_DUP;
my %OWN_CVS_RECENT;
@@ -133,17 +126,6 @@
"php-pecl-sqlite" => 1,
"wxPythonGTK2" => 1
);
-if ($main::bzid ne "") {
- local *IN;
- open IN, "wget -nv -O - \"$main::bzid\"|"
- or die "Failed to wget $main::bzid : $!";
- while ( <IN> ) {
- s/\s+$//;
- my @F = split /\t/;
- $NAME{$F[0]} = $F[1];
- }
- close IN;
-}
if ($main::members ne "") {
local *IN;
open IN, "wget -nv -O - --no-check-certificate \"$main::members\"|"
@@ -346,9 +328,7 @@
$F[11] = $F[10];
$F[11] =~ s/^["]+//;
$F[11] =~ s/["]+$//;
- if (defined $NAME{$F[0]}) {
- $F[10] = $NAME{$F[0]};
- } elsif ($F[8] eq "Package Review") {
+ if ($F[8] eq "Package Review") {
# Try to guess package name
$F[10] =~ s/["]//g;
$F[10] =~ s/^.*review\s+request:?\s+<?//i;
@@ -1021,8 +1001,6 @@
print STDERR "Usage: $0 [options] <bugs list>
where options are:
-help this help note
- -bzid <url> list associating bz ticket number with package name
- [$main::bzid]
-comps <dir> extras comps directory [$main::compsDir]
-currel <int> current Fedora release number [$main::currel]
-cvs <dir> extras CVS directory [$main::cvsDir]
More information about the scm-commits
mailing list