You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/11/18 01:31:54 UTC
svn commit: r345387 - in /spamassassin/trunk/masses/rule-qa/automc:
gen_info_xml ruleqa.cgi
Author: jm
Date: Thu Nov 17 16:31:51 2005
New Revision: 345387
URL: http://svn.apache.org/viewcvs?rev=345387&view=rev
Log:
some bugfixes; ignore malformed dirs, and differentiate between buildbot and nightly mass-check results in index view
Modified:
spamassassin/trunk/masses/rule-qa/automc/gen_info_xml
spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
Modified: spamassassin/trunk/masses/rule-qa/automc/gen_info_xml
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/automc/gen_info_xml?rev=345387&r1=345386&r2=345387&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/gen_info_xml (original)
+++ spamassassin/trunk/masses/rule-qa/automc/gen_info_xml Thu Nov 17 16:31:51 2005
@@ -34,6 +34,8 @@
# this one is always rebuilt.
# print "$drdir/fastinfo.xml: creating...\n";
my $fastinfo = get_fastinfo($dr, $drdir);
+ if (!defined $fastinfo) { next; }
+
open (OUT, ">$drdir/fastinfo.xml") or die "cannot write $drdir/fastinfo.xml";
print OUT $fastinfo;
close OUT or die "failed to write to $drdir/fastinfo.xml";
@@ -88,6 +90,11 @@
my $date = $1;
my $rev = $2;
my $tag = $3;
+
+ if (!defined $tag) {
+ warn "dir with no tag! ignored: $dr\n";
+ return;
+ }
my $info = {
date => $date,
Modified: spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi?rev=345387&r1=345386&r2=345387&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi (original)
+++ spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi Thu Nov 17 16:31:51 2005
@@ -935,6 +935,7 @@
<a name="$dranchor" title="$drtitle" href="!drhref!">$fastinfo->{date}</a></td>
<td class=daterevtd>
<a title="$drtitle" href="!drhref!">$fastinfo->{rev}</a></td>
+ <!-- tag=$fastinfo->{tag} -->
<td class=daterevtd>
<a title="$drtitle" href="!drhref!">$cdate</a></td>
<td class=daterevtd>
@@ -1002,7 +1003,7 @@
# now match against the microformat data in the HTML, to select
# the desired subsets of certain types
- if ($obj->{text} =~ /<mcsubmitters>\s*mc-/) {
+ if ($obj->{text} =~ / tag=b /) {
push @drs_preflight, $obj;
}
elsif ($obj->{text} =~ /<mcwasnet>\s*.net/) {