Commit fce2daf5 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

add link to the wiki at the bottom of every unclean verdict


it would be conceivable to integrate this with the bot driving this
script, so the message would be appended only to the first patchset in a
change, or even only to the first complaint (within a while) for any
particular contributor.

Change-Id: I5a7e3265dea8a3e24649d223fdd6e96c886eebc1
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent be11e222
No related merge requests found
Showing with 6 additions and 0 deletions
......@@ -40,6 +40,7 @@ if (defined $config{flags}) {
}
my $fail = 0;
my $printed = $gerrit;
my $complained = 0;
our $file = ""; # 'our' for usage of 'local'
my $fail_file = "-";
my $summary;
......@@ -63,6 +64,7 @@ sub complain()
print "***\n*** Suspicious changes in commit ".$sha1." (".$summary."):\n";
$printed = 1;
}
$complained = 1;
if (length($file)) {
if ($file ne $fail_file) {
print $elpfx.$lpfx.$file.":\n";
......@@ -574,4 +576,8 @@ if (%footnotes) {
}
}
if ($complained) {
print $elpfx.$lpfx."See http://qt-project.org/wiki/Early-Warning-System for explanations.\n";
}
exit ($gerrit ? (!$fail ? 11 : (10 - $fail)) : $fail)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment