RFR: Fix Change Summary generator
Omair Majid
omajid at redhat.com
Wed Nov 13 15:47:27 PST 2013
Hi,
The attached patch fixes the Change Summary generator included in
openjdk6. OPENDJDK6-* bugs are now generated too. I have included the
update summary page that is generated with this patch (for b27 to b28
jump, compare with [1]).
I will wait for all the security patches to be added before pushing
this, assuming this patch looks okay.
Thanks,
Omair
[1] https://openjdk6.java.net/OpenJDK6-B28-Changes.html
-------------- next part --------------
diff --git a/make/scripts/jdkreport.pl b/make/scripts/jdkreport.pl
--- a/make/scripts/jdkreport.pl
+++ b/make/scripts/jdkreport.pl
@@ -70,7 +70,12 @@
foreach(@bugs) {
($bugid, $desc) = split ':',$_, 2; # limit the number of splits to 2
$bugid =~ s/^\s+//; #remove leading white spaces
- $url = "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=$bugid";
+
+ if ($bugid =~ /^OPENJDK6-/) { # use different urls for different bugs
+ $url = "http:/java.net/jira/browse/$bugid";
+ } else {
+ $url = "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=$bugid";
+ }
if($firstbug) {
$firstbug = 0;
@@ -108,7 +113,7 @@
chomp($changeset); #remove end of line
}
- if(/^\d+:/) { #match lines that start with numbers (bugids)
+ if(/^(OPENJDK6-)?\d+:/) { #match lines that start with numbers (bugids)
push(@bugs, $_);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20131113/6693e425/changelog-0001.html
More information about the jdk6-dev
mailing list