Skip to contentSkip to conversation

tools/get_maintainer.pl: accept and ignore --nogit-chief-penguins

PATCH In review Jeff Layton 2 participants 4 messages Oct 27 – Nov 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/get_maintainer.pl: accept and ignore --nogit-chief-penguins

b4 prep --auto-to-cc passes --nogit-chief-penguins as an option to get_maintainer.pl. Ensure that it accepts and ignores it.

---
 tools/get_maintainer.pl | 2 ++
 1 file changed, 2 insertions(+)
tools/get_maintainer.pl +2 -0
index 671ffe26a799..02c02eea3e67 100755
@@ -31,6 +31,7 @@ my $email_fixes = 1;
 my $email_list = 1;
 my $email_moderated_list = 1;
 my $email_subscriber_list = 0;
+my $email_git_penguin_chiefs = 0;
 my $email_git = 0;
 my $email_git_all_signature_types = 0;
 my $email_git_blame = 0;
@@ -228,6 +229,7 @@ if (!GetOptions(
 		'git-blame!' => \$email_git_blame,
 		'git-blame-signatures!' => \$email_git_blame_signatures,
 		'git-fallback!' => \$email_git_fallback,
+		'git-chief-penguins!' => \$email_git_penguin_chiefs,
 		'git-min-signatures=i' => \$email_git_min_signatures,
 		'git-max-maintainers=i' => \$email_git_max_maintainers,
 		'git-min-percent=i' => \$email_git_min_percent,

---
base-commit: 22348afe338c0f6d540c0d7ef0db749eaa51b218
change-id: 20261027-b4-5ff755f4716c

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jeff Layton

b4 prep --auto-to-cc passes --nogit-chief-penguins as an option to get_maintainer.pl. Ensure that it accepts and ignores it.

---

Makes sense to me, thanks Jeff!

Just out of curiosity, how did you configure your environment to trigger this in fstests? Did you symlink "scripts" to "tools" (e.g. ln -s tools scripts), or did you set some b4 git config :)

Thanks,
Zorro

Quoted 32 lines
 tools/get_maintainer.pl | 2 ++
 1 file changed, 2 insertions(+)
tools/get_maintainer.pl +2 -1
index 671ffe26a799..02c02eea3e67 100755
@@ -31,6 +31,7 @@ my $email_fixes = 1;
 my $email_list = 1;
 my $email_moderated_list = 1;
 my $email_subscriber_list = 0;
+my $email_git_penguin_chiefs = 0;
 my $email_git = 0;
 my $email_git_all_signature_types = 0;
 my $email_git_blame = 0;
@@ -228,6 +229,7 @@ if (!GetOptions(
 		'git-blame!' => \$email_git_blame,
 		'git-blame-signatures!' => \$email_git_blame_signatures,
 		'git-fallback!' => \$email_git_fallback,
+		'git-chief-penguins!' => \$email_git_penguin_chiefs,
 		'git-min-signatures=i' => \$email_git_min_signatures,
 		'git-max-maintainers=i' => \$email_git_max_maintainers,
 		'git-min-percent=i' => \$email_git_min_percent,
 
---

base-commit: 22348afe338c0f6d540c0d7ef0db749eaa51b218
change-id: 20261027-b4-5ff755f4716c

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
#2 lore raw
Quoted 9 lines · Zorro Lang
Quoted 5 lines · Jeff Layton

b4 prep --auto-to-cc passes --nogit-chief-penguins as an option to get_maintainer.pl. Ensure that it accepts and ignores it.

---

Makes sense to me, thanks Jeff!

Quoted 9 lines

Just out of curiosity, how did you configure your environment to trigger this in fstests? Did you symlink "scripts" to "tools" (e.g. ln -s tools scripts), or did you set some b4 git config :)

Thanks,
Zorro

Yes, actually -- I symlinked it. We could probably do that as part of this patch if you like. I can respin or you can just add it.

Quoted 32 lines
Quoted 32 lines
 tools/get_maintainer.pl | 2 ++
 1 file changed, 2 insertions(+)
tools/get_maintainer.pl +2 -1
index 671ffe26a799..02c02eea3e67 100755
@@ -31,6 +31,7 @@ my $email_fixes = 1;
 my $email_list = 1;
 my $email_moderated_list = 1;
 my $email_subscriber_list = 0;
+my $email_git_penguin_chiefs = 0;
 my $email_git = 0;
 my $email_git_all_signature_types = 0;
 my $email_git_blame = 0;
@@ -228,6 +229,7 @@ if (!GetOptions(
 		'git-blame!' => \$email_git_blame,
 		'git-blame-signatures!' => \$email_git_blame_signatures,
 		'git-fallback!' => \$email_git_fallback,
+		'git-chief-penguins!' => \$email_git_penguin_chiefs,
 		'git-min-signatures=i' => \$email_git_min_signatures,
 		'git-max-maintainers=i' => \$email_git_max_maintainers,
 		'git-min-percent=i' => \$email_git_min_percent,
 
---

base-commit: 22348afe338c0f6d540c0d7ef0db749eaa51b218
change-id: 20261027-b4-5ff755f4716c

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
Signature · 1 line
Jeff Layton <[email protected]>
#3 lore raw
Quoted 16 lines · Jeff Layton
Quoted 15 lines · Zorro Lang
Quoted 5 lines · Jeff Layton

b4 prep --auto-to-cc passes --nogit-chief-penguins as an option to get_maintainer.pl. Ensure that it accepts and ignores it.

---

Makes sense to me, thanks Jeff!

Just out of curiosity, how did you configure your environment to trigger this in fstests? Did you symlink "scripts" to "tools" (e.g. ln -s tools scripts), or did you set some b4 git config :)

Quoted 6 lines
Quoted 3 lines

Thanks,
Zorro

Yes, actually -- I symlinked it. We could probably do that as part of this patch if you like. I can respin or you can just add it.

Thanks Jeff, but let's skip this for this patch for now. I recall a previous patch wanting to add a separate "scripts" directory.

If you want to see if more people actually need this, you can send a separate patch to discuss adding this symlink, along with a doc update to explain its usage :)

Thanks,
Zorro

Quoted 37 lines
Quoted 33 lines
Quoted 33 lines
 
 tools/get_maintainer.pl | 2 ++
 1 file changed, 2 insertions(+)
tools/get_maintainer.pl +2 -1
index 671ffe26a799..02c02eea3e67 100755
@@ -31,6 +31,7 @@ my $email_fixes = 1;
 my $email_list = 1;
 my $email_moderated_list = 1;
 my $email_subscriber_list = 0;
+my $email_git_penguin_chiefs = 0;
 my $email_git = 0;
 my $email_git_all_signature_types = 0;
 my $email_git_blame = 0;
@@ -228,6 +229,7 @@ if (!GetOptions(
 		'git-blame!' => \$email_git_blame,
 		'git-blame-signatures!' => \$email_git_blame_signatures,
 		'git-fallback!' => \$email_git_fallback,
+		'git-chief-penguins!' => \$email_git_penguin_chiefs,
 		'git-min-signatures=i' => \$email_git_min_signatures,
 		'git-max-maintainers=i' => \$email_git_max_maintainers,
 		'git-min-percent=i' => \$email_git_min_percent,
 
---

base-commit: 22348afe338c0f6d540c0d7ef0db749eaa51b218
change-id: 20261027-b4-5ff755f4716c

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
Signature · 1 line
Jeff Layton <[email protected]>