[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm |2 ++ 1 file changed, 2 insertions(+) New commits: commit a4ac52fce4042bc4b45934b2fff49da825b6ce6d Author: Michael Meeks michael.me...@collabora.com Date: Tue Jun 30 11:01:54 2015 +0100 Perl modules have to return true apparently. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 2cf6262..6d84135 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -152,3 +152,5 @@ sub read_bugstats($) return \%closed_stats; } + +1; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm scripts/esc-bug-stats.pl
scripts/Bugzilla.pm | 64 --- scripts/esc-bug-stats.pl |2 - 2 files changed, 1 insertion(+), 65 deletions(-) New commits: commit 701efecd80162f24137a13800fc16dfcc7735f1a Author: Michael Meeks michael.me...@collabora.com Date: Tue Jun 23 14:53:39 2015 +0100 We have our own bugzilla now. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 2d5bc32..2cf6262 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -14,66 +14,6 @@ $bugserver = bugs.documentfoundation.org; # use me for testing XML pretty printing etc. my $fast_debug = 0; -# config for eliding top bug contributors who are -# not (yet) libreoffice hackers. -my %sadly_non_libreoffice = ( -'Chris Wilson' = 1, -'Bastien Nocera' = 1, -'Kristian Høgsberg' = 1, -'Simon McVittie' = 1, -'Søren Sandmann Pedersen' = 1, -'Daniel Vetter' = 1, -'Sergey V. Udaltsov' = 1, -'Marek Olšák' = 1, -'Emil Velikov' = 1, -'ajax at nwnk dot net' = 1, -'Jesse Barnes' = 1, -'Albert Astals Cid' = 1, -'Daniel Stone' = 1, -'Eric Anholt' = 1, -'Lennart Poettering' = 1, -'Ilia Mirkin' = 1, -'Behdad Esfahbod' = 1, -'Richard Hughes' = 1, -'Ben Widawsky' = 1, -'Chengwei Yang' = 1, -'Dan Nicholson' = 1, -'Zbigniew Jedrzejewski-Szmek' = 1, -'Tanu Kaskinen' = 1, -'Vinson Lee' = 1, -'Sylvain BERTRAND' = 1, -'lu hua' = 1, -'Kenneth Graunke' = 1, -'Seif Lotfy' = 1, -'Alex Deucher' = 1, -'Ian Romanick' = 1, -'Tollef Fog Heen' = 1, -'Patrick Ohly' = 1, -'Peter Hutterer' = 1, -'Guillaume Desmottes' = 1, -'Bryce Harrington' = 1, -'Paolo Zanoni' = 1, -'David Faure' = 1, -'Rex Dieter' = 1, -'Tom Stellard' = 1, -'almos' = 1, -'Andreas Boll' = 1, -'Tapani Pälli' = 1, -'Matt Turner' = 1, -'Michel Dänzer' = 1, -'Jani Nikula' = 1, -'Guo Jinxian' = 1, -'Pekka Paalanen' = 1, -'Rodrigo Vivi' = 1, -'Stef Walter' = 1, -'Paulo Zanoni' = 1, -'Adrian Johnson' = 1, -'Kaveh' = 1, -'Marc-Andre Lureau' = 1, -'Aleksander Morgado' = 1, -'Xavier Bachelot' = 1, -); - sub get_url($) { my $url = shift; @@ -210,9 +150,5 @@ sub read_bugstats($) $region eq 'end' || die Failed to parse weekly bug summary - in region '$region'; -for my $name (keys %closed_stats) { - delete $closed_stats{$name} if (defined $sadly_non_libreoffice{$name}); -} - return \%closed_stats; } diff --git a/scripts/esc-bug-stats.pl b/scripts/esc-bug-stats.pl index ca9f120..4c0241f 100755 --- a/scripts/esc-bug-stats.pl +++ b/scripts/esc-bug-stats.pl @@ -118,7 +118,7 @@ for my $component (@reg_toquery) { $high_component_count{$component} = Bugzilla::get_query($query_url$high_fragment); } -print_component_counts(high priority regressions, http://bit.ly/1HWHb3E;, \%high_component_count); +print_component_counts(high severity regressions, http://bit.ly/1HWHb3E;, \%high_component_count); print_component_counts(all regressions, http://bit.ly/1BUdI8i;, \%component_count); print EOF ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit f3b7071fe2310379ebba7154b205a5c41cd06002 Author: Michael Meeks michael.me...@collabora.com Date: Thu Feb 5 13:51:15 2015 + Adapt for new BZ handling of long / slow queries. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 15a95f4..2d5bc32 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -79,7 +79,7 @@ sub get_url($) my $url = shift; my @lines; my $handle; -open ($handle, curl -k -s '$url' 21 |) || die can't exec curl: $!; +open ($handle, curl -A 'Mozilla/4.0' -k -s '$url' 21 |) || die can't exec curl: $!; while ($handle) { push @lines, $_; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm scripts/esc-bug-stats.pl
scripts/Bugzilla.pm |1 + scripts/esc-bug-stats.pl |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) New commits: commit a1e07ae25c4e389431c4fdcf094c0c5abce86e6e Author: Michael Meeks michael.me...@collabora.com Date: Tue Jan 27 15:11:57 2015 + Update scriptage. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 853398e..15a95f4 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -71,6 +71,7 @@ my %sadly_non_libreoffice = ( 'Kaveh' = 1, 'Marc-Andre Lureau' = 1, 'Aleksander Morgado' = 1, +'Xavier Bachelot' = 1, ); sub get_url($) diff --git a/scripts/esc-bug-stats.pl b/scripts/esc-bug-stats.pl index 3758cab..f1a502b 100755 --- a/scripts/esc-bug-stats.pl +++ b/scripts/esc-bug-stats.pl @@ -24,7 +24,7 @@ sub build_overall_bugstats() print STDERR many thanks to the top bug squashers:\n; for my $name (sort { $closed_stats-{$b} = $closed_stats-{$a} } keys %{$closed_stats}) { - printf STDERR %-20s%2s\n, $name, $closed_stats-{$name}; + printf STDERR %-22s%2s\n, $name, $closed_stats-{$name}; } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm scripts/esc-bug-stats.pl
scripts/Bugzilla.pm |7 +++ scripts/esc-bug-stats.pl |3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) New commits: commit 68d2dda2a02405c02118da4e5bf66b4775a7d7fe Author: Michael Meeks michael.me...@collabora.com Date: Thu Dec 4 10:19:53 2014 + Add 4.5 bits, expand blacklist etc. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 175721c..853398e 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -64,6 +64,13 @@ my %sadly_non_libreoffice = ( 'Jani Nikula' = 1, 'Guo Jinxian' = 1, 'Pekka Paalanen' = 1, +'Rodrigo Vivi' = 1, +'Stef Walter' = 1, +'Paulo Zanoni' = 1, +'Adrian Johnson' = 1, +'Kaveh' = 1, +'Marc-Andre Lureau' = 1, +'Aleksander Morgado' = 1, ); sub get_url($) diff --git a/scripts/esc-bug-stats.pl b/scripts/esc-bug-stats.pl index 3b299b0..3758cab 100755 --- a/scripts/esc-bug-stats.pl +++ b/scripts/esc-bug-stats.pl @@ -29,12 +29,13 @@ sub build_overall_bugstats() } my %bug_to_ver = ( +'4.5' = '86696', '4.4' = '79641', '4.3' = '75025', '4.2' = '65675', '4.1' = '60270', '4.0' = '54157', -'3.6' = '6' +'3.6' = '6', ); my %ver_open; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit a7d8bc9bf8fa27cb5a7affbebd565a554e0277d5 Author: Robinson Tryon qu...@runcibility.com Date: Thu Nov 27 09:44:37 2014 -0500 scripts/Bugzilla: Update FDO Bugzilla domain - TDF domain Tested the output and it looks the same (bugs.documentfoundation.org is pointing to bugs.freedesktop.org, so we'd definitely expect that! :-) Change-Id: Ie52adfd329d42db12a88797093f9961457125919 diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index ecd71a3..175721c 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -9,7 +9,7 @@ our @EXPORT_OK = qw(bugserver get_url get_deps get_query read_bugstats); # Please take the time to check that the script still runs # before changing this to something else. -$bugserver = bugs.freedesktop.org; +$bugserver = bugs.documentfoundation.org; # use me for testing XML pretty printing etc. my $fast_debug = 0; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) New commits: commit 555f3472b3f08e7492fe85cc78e0ae7b062b7ebc Author: Michael Meeks michael.me...@collabora.com Date: Tue Sep 16 17:36:52 2014 +0100 Update for page structure. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 31030d2..ecd71a3 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -61,6 +61,9 @@ my %sadly_non_libreoffice = ( 'Tapani Pälli' = 1, 'Matt Turner' = 1, 'Michel Dänzer' = 1, +'Jani Nikula' = 1, +'Guo Jinxian' = 1, +'Pekka Paalanen' = 1, ); sub get_url($) @@ -149,13 +152,15 @@ sub read_bugstats($) { my @lines = get_url(shift); +my $debug = 0; + my $region = 'header'; my $closer_name; my %closed_stats; my $delta = 0; while ((my $line = shift @lines) $region ne 'end') { -# print STDERR $region - $line\n; + print STDERR $region - $line\n if ($debug); if ($region eq 'header' $line =~ /h2Top .* modules\/h2/) { $region = 'top-modules'; @@ -178,17 +183,19 @@ sub read_bugstats($) undef $closer_name; $region = 'top-closer-name'; - } elsif ($region eq 'top-closers' $line =~ m/\/table/) { + } elsif (($region eq 'top-closers' || $region eq 'top-closer-name') +($line =~ m/\/table/ || $line =~ m/Top .* bug reporters/)) { $region = 'end'; } elsif ($region eq 'top-closer-name' $line =~ m/span class=.*(.*)\/span/) { $closer_name = $1; -# print $closer_name\n; + print STDERR $closer_name\n if ($debug); $region = 'top-closer-count'; } elsif ($region eq 'top-closer-count' $line =~ m/([0-9]+)\/a\/td/) { die no closer name for '$line' if (!defined $closer_name); $closed_stats{$closer_name} = $1; + print STDERR \tRecord: $closer_name - $1\n if ($debug); $region = 'top-closers' } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm |1 + 1 file changed, 1 insertion(+) New commits: commit 1f6a7b49d7b5b4fad773fbd0255c6759170fd2fb Author: Michael Meeks michael.me...@collabora.com Date: Tue Aug 19 06:28:18 2014 +0100 more blacklisting. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 7cfc1f7..31030d2 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -60,6 +60,7 @@ my %sadly_non_libreoffice = ( 'Andreas Boll' = 1, 'Tapani Pälli' = 1, 'Matt Turner' = 1, +'Michel Dänzer' = 1, ); sub get_url($) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm
scripts/Bugzilla.pm |1 + 1 file changed, 1 insertion(+) New commits: commit 997c556fb60aca4e93f171d275bb488517a1a548 Author: Michael Meeks michael.me...@collabora.com Date: Tue Aug 12 22:46:51 2014 -0400 Longer blacklist. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 2a7715f..7cfc1f7 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -59,6 +59,7 @@ my %sadly_non_libreoffice = ( 'almos' = 1, 'Andreas Boll' = 1, 'Tapani Pälli' = 1, +'Matt Turner' = 1, ); sub get_url($) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm scripts/esc-bug-stats.pl
scripts/Bugzilla.pm |1 + scripts/esc-bug-stats.pl |8 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) New commits: commit 9aee886ac125693808a14fa71ad37cd28c46033e Author: Michael Meeks michael.me...@collabora.com Date: Mon Jul 28 21:19:59 2014 -0400 Update blacklist, and prune migration. diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 8093c8b..2a7715f 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -58,6 +58,7 @@ my %sadly_non_libreoffice = ( 'Tom Stellard' = 1, 'almos' = 1, 'Andreas Boll' = 1, +'Tapani Pälli' = 1, ); sub get_url($) diff --git a/scripts/esc-bug-stats.pl b/scripts/esc-bug-stats.pl index 508a95b..3b299b0 100755 --- a/scripts/esc-bug-stats.pl +++ b/scripts/esc-bug-stats.pl @@ -81,8 +81,10 @@ print STDERR \n; my %component_count; +my %obsolete_components = ( 'Migration' = 1 ); + # custom pieces -$component_count{'Migration'} = Bugzilla::get_deps(https://$Bugzilla::bugserver/showdependencytree.cgi?id=43489hide_resolved=1;); +$component_count{'Migration'} = 0; # aBugzilla::get_deps(https://$Bugzilla::bugserver/showdependencytree.cgi?id=43489hide_resolved=1;); - kill for now. $component_count{'Crashes'} = Bugzilla::get_query(https://$Bugzilla::bugserver/buglist.cgi?keywords=regressionkeywords_type=allwordslist_id=296015short_desc=crashquery_based_on=CrashRegressionsquery_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=NEEDINFOshort_desc_type=allwordssubstrproduct=LibreOfficeknown_name=CrashRegressions;); $component_count{'Borders'} = Bugzilla::get_query(https://$Bugzilla::bugserver/buglist.cgi?keywords=regressionkeywords_type=allwordslist_id=296016short_desc=borderquery_based_on=BorderRegressionsquery_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=NEEDINFOshort_desc_type=allwordssubstrproduct=LibreOfficeknown_name=BorderRegressions;); @@ -94,7 +96,9 @@ for my $component (@reg_toquery) { print STDERR \t* ~Component count net *\n; for my $component (sort { $component_count{$b} = $component_count{$a} } keys %component_count) { -printf STDERR \t %12s - %2d (+?)\n, $component, $component_count{$component}; +if (!defined $obsolete_components{$component}) { + printf STDERR \t %12s - %2d (+?)\n, $component, $component_count{$component}; +} } print EOF ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm scripts/esc-bug-stats.pl
scripts/Bugzilla.pm |1 + scripts/esc-bug-stats.pl | 21 + 2 files changed, 18 insertions(+), 4 deletions(-) New commits: commit 19dc302242d4731ccedf249fd06291aa15638ddb Author: Michael Meeks michael.me...@collabora.com Date: Tue Jul 8 17:07:37 2014 +0100 Fix scripts for 4.4 diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm index 8ee0e58..8093c8b 100644 --- a/scripts/Bugzilla.pm +++ b/scripts/Bugzilla.pm @@ -57,6 +57,7 @@ my %sadly_non_libreoffice = ( 'Rex Dieter' = 1, 'Tom Stellard' = 1, 'almos' = 1, +'Andreas Boll' = 1, ); sub get_url($) diff --git a/scripts/esc-bug-stats.pl b/scripts/esc-bug-stats.pl index 872f9eb..508a95b 100755 --- a/scripts/esc-bug-stats.pl +++ b/scripts/esc-bug-stats.pl @@ -29,6 +29,7 @@ sub build_overall_bugstats() } my %bug_to_ver = ( +'4.4' = '79641', '4.3' = '75025', '4.2' = '65675', '4.1' = '60270', @@ -196,6 +197,12 @@ print EOF text:pClosed 4.3/text:p /table:table-cell table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string + text:pOpen 4.4/text:p + /table:table-cell + table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string + text:pClosed 4.4/text:p + /table:table-cell + table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string text:pTotal 3.5/text:p /table:table-cell table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string @@ -214,6 +221,9 @@ print EOF text:pTotal 4.3/text:p /table:table-cell table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string + text:pTotal 4.4/text:p + /table:table-cell + table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string text:pTotal Open/text:p /table:table-cell table:table-cell table:style-name=boldheader office:value-type=string calcext:value-type=string @@ -234,17 +244,20 @@ print EOF table:table-cell/ !-- 4.1 -- table:table-cell/ table:table-cell office:value-type=float office:value=$ver_open{'4.2'} calcext:value-type=float/ - table:table-cell table:formula=of:=[.R2]-[.J2] office:value-type=float calcext:value-type=float/ + table:table-cell table:formula=of:=[.T2]-[.J2] office:value-type=float calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_open{'4.3'} calcext:value-type=float/ - table:table-cell table:formula=of:=[.S2]-[.L2] office:value-type=float calcext:value-type=float/ + table:table-cell table:formula=of:=[.U2]-[.L2] office:value-type=float calcext:value-type=float/ + table:table-cell office:value-type=float office:value=$ver_open{'4.4'} calcext:value-type=float/ + table:table-cell table:formula=of:=[.V2]-[.N2] office:value-type=float calcext:value-type=float/ table:table-cell office:value-type=float office:value=221 calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_total{'3.6'} calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_total{'4.0'} calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_total{'4.1'} calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_total{'4.2'} calcext:value-type=float/ table:table-cell office:value-type=float office:value=$ver_total{'4.3'} calcext:value-type=float/ - table:table-cell table:formula=of:=[.B2]+[.D2]+[.F2]+[.H2]+[.J2]+[.L2] office:value-type=float/ - table:table-cell table:formula=of:=SUM([.N2:.S2])-[.T2] office:value-type=float/ + table:table-cell office:value-type=float office:value=$ver_total{'4.4'} calcext:value-type=float/ + table:table-cell table:formula=of:=[.B2]+[.D2]+[.F2]+[.H2]+[.J2]+[.L2]+[.N2] office:value-type=float/ + table:table-cell table:formula=of:=SUM([.P2:.V2])-[.W2] office:value-type=float/ /table:table-row table:table-row/ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits