From: Don Slutz <dslutz@verizon.com>
To: xen-devel@lists.xen.org, Keir Fraser <keir@xen.org>,
Matthew Daley <mattjd@gmail.com>, Jan Beulich <JBeulich@suse.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Cc: Don Slutz <dslutz@verizon.com>
Subject: [PATCH v3 3/3] get_maintainer.pl: Adjust to review comments
Date: Tue, 5 Nov 2013 09:11:51 -0500 [thread overview]
Message-ID: <1383660711-12113-4-git-send-email-dslutz@terremark.com> (raw)
In-Reply-To: <1383660711-12113-3-git-send-email-dslutz@terremark.com>
From: Don Slutz <dslutz@verizon.com>
Signed-off-by: Don Slutz <dslutz@verizon.com>
---
scripts/get_maintainer.pl | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 7465c2b..df920e2 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -28,7 +28,7 @@ my $email_git = 0;
my $email_git_all_signature_types = 0;
my $email_git_blame = 0;
my $email_git_blame_signatures = 1;
-my $email_git_fallback = 1;
+my $email_git_fallback = 0;
my $email_git_min_signatures = 1;
my $email_git_max_maintainers = 5;
my $email_git_min_percent = 5;
@@ -37,10 +37,11 @@ my $email_hg_since = "-365";
my $interactive = 0;
my $email_remove_duplicates = 1;
my $email_use_mailmap = 1;
+my $email_drop_the_rest_supporter_if_supporter_found = 1;
my $output_multiline = 1;
my $output_separator = ", ";
my $output_roles = 0;
-my $output_rolestats = 1;
+my $output_rolestats = 0;
my $scm = 0;
my $web = 0;
my $subsystem = 0;
@@ -196,6 +197,7 @@ if (!GetOptions(
'i|interactive!' => \$interactive,
'remove-duplicates!' => \$email_remove_duplicates,
'mailmap!' => \$email_use_mailmap,
+ 'drop_the_rest_supporter!' => \$email_drop_the_rest_supporter_if_supporter_found,
'm!' => \$email_maintainer,
'n!' => \$email_usename,
'l!' => \$email_list,
@@ -651,6 +653,19 @@ sub get_maintainers {
}
}
+ if ($email_drop_the_rest_supporter_if_supporter_found && $#email_to > 0) {
+ my @email_new;
+ my $do_replace = 0;
+ foreach my $email (@email_to) {
+ if ($email->[1] ne 'supporter:THE REST') {
+ $do_replace = 1;
+ push @email_new, $email;
+ }
+ }
+ @email_to = @email_new
+ if $do_replace;
+ }
+
foreach my $email (@email_to, @list_to) {
$email->[0] = deduplicate_email($email->[0]);
}
--
1.8.4
next prev parent reply other threads:[~2013-11-05 14:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 14:11 [PATCH v3 0/3] Add get_maintainer.pl to Xen Don Slutz
2013-11-05 14:11 ` [PATCH v3 1/3] Add linux version of get_maintainer.pl Don Slutz
2013-11-05 14:11 ` [PATCH v3 2/3] get_maintainer.pl: Convert to Xen tree Don Slutz
2013-11-05 14:11 ` Don Slutz [this message]
2013-11-05 14:19 ` [PATCH v3 3/3] get_maintainer.pl: Adjust to review comments Ian Campbell
2013-11-05 14:43 ` Don Slutz
2013-11-05 14:50 ` Ian Campbell
2013-11-05 14:53 ` Don Slutz
2013-11-05 14:22 ` [PATCH v3 0/3] Add get_maintainer.pl to Xen Ian Campbell
2013-11-19 14:03 ` Ian Campbell
2013-11-19 15:50 ` Don Slutz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1383660711-12113-4-git-send-email-dslutz@terremark.com \
--to=dslutz@verizon.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=mattjd@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).