Bugzilla
Daniel Berlin
dberlin@dberlin.org
Tue Feb 25 19:11:00 GMT 2003
On Tuesday, February 25, 2003, at 01:37 PM, Joseph S. Myers wrote:
> On Tue, 25 Feb 2003, Daniel Berlin wrote:
>
>> It is already:
>> if (defined($pr_data{"Class"}) && $pr_data{"Class"} =~ /^duplicate/o)
>> {
>> $resolution = "DUPLICATE";
>> } elsif (defined($pr_data{"Class"}) && $pr_data{"Class"} =~
>> /^mistaken/o) {
>> $resolution = "INVALID";
>> ....
>
> This code is just for closed PRs? (There are a few open PRs with Class
> (wrongly) set to "mistaken", though they could just be fixed manually
> before conversion.)
Yup, only closed PR's.
In context, it looks like:
} elsif ($pr_data{"State"} eq "closed") {
$bug_status = "CLOSED";
if (defined($pr_data{"Class"}) && $pr_data{"Class"} =~
/^duplicate/o) {
$resolution = "DUPLICATE";
} elsif (defined($pr_data{"Class"}) && $pr_data{"Class"} =~
/^mistaken/o) {
$resolution = "INVALID";
} else {
$resolution = "FIXED";
}
>
> --
> Joseph S. Myers
> jsm28@cam.ac.uk
>
More information about the Gcc
mailing list