Skip to contentSkip to conversation

get_maintainer/MAINTAINERS updates

PATCH In review Joe Perches 6 participants 12 messages May 5, 2015 – May 6, 2015 GET_MAINTAINER script

lore
Share & tools
lore

Joe Perches

author maintainer
#0 lore raw

cover get_maintainer/MAINTAINERS updates

Add a mechanism to avoid listing people that don't want to be listed as possible interested parties for files based on authorship and commit signing.

Updates of file patterns for bits missed by various commits.

Joe Perches (6):
get_maintainer.pl: Add .get_maintainer.ignore file capability
MAINTAINERS: Update sound soc intel patterns
MAINTAINERS: Remove section BROADCOM BCM33XX MIPS ARCHITECTURE
MAINTAINERS: Update brcm dts pattern
MAINTAINERS: Update brcm gpio filename pattern
MAINTAINERS: Remove unused nbd.h pattern

 .get_maintainer.ignore    |  0
 MAINTAINERS               | 22 ++++++----------------
 scripts/get_maintainer.pl | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 16 deletions(-)
 create mode 100644 .get_maintainer.ignore
Signature · 1 line
2.1.4
author maintainer
#1 lore raw

PATCH 1/6 get_maintainer.pl: Add .get_maintainer.ignore file capability

Some people prefer not to be cc'd on patches.
Add an ability to have a file (.get_maintainer.ignore) with names and email addresses that are excluded from being listed except when specifically listed as a maintainer in a section.

---
 .get_maintainer.ignore    |  0
 scripts/get_maintainer.pl | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 .get_maintainer.ignore
.get_maintainer.ignore new file +0 -0
new file mode 100644
index 0000000..e69de29
scripts/get_maintainer.pl +32 -0
index d701627..fc169fd 100755
@@ -186,6 +186,27 @@ if (-f $conf) {
     unshift(@ARGV, @conf_args) if @conf_args;
 }
 
+my @ignore_emails = ();
+my $ignore_file = which_conf(".get_maintainer.ignore");
+if (-f $ignore_file) {
+    open(my $ignore, '<', "$ignore_file")
+	or warn "$P: Can't find a readable .get_maintainer.ignore file $!\n";
+    while (<$ignore>) {
+	my $line = $_;
+
+	$line =~ s/\s*\n?$//;
+	$line =~ s/^\s*//;
+	$line =~ s/\s+$//;
+	$line =~ s/#.*$//;
+
+	next if ($line =~ m/^\s*$/);
+	if (rfc822_valid($line)) {
+	    push(@ignore_emails, $line);
+	}
+    }
+    close($ignore);
+}
+
 if (!GetOptions(
 		'email!' => \$email,
 		'git!' => \$email_git,
@@ -513,6 +534,16 @@ if ($web) {
 
 exit($exit);
 
+sub ignore_email_address {
+    my ($address) = @_;
+
+    foreach my $ignore (@ignore_emails) {
+	return 1 if ($ignore eq $address);
+    }
+
+    return 0;
+}
+
 sub range_is_maintained {
     my ($start, $end) = @_;
 
@@ -1868,6 +1899,7 @@ sub vcs_assign {
 	my $percent = $sign_offs * 100 / $divisor;
 
 	$percent = 100 if ($percent > 100);
+	next if (ignore_email_address($line));
 	$count++;
 	last if ($sign_offs < $email_git_min_signatures ||
 		 $count > $email_git_max_maintainers ||
Signature · 1 line
2.1.4
author maintainer
#2 lore raw

PATCH 2/6 MAINTAINERS: Update sound soc intel patterns

In reply to Joe Perches

commit 2106241a6803 ("ASoC: Intel: create common folder and move common files in") moved the files around. Update the patterns.

---
 MAINTAINERS | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
MAINTAINERS +4 -5
index e278814..bbfb324 100644
@@ -5101,11 +5101,10 @@ INTEL ASoC BDW/HSW DRIVERS
 M:	Jie Yang <[email protected]>
 L:	[email protected]
 S:	Supported
-F:	sound/soc/intel/sst-haswell*
-F:	sound/soc/intel/sst-dsp*
-F:	sound/soc/intel/sst-firmware.c
-F:	sound/soc/intel/broadwell.c
-F:	sound/soc/intel/haswell.c
+F:	sound/soc/intel/common/sst-dsp*
+F:	sound/soc/intel/common/sst-firmware.c
+F:	sound/soc/intel/boards/broadwell.c
+F:	sound/soc/intel/haswell/
 
 INTEL C600 SERIES SAS CONTROLLER DRIVER
 M:	Intel SCU Linux support <[email protected]>
Signature · 1 line
2.1.4
Acked-by on v1 2/6
#3 lore raw

RE: [PATCH 2/6] MAINTAINERS: Update sound soc intel patterns

Quoted 11 lines

-----Original Message-----
From: Joe Perches [mailto:[email protected]]
Sent: Wednesday, May 06, 2015 12:33 AM
To: Andrew Morton; [email protected]
Cc: Jie, Yang
Subject: [PATCH 2/6] MAINTAINERS: Update sound soc intel patterns

commit 2106241a6803 ("ASoC: Intel: create common folder and move common files in") moved the files around. Update the patterns.

Thanks.

Quoted 27 lines
cc Jie Yang <[email protected]>
---
 MAINTAINERS | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
MAINTAINERS +4 -6
index e278814..bbfb324 100644
@@ -5101,11 +5101,10 @@ INTEL ASoC BDW/HSW DRIVERS
 M:	Jie Yang <[email protected]>
 L:	[email protected]
 S:	Supported
-F:	sound/soc/intel/sst-haswell*
-F:	sound/soc/intel/sst-dsp*
-F:	sound/soc/intel/sst-firmware.c
-F:	sound/soc/intel/broadwell.c
-F:	sound/soc/intel/haswell.c
+F:	sound/soc/intel/common/sst-dsp*
+F:	sound/soc/intel/common/sst-firmware.c
+F:	sound/soc/intel/boards/broadwell.c
+F:	sound/soc/intel/haswell/
 
 INTEL C600 SERIES SAS CONTROLLER DRIVER
 M:	Intel SCU Linux support <[email protected]>
--

2.1.4

author maintainer
#4 lore raw

PATCH 3/6 MAINTAINERS: Remove section BROADCOM BCM33XX MIPS ARCHITECTURE

In reply to Joe Perches

commit 5f2d44591fb3 ("MIPS: bcm3384: Rename "bcm3384" target to "bmips"") renamed the files and integrated them into an existing section.

Remove the section.

cc Kevin Cernekee <[email protected]>
---
 MAINTAINERS | 8 --------
 1 file changed, 8 deletions(-)
MAINTAINERS +0 -8
index bbfb324..f2fd5c7 100644
@@ -2141,14 +2141,6 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rpi/linux-rpi.git
 S:	Maintained
 N:	bcm2835
 
-BROADCOM BCM33XX MIPS ARCHITECTURE
-M:	Kevin Cernekee <[email protected]>
-L:	[email protected]
-S:	Maintained
-F:	arch/mips/bcm3384/*
-F:	arch/mips/include/asm/mach-bcm3384/*
-F:	arch/mips/kernel/*bmips*
-
 BROADCOM BCM5301X ARM ARCHITECTURE
 M:	Hauke Mehrtens <[email protected]>
 L:	[email protected]
Signature · 1 line
2.1.4
Acked-by on v1 3/6
#5 lore raw

Re: [PATCH 3/6] MAINTAINERS: Remove section BROADCOM BCM33XX MIPS ARCHITECTURE

Quoted 31 lines · Joe Perches

commit 5f2d44591fb3 ("MIPS: bcm3384: Rename "bcm3384" target to "bmips"") renamed the files and integrated them into an existing section.

Remove the section.

cc Kevin Cernekee <[email protected]>
---
 MAINTAINERS | 8 --------
 1 file changed, 8 deletions(-)
MAINTAINERS +0 -9
index bbfb324..f2fd5c7 100644
@@ -2141,14 +2141,6 @@ T:       git git://git.kernel.org/pub/scm/linux/kernel/git/rpi/linux-rpi.git
 S:     Maintained
 N:     bcm2835
 
-BROADCOM BCM33XX MIPS ARCHITECTURE
-M:     Kevin Cernekee <[email protected]>
-L:     [email protected]
-S:     Maintained
-F:     arch/mips/bcm3384/*
-F:     arch/mips/include/asm/mach-bcm3384/*
-F:     arch/mips/kernel/*bmips*
-
 BROADCOM BCM5301X ARM ARCHITECTURE
 M:     Hauke Mehrtens <[email protected]>
 L:     [email protected]
--
Quoted 2 lines

2.1.4

Acked-by on v1 3/6
#6 lore raw

Re: [PATCH 3/6] MAINTAINERS: Remove section BROADCOM BCM33XX MIPS ARCHITECTURE

In reply to Joe Perches
Quoted 7 lines · Joe Perches

commit 5f2d44591fb3 ("MIPS: bcm3384: Rename "bcm3384" target to "bmips"") renamed the files and integrated them into an existing section.

Remove the section.

cc Kevin Cernekee <[email protected]>
Quoted 24 lines
---
 MAINTAINERS | 8 --------
 1 file changed, 8 deletions(-)
MAINTAINERS +0 -8
index bbfb324..f2fd5c7 100644
@@ -2141,14 +2141,6 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rpi/linux-rpi.git
 S:	Maintained
 N:	bcm2835
 
-BROADCOM BCM33XX MIPS ARCHITECTURE
-M:	Kevin Cernekee <[email protected]>
-L:	[email protected]
-S:	Maintained
-F:	arch/mips/bcm3384/*
-F:	arch/mips/include/asm/mach-bcm3384/*
-F:	arch/mips/kernel/*bmips*
-
 BROADCOM BCM5301X ARM ARCHITECTURE
 M:	Hauke Mehrtens <[email protected]>
 L:	[email protected]
Signature · 1 line
Florian
author maintainer
#7 lore raw

PATCH 4/6 MAINTAINERS: Update brcm dts pattern

In reply to Joe Perches

Commit 8c0b9ee8665c ("MIPS: Move device-trees into vendor sub-directories") moved the files, update the pattern.

cc Andrew Bresticker <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index f2fd5c7..08a2925 100644
@@ -2184,7 +2184,7 @@ S:	Maintained
 F:	arch/mips/bmips/*
 F:	arch/mips/include/asm/mach-bmips/*
 F:	arch/mips/kernel/*bmips*
-F:	arch/mips/boot/dts/bcm*.dts*
+F:	arch/mips/boot/dts/brcm/bcm*.dts*
 F:	drivers/irqchip/irq-bcm7*
 F:	drivers/irqchip/irq-brcmstb*
 
Signature · 1 line
2.1.4
author maintainer
#8 lore raw

PATCH 5/6 MAINTAINERS: Update brcm gpio filename pattern

In reply to Joe Perches

commit 23a71fd616bf ("dt-bindings: brcm: rationalize Broadcom documentation naming") renamed the file, update the pattern.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 08a2925..5dd426b 100644
@@ -2236,7 +2236,7 @@ M:	Ray Jui <[email protected]>
 L:	[email protected]
 S:	Supported
 F:	drivers/gpio/gpio-bcm-kona.c
-F:	Documentation/devicetree/bindings/gpio/gpio-bcm-kona.txt
+F:	Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt
 
 BROADCOM SPECIFIC AMBA DRIVER (BCMA)
 M:	Rafał Miłecki <[email protected]>
Signature · 1 line
2.1.4
Acked-by on v1 5/6
#9 lore raw

Re: [PATCH 5/6] MAINTAINERS: Update brcm gpio filename pattern

Looks good.

Quoted 23 lines · Joe Perches

commit 23a71fd616bf ("dt-bindings: brcm: rationalize Broadcom documentation naming") renamed the file, update the pattern.

---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 08a2925..5dd426b 100644
@@ -2236,7 +2236,7 @@ M:	Ray Jui <[email protected]>
  L:	[email protected]
  S:	Supported
  F:	drivers/gpio/gpio-bcm-kona.c
-F:	Documentation/devicetree/bindings/gpio/gpio-bcm-kona.txt
+F:	Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt
 
  BROADCOM SPECIFIC AMBA DRIVER (BCMA)
  M:	Rafał Miłecki <[email protected]>
author maintainer
#10 lore raw

PATCH 6/6 MAINTAINERS: Remove unused nbd.h pattern

In reply to Joe Perches

commit 13e71d69cc74 ("nbd: Remove kernel internal header") deleted the file, remove the pattern.

cc Markus Pargmann <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 5dd426b..f857efc 100644
@@ -6790,7 +6790,6 @@ L:	[email protected]
 T:	git git://git.pengutronix.de/git/mpa/linux-nbd.git
 F:	Documentation/blockdev/nbd.txt
 F:	drivers/block/nbd.c
-F:	include/linux/nbd.h
 F:	include/uapi/linux/nbd.h
 
 NETWORK DROP MONITOR
Signature · 1 line
2.1.4
Acked-by on v1 6/6
#11 lore raw

Re: [PATCH 6/6] MAINTAINERS: Remove unused nbd.h pattern

Quoted 4 lines · Joe Perches

commit 13e71d69cc74 ("nbd: Remove kernel internal header") deleted the file, remove the pattern.

Thanks,

Best Regards,

Markus

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |