All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] get_maintainer: add email addresses from dts files
@ 2021-08-09  8:02 Shawn Guo
  2021-08-09  8:10 ` Shawn Guo
  0 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2021-08-09  8:02 UTC (permalink / raw)
  To: Joe Perches; +Cc: Krzysztof Kozlowski, linux-kernel, Shawn Guo

MAINTAINER file will get bloated quickly if individual section entry
is created for each .dts/.dtsi file.  Add the email address from dts
files to get_maintainer output for saving unnecessary patching on
MAINTAINER file.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 scripts/get_maintainer.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 2075db0c08b8..15aa8f947f4b 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -436,7 +436,7 @@ sub maintainers_in_file {
 
     return if ($file =~ m@\bMAINTAINERS$@);
 
-    if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) {
+    if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) {
 	open(my $f, '<', $file)
 	    or die "$P: Can't open $file: $!\n";
 	my $text = do { local($/) ; <$f> };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] get_maintainer: add email addresses from dts files
  2021-08-09  8:02 [PATCH RESEND] get_maintainer: add email addresses from dts files Shawn Guo
@ 2021-08-09  8:10 ` Shawn Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2021-08-09  8:10 UTC (permalink / raw)
  To: Joe Perches; +Cc: Krzysztof Kozlowski, linux-kernel

Hi Joe,

On Mon, Aug 09, 2021 at 04:02:04PM +0800, Shawn Guo wrote:
> MAINTAINER file will get bloated quickly if individual section entry
> is created for each .dts/.dtsi file.  Add the email address from dts
> files to get_maintainer output for saving unnecessary patching on
> MAINTAINER file.
> 
> Suggested-by: Joe Perches <joe@perches.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

My understanding is that you will be the one picking this up.
Otherwise, please let me know whom I should send this to.  Thanks!

Shawn

> ---
>  scripts/get_maintainer.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
> index 2075db0c08b8..15aa8f947f4b 100755
> --- a/scripts/get_maintainer.pl
> +++ b/scripts/get_maintainer.pl
> @@ -436,7 +436,7 @@ sub maintainers_in_file {
>  
>      return if ($file =~ m@\bMAINTAINERS$@);
>  
> -    if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) {
> +    if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) {
>  	open(my $f, '<', $file)
>  	    or die "$P: Can't open $file: $!\n";
>  	my $text = do { local($/) ; <$f> };
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] get_maintainer: add email addresses from dts files
  2023-10-28 17:46 ` Tom Rini
@ 2023-11-06 18:21   ` Andrew Morton
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2023-11-06 18:21 UTC (permalink / raw)
  To: Tom Rini; +Cc: Joe Perches, Krzysztof Kozlowski, linux-kernel, Shawn Guo

On Sat, 28 Oct 2023 13:46:56 -0400 Tom Rini <trini@konsulko.com> wrote:

> > -    if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) {
> > +    if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) {
> >  	open(my $f, '<', $file)
> >  	    or die "$P: Can't open $file: $!\n";
> >  	my $text = do { local($/) ; <$f> };
> > 
> 
> This seems to have not been picked up, and would be useful for the tool
> to have both for the kernel itself and other projects which also use it
> and MAINTAINERS files. Can this please be picked up? Thanks!

I'm not finding the original in my archives.  Can we have a resend please?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] get_maintainer: add email addresses from dts files
  2023-02-12 21:17 Joe Perches
@ 2023-10-28 17:46 ` Tom Rini
  2023-11-06 18:21   ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2023-10-28 17:46 UTC (permalink / raw)
  To: Joe Perches; +Cc: Andrew Morton, Krzysztof Kozlowski, linux-kernel, Shawn Guo

On Sun, Feb 12, 2023 at 01:17:45PM -0800, Joe Perches wrote:

> From: Shawn Guo <shawnguo@kernel.org>
> 
> MAINTAINER file will get bloated quickly if individual section entry
> is created for each .dts/.dtsi file.  Add the email address from dts
> files to get_maintainer output for saving unnecessary patching on
> MAINTAINER file.
> 
> Suggested-by: Joe Perches <joe@perches.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
> Acked-by: Joe Perches <joe@perches.com>
> ---
> 
> Hey Andrew.  This was originally sent a year and a half ago.
> 
> Link: https://lore.kernel.org/all/20210809080204.8381-1-shawnguo@kernel.org/
> 
> Please pick this up.  Thanks.
> 
>  scripts/get_maintainer.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
> index 2075db0c08b8..15aa8f947f4b 100755
> --- a/scripts/get_maintainer.pl
> +++ b/scripts/get_maintainer.pl
> @@ -436,7 +436,7 @@ sub maintainers_in_file {
>  
>      return if ($file =~ m@\bMAINTAINERS$@);
>  
> -    if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) {
> +    if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) {
>  	open(my $f, '<', $file)
>  	    or die "$P: Can't open $file: $!\n";
>  	my $text = do { local($/) ; <$f> };
> 

This seems to have not been picked up, and would be useful for the tool
to have both for the kernel itself and other projects which also use it
and MAINTAINERS files. Can this please be picked up? Thanks!

-- 
Tom

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH RESEND] get_maintainer: add email addresses from dts files
@ 2023-02-12 21:17 Joe Perches
  2023-10-28 17:46 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Perches @ 2023-02-12 21:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Krzysztof Kozlowski, linux-kernel, Shawn Guo

From: Shawn Guo <shawnguo@kernel.org>

MAINTAINER file will get bloated quickly if individual section entry
is created for each .dts/.dtsi file.  Add the email address from dts
files to get_maintainer output for saving unnecessary patching on
MAINTAINER file.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Joe Perches <joe@perches.com>
---

Hey Andrew.  This was originally sent a year and a half ago.

Link: https://lore.kernel.org/all/20210809080204.8381-1-shawnguo@kernel.org/

Please pick this up.  Thanks.

 scripts/get_maintainer.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 2075db0c08b8..15aa8f947f4b 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -436,7 +436,7 @@ sub maintainers_in_file {
 
     return if ($file =~ m@\bMAINTAINERS$@);
 
-    if (-f $file && ($email_file_emails || $file =~ /\.yaml$/)) {
+    if (-f $file && ($email_file_emails || $file =~ /\.(?:yaml|dtsi?)$/)) {
 	open(my $f, '<', $file)
 	    or die "$P: Can't open $file: $!\n";
 	my $text = do { local($/) ; <$f> };


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-06 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  8:02 [PATCH RESEND] get_maintainer: add email addresses from dts files Shawn Guo
2021-08-09  8:10 ` Shawn Guo
2023-02-12 21:17 Joe Perches
2023-10-28 17:46 ` Tom Rini
2023-11-06 18:21   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.