parent
b34709a925
commit
648e17ba94
|
@ -39,6 +39,7 @@ annotate_merge () {
|
||||||
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
|
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
|
||||||
/^Not urgent/ || /^Not ready/ || /^Waiting for / || /^Under discussion/ ||
|
/^Not urgent/ || /^Not ready/ || /^Waiting for / || /^Under discussion/ ||
|
||||||
/^Can wait in / || /^Still / || /^Stuck / || /^On hold/ || /^Breaks / ||
|
/^Can wait in / || /^Still / || /^Stuck / || /^On hold/ || /^Breaks / ||
|
||||||
|
/^Inviting / ||
|
||||||
/^Needs? / || /^Expecting / || /^May want to / || /^Under review/) {
|
/^Needs? / || /^Expecting / || /^May want to / || /^Under review/) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
32
cook
32
cook
|
@ -690,12 +690,7 @@ sub topic_in_seen {
|
||||||
}
|
}
|
||||||
|
|
||||||
my $mergetomaster;
|
my $mergetomaster;
|
||||||
|
sub prepare_mergetomaster {
|
||||||
sub tweak_willdo {
|
|
||||||
my ($td) = @_;
|
|
||||||
my $desc = $td->{'desc'};
|
|
||||||
my $text = $td->{'text'};
|
|
||||||
|
|
||||||
if (!defined $mergetomaster) {
|
if (!defined $mergetomaster) {
|
||||||
my $master = `git describe $MASTER`;
|
my $master = `git describe $MASTER`;
|
||||||
if ($master =~ /-rc(\d+)(-\d+-g[0-9a-f]+)?$/ && $1 != 0) {
|
if ($master =~ /-rc(\d+)(-\d+-g[0-9a-f]+)?$/ && $1 != 0) {
|
||||||
|
@ -704,6 +699,12 @@ sub tweak_willdo {
|
||||||
$mergetomaster = "Will merge to '$MASTER'.";
|
$mergetomaster = "Will merge to '$MASTER'.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sub tweak_willdo {
|
||||||
|
my ($td) = @_;
|
||||||
|
my $desc = $td->{'desc'};
|
||||||
|
my $text = $td->{'text'};
|
||||||
|
|
||||||
# If updated description (i.e. the list of patches with
|
# If updated description (i.e. the list of patches with
|
||||||
# merge trail to 'next') has 'merged to next', then
|
# merge trail to 'next') has 'merged to next', then
|
||||||
|
@ -852,6 +853,7 @@ sub wildo_match {
|
||||||
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
|
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
|
||||||
/^Not urgent/ || /^Not ready/ || /^Waiting for / || /^Under discussion/ ||
|
/^Not urgent/ || /^Not ready/ || /^Waiting for / || /^Under discussion/ ||
|
||||||
/^Can wait in / || /^Still / || /^Stuck / || /^On hold/ || /^Breaks / ||
|
/^Can wait in / || /^Still / || /^Stuck / || /^On hold/ || /^Breaks / ||
|
||||||
|
/^Inviting / ||
|
||||||
/^Needs? / || /^Expecting / || /^May want to / || /^Under review/) {
|
/^Needs? / || /^Expecting / || /^May want to / || /^Under review/) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -862,6 +864,7 @@ sub wildo {
|
||||||
my $fd = shift;
|
my $fd = shift;
|
||||||
my (%what, $topic, $last_merge_to_next, $in_section, $in_desc);
|
my (%what, $topic, $last_merge_to_next, $in_section, $in_desc);
|
||||||
my $too_recent = '9999-99-99';
|
my $too_recent = '9999-99-99';
|
||||||
|
|
||||||
while (<$fd>) {
|
while (<$fd>) {
|
||||||
chomp;
|
chomp;
|
||||||
|
|
||||||
|
@ -944,13 +947,16 @@ sub wildo {
|
||||||
}
|
}
|
||||||
$count = "#$count";
|
$count = "#$count";
|
||||||
printf " %s %-60s %s%s %5s\n", $sign, $name, $tip, $next, $count;
|
printf " %s %-60s %s%s %5s\n", $sign, $name, $tip, $next, $count;
|
||||||
if ($what !~ /^Will merge to '\w+'\.$/) {
|
if ($what =~ /^Will merge to '\w+'/ && $what !~ /\?$/ ||
|
||||||
for my $s (@$source) {
|
$what eq $mergetomaster) {
|
||||||
if ($s =~ /^<(.*)>$/) {
|
next;
|
||||||
$s = "https://lore.kernel.org/git/$1/";
|
}
|
||||||
}
|
|
||||||
printf " $s\n";
|
for my $s (@$source) {
|
||||||
|
if (0 && $s =~ /^<(.*)>$/) {
|
||||||
|
$s = "https://lore.kernel.org/git/$1/";
|
||||||
}
|
}
|
||||||
|
printf " $s\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$ipbl = "\n";
|
$ipbl = "\n";
|
||||||
|
@ -1092,6 +1098,8 @@ if (!GetOptions("wildo" => \$wildo,
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prepare_mergetomaster;
|
||||||
|
|
||||||
if ($wildo) {
|
if ($wildo) {
|
||||||
my $fd;
|
my $fd;
|
||||||
if (!@ARGV) {
|
if (!@ARGV) {
|
||||||
|
|
Loading…
Reference in New Issue