X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/a19a7c8ebfe9459a0d5521c5ba3366658b24989f..eecc61fbedb7a98e6d37843a86b3cfa6a014b5de:/cgi-bin/eximstatus.pl diff --git a/cgi-bin/eximstatus.pl b/cgi-bin/eximstatus.pl index 7e7b900..9f68757 100755 --- a/cgi-bin/eximstatus.pl +++ b/cgi-bin/eximstatus.pl @@ -90,14 +90,15 @@ unless ($animal && $ts && $stage && $sig) } -unless ($branch =~ /^(HEAD|REL\d+_\d+_STABLE)$/) -{ - print - "Status: 492 bad branch parameter $branch\nContent-Type: text/plain\n\n", - "bad branch parameter $branch\n"; - exit; - -} +# Want to allow all kinds of named branches +#unless ($branch =~ /^(HEAD|REL\d+_\d+_STABLE)$/) +#{ +# print +# "Status: 492 bad branch parameter $branch\nContent-Type: text/plain\n\n", +# "bad branch parameter $branch\n"; +# exit; +# +#} my $db = DBI->connect($dsn,$dbuser,$dbpass); @@ -226,7 +227,7 @@ if ($log_archive) chomp $githeadref; close $githead; } - # unlink $archname; + unlink $archname; } my $config_flags; @@ -296,6 +297,10 @@ if (@config_flags) @config_flags = grep {! m/=/ } @config_flags; map {s/\s+//g; $_=qq("$_"); } @config_flags; push @config_flags,'git' if $client_conf->{scm} eq 'git'; + push(@config_flags, 'doc') + if (defined $client_conf->{'optional_steps'}->{'make-doc'}); + push(@config_flags, 'test') + if (defined $client_conf->{'optional_steps'}->{'test'}); $config_flags = '{' . join(',',@config_flags) . '}' ; }