Skip to contentSkip to conversation

MAINTAINERS: Add section for subsystem shortname

RFC PATCH In review Peter Senna Tschudin 4 participants 8 messages Oct 2, 2012 Kernel janitors

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 MAINTAINERS: Add section for subsystem shortname

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

---
 MAINTAINERS | 5 +++++
 1 file changed, 5 insertions(+)
MAINTAINERS +5 -0
index 3386238..a1be2a1 100644
@@ -104,6 +104,11 @@ Descriptions of section entries:
 	      matches patches or files that contain one or more of the words
 	      printk, pr_info or pr_err
 	   One regex pattern per line.  Multiple K: lines acceptable.
+	U: Subsystem short name. Used in the subject of patch sent by email to
+	   identify that subsystem. Short means up to 20 chars. Examples:
+	   U:	media
+	   U:	media/em28xx
+	   U:	SCSI
 
 Note: For the hard of thinking, this list is meant to remain in alphabetical
 order. If you could add yourselves to it in alphabetical order that would be
Signature · 1 line
1.7.11.4
#1 lore raw
Quoted 6 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

This is pretty useless without a script to parse it. Also none of subsystem names you chose as examples are correct. Please line wrap your commit message at 72 characters.

regards,
dan carpenter

#2 lore raw
Quoted 9 lines · Dan Carpenter
Quoted 6 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

This is pretty useless without a script to parse it. Also none of

With or without a script, there is no default way of finding the short name. Changing scripts/get_maintainer.pl to do it does not seems very complex.

Quoted 1 line

subsystem names you chose as examples are correct. Please line wrap

See? It's not easy to find three examples to put on the text. Can you please provide three examples?

Quoted 1 line

your commit message at 72 characters.

Yes. I'll fix it.

Thank you,

Peter

Quoted 4 lines

regards,
dan carpenter

Signature · 1 line
Peter
#3 lore raw
Quoted 6 lines · Peter Senna Tschudin
Quoted 5 lines · Dan Carpenter
Quoted 4 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

This is pretty useless without a script to parse it. Also none of

With or without a script, there is no default way of finding the short name. Changing scripts/get_maintainer.pl to do it does not seems very complex.

Perhaps you should do get_maintainer.pl changes yourself and then use it to test on some of your patches to see what subject it produces.

Then it's easier to see if the proposal makes sense.
A new rule / standard is something hard to push and we want to have as much facts as possible to make better decisions.

Thanks,
Ezequiel.

#4 lore raw
Quoted 11 lines · Ezequiel Garcia
Quoted 9 lines · Peter Senna Tschudin
Quoted 8 lines · Dan Carpenter
Quoted 6 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

This is pretty useless without a script to parse it. Also none of

With or without a script, there is no default way of finding the short name. Changing scripts/get_maintainer.pl to do it does not seems very complex.

Perhaps you should do get_maintainer.pl changes yourself and then use it to test on some of your patches to see what subject it produces.

What are your doubts about this method of getting the short name?

Quoted 4 lines

Then it's easier to see if the proposal makes sense.
A new rule / standard is something hard to push and we want to have as much facts as possible to make better decisions.

The fact is that currently there is no standard way of getting the short name for a subsystem. My proposal fixes it allowing to look on the MAINTAINERS file to see what short name to use.

Quoted 3 lines

Thanks,
Ezequiel.

Signature · 1 line
Peter
#5 lore raw
Quoted 13 lines · Peter Senna Tschudin
Quoted 12 lines · Ezequiel Garcia
Quoted 10 lines · Peter Senna Tschudin
Quoted 9 lines · Dan Carpenter
Quoted 6 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

This is pretty useless without a script to parse it. Also none of

Quoted 9 lines
Quoted 7 lines
Quoted 4 lines

With or without a script, there is no default way of finding the short name. Changing scripts/get_maintainer.pl to do it does not seems very complex.

Perhaps you should do get_maintainer.pl changes yourself and then use it to test on some of your patches to see what subject it produces.

What are your doubts about this method of getting the short name?

No doubts so far since I haven't seen it in action. Some script results and more examples could help.

Quoted 8 lines
Quoted 4 lines

Then it's easier to see if the proposal makes sense.
A new rule / standard is something hard to push and we want to have as much facts as possible to make better decisions.

The fact is that currently there is no standard way of getting the short name for a subsystem. My proposal fixes it allowing to look on the MAINTAINERS file to see what short name to use.

There is no standard way of getting short name, and there isn't standard way of naming a patch either.

Just looking through media list I can spot lots of different subject schemes:
[media] foo: fix some bug
media: foo: fix some bug
foo: fix some bug
Some random text and fix some bug

Regards,
Ezequiel.

#6 lore raw
Quoted 37 lines · Ezequiel Garcia
Quoted 13 lines · Peter Senna Tschudin
Quoted 12 lines · Ezequiel Garcia
Quoted 10 lines · Peter Senna Tschudin
Quoted 9 lines · Dan Carpenter
Quoted 6 lines · Peter Senna Tschudin

The shortname for a subsystem, that is primarly used when sending patches over E-mail, is not stored anywhere in the source code. Actually one need to dig git log or mailing list archives. There is no standard, and the Maintainer choose how to short name his/her subsystem. MAINTAINERS file is the right place for storing this information.

U is the second letter of Subsystem.

This will also enable automatic tools like scripts/get_maintainer.pl to provide the correct short name for each filename in the Kernel source tree.

This is pretty useless without a script to parse it. Also none of

Quoted 9 lines
Quoted 7 lines
Quoted 4 lines

With or without a script, there is no default way of finding the short name. Changing scripts/get_maintainer.pl to do it does not seems very complex.

Perhaps you should do get_maintainer.pl changes yourself and then use it to test on some of your patches to see what subject it produces.

What are your doubts about this method of getting the short name?

No doubts so far since I haven't seen it in action. Some script results and more examples could help.

Quoted 8 lines
Quoted 4 lines

Then it's easier to see if the proposal makes sense.
A new rule / standard is something hard to push and we want to have as much facts as possible to make better decisions.

The fact is that currently there is no standard way of getting the short name for a subsystem. My proposal fixes it allowing to look on the MAINTAINERS file to see what short name to use.

Quoted 8 lines

There is no standard way of getting short name, and there isn't standard way of naming a patch either.

Just looking through media list I can spot lots of different subject schemes:
[media] foo: fix some bug
media: foo: fix some bug
foo: fix some bug
Some random text and fix some bug

According to:

http://yarchive.net/comp/linux/commit_messages.html

the subsystem short name is also important for whom is not working directly on that subsystem but may receive the E-mail with the patch...

Quoted 3 lines

Regards,
Ezequiel.

Signature · 1 line
Peter
#7 lore raw
Quoted 7 lines · Peter Senna Tschudin
Quoted 5 lines · Ezequiel Garcia

Just looking through media list I can spot lots of different subject schemes:
[media] foo: fix some bug
media: foo: fix some bug
foo: fix some bug
Some random text and fix some bug

Quoted 7 lines

According to:

http://yarchive.net/comp/linux/commit_messages.html

the subsystem short name is also important for whom is not working directly on that subsystem but may receive the E-mail with the patch...

Thread from awhile ago:
https://lkml.org/lkml/2010/11/16/245