Skip to contentSkip to conversation

MAINTAINERS: Any file with "riscv" in the name is a RISC-V file

PATCH In review Palmer Dabbelt 4 participants 6 messages Nov 21, 2018 – Nov 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 MAINTAINERS: Any file with "riscv" in the name is a RISC-V file

There was a recent thread about unmaintained files in QEMU where it was noted that a few RISC-V related files had slipped through the patterns in our MAINTAINERS file entry. This patch adds some more aggressive pattern matching in an attempt to rectify this situation.

---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
index 1032406c5607..e89adc81d5d5 100644
@@ -255,6 +255,8 @@ F: target/riscv/
 F: hw/riscv/
 F: include/hw/riscv/
 F: disas/riscv.c
+K: riscv
+N: riscv
 
 S390
 M: Richard Henderson <[email protected]>
Signature · 1 line
2.18.1
#1 lore raw

PATCH 2/2 MAINTAINERS: Mark RISC-V as Supported

There's three of us that are paid to work on this.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index e89adc81d5d5..d5ec5e74f328 100644
@@ -250,7 +250,7 @@ M: Alistair Francis <[email protected]>
 M: Sagar Karandikar <[email protected]>
 M: Bastian Koppelmann <[email protected]>
 L: [email protected]
-S: Maintained
+S: Supported
 F: target/riscv/
 F: hw/riscv/
 F: include/hw/riscv/
Signature · 1 line
2.18.1
#3 lore raw
In reply to Palmer Dabbelt
Quoted 15 lines · Palmer Dabbelt

There was a recent thread about unmaintained files in QEMU where it was noted that a few RISC-V related files had slipped through the patterns in our MAINTAINERS file entry. This patch adds some more aggressive pattern matching in an attempt to rectify this situation.

---
  MAINTAINERS | 2 ++
  1 file changed, 2 insertions(+)
MAINTAINERS +0 -0
index 1032406c5607..e89adc81d5d5 100644

MAINTAINERS F: target/riscv/ · line 259

Quoted 5 lines
MAINTAINERS +2 -0
@@ -255,6 +255,8 @@ F: target/riscv/
  F: hw/riscv/
  F: include/hw/riscv/
  F: disas/riscv.c
+K: riscv
+N: riscv

QEMU doesn't support the 'N' tag.
I see from the Linux kernel:

N: Files and directories with regex patterns.
N: [^a-z]tegra all files whose path contains the word tegra
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Should we add this feature to checkscript?

Quoted 4 lines
MAINTAINERS +0 -0
  S390
  M: Richard Henderson <[email protected]>
 
#4 lore raw
Quoted 34 lines · On Wed, 21 Nov 2018 16:29:09 PST (-0800), [email protected] wrote:
Quoted 15 lines · Palmer Dabbelt

There was a recent thread about unmaintained files in QEMU where it was noted that a few RISC-V related files had slipped through the patterns in our MAINTAINERS file entry. This patch adds some more aggressive pattern matching in an attempt to rectify this situation.

---
  MAINTAINERS | 2 ++
  1 file changed, 2 insertions(+)
MAINTAINERS +0 -0
index 1032406c5607..e89adc81d5d5 100644

MAINTAINERS F: target/riscv/ · line 259

Quoted 5 lines
MAINTAINERS +2 -0
@@ -255,6 +255,8 @@ F: target/riscv/
  F: hw/riscv/
  F: include/hw/riscv/
  F: disas/riscv.c
+K: riscv
+N: riscv

QEMU doesn't support the 'N' tag.
I see from the Linux kernel:

N: Files and directories with regex patterns.
N: [^a-z]tegra all files whose path contains the word tegra
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Quoted 1 line

Should we add this feature to checkscript?

Ah, I didn't check because I just copied this from our Linux entry. It's pretty much the core of what I'm trying to do here so if it's easy then that'd be great.

Unfortunately I don't know how to do so.

Quoted 5 lines
Quoted 5 lines
MAINTAINERS +0 -0
  S390
  M: Richard Henderson <[email protected]>
 
Reviewed-by on v1 2/2
#2 lore raw

Re: [Qemu-devel] [PATCH for-3.1 2/2] MAINTAINERS: Mark RISC-V as Supported

In reply to Palmer Dabbelt
Quoted 4 lines · Palmer Dabbelt

There's three of us that are paid to work on this.

Alistair

Quoted 21 lines
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -2
index e89adc81d5d5..d5ec5e74f328 100644
@@ -250,7 +250,7 @@ M: Alistair Francis <[email protected]>
 M: Sagar Karandikar <[email protected]>
 M: Bastian Koppelmann <[email protected]>
 L: [email protected]
-S: Maintained
+S: Supported
 F: target/riscv/
 F: hw/riscv/
 F: include/hw/riscv/
--

2.18.1

#5 lore raw
In reply to Palmer Dabbelt
Quoted 12 lines · Palmer Dabbelt
Quoted 11 lines · On Wed, 21 Nov 2018 16:29:09 PST (-0800), [email protected] wrote:
Quoted 10 lines · Palmer Dabbelt

There was a recent thread about unmaintained files in QEMU where it was noted that a few RISC-V related files had slipped through the patterns in our MAINTAINERS file entry.  This patch adds some more aggressive pattern matching in an attempt to rectify this situation.

---
  MAINTAINERS | 2 ++

  1 file changed, 2 insertions(+)
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
MAINTAINERS +0 -0
index 1032406c5607..e89adc81d5d5 100644
@@ -255,6 +255,8 @@ F: target/riscv/

  F: hw/riscv/
  F: include/hw/riscv/
  F: disas/riscv.c
+K: riscv

Please be very careful with the "K:" lines ... you could suddenly end up being a "maintainer" for files that you did not expect. For example, after applying your patch, I guess the following commands will tell you that you're the maintainer of these files:

script/get_maintainer.pl -f MAINTAINERS
script/get_maintainer.pl -f qapi/misc.json
script/get_maintainer.pl -f configure
...

For this reason, we've limited the "K:" lines in MAINTAINERS so far to files that contain the regex "^Subject:", too (so that they only match patches with the keyword in the subject).

Quoted 14 lines
Quoted 14 lines
Quoted 1 line

+N: riscv

QEMU doesn't support the 'N' tag.
I see from the Linux kernel:

   N: Files and directories with regex patterns.
      N:   [^a-z]tegra     all files whose path contains the word tegra One pattern per line.  Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns.  By default, get_maintainer will not look at git log history when an F: pattern match occurs.  When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Quoted 7 lines
Quoted 1 line

Should we add this feature to checkscript?

Ah, I didn't check because I just copied this from our Linux entry. It's pretty much the core of what I'm trying to do here so if it's easy then that'd be great.

Unfortunately I don't know how to do so.

Try to export the commits eb90d0855 and bbbe96ed8 from the Linux kernel git and see whether the patches can be applied to our version of get_maintainers.pl, too.

HTH,
Thomas