Validating MAINTAINERS entries?
Several times in the past, when using MAINTAINERS list either automatically (or from manual entry) have found the mailing address in the file is no longer valid.
What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Quoted 7 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
regards,
dan carpenter
Quoted 5 lines · Dan Carpenter
Quoted 3 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.
Quoted 8 lines
Quoted 4 lines
What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
Dan, I believe this exists already: .get_maintainer.ignore
For many years, there was only one developer using this feature, now we have at least two developers. It seems that many others resolve this issue just in their local setup differently, though.
Lukas
Quoted 11 lines · Dan Carpenter
Quoted 7 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
Isn't that what CREDITS is for?
Quoted 11 lines · Greg KH
Quoted 9 lines · Dan Carpenter
Quoted 7 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Quoted 5 lines
Quoted 2 lines
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
Isn't that what CREDITS is for?
I agree with Greg here.
For:
"a RETIRED file or something for when people retire" -> CREDITS "don't want get_maintainer.pl hassling them" -> .get_maintainer.ignore
Choose what fits for your case.
Lukas
Quoted 18 lines · Lukas Bulwahn
Quoted 11 lines · Greg KH
Quoted 9 lines · Dan Carpenter
Quoted 7 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Quoted 5 lines
Quoted 2 lines
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
Isn't that what CREDITS is for?
Quoted 7 lines
I agree with Greg here.
For:
"a RETIRED file or something for when people retire" -> CREDITS "don't want get_maintainer.pl hassling them" -> .get_maintainer.ignoreChoose what fits for your case.
Perfect! Thanks. I had no idea about .get_maintainer.ignore and started to implement it myself, but it turns out I am lazy and suck at Perl.
regards,
dan carpenter
Quoted 18 lines · Lukas Bulwahn
Quoted 11 lines · Greg KH
Quoted 9 lines · Dan Carpenter
Quoted 7 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Quoted 5 lines
Quoted 2 lines
Also we could add a RETIRED file or something for when people retire and don't want get_maintainer.pl hassling them.
Isn't that what CREDITS is for?
Quoted 6 lines
I agree with Greg here.
For:
"a RETIRED file or something for when people retire" -> CREDITS"don't want get_maintainer.pl hassling them" -> .get_maintainer.ignore
This potentially looks good. Does it ignore completely though?
Is there anything I can use that says:
"Don't suggest mailing me for any files I'm not the maintainer of?"
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Quoted 5 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Education is not the answer.
We've got thousands of devs and no one can keep track of everyone and their motives.
When I send patches, there are few people that I know what they're about and I manually delete them. I also know which mailing lists those people read so normally they're going to get the email even if they're not on the CC list.
Other times, I wonder why maintainers are still on the CC list if they haven't been active in years. But I'm not going to manually remove them. It's worse to get chewed out for not CCing someone than for including them.
The one split which is quite confusing to me is the netdev vs wireless split. For wireless patches, I generelly delete all the netdev maintainers. Some people I'm not sure what they care about so I leave them.
regards,
dan carpenter
Quoted 17 lines · Dan Carpenter
Quoted 5 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Education is not the answer.
We've got thousands of devs and no one can keep track of everyone and their motives.
When I send patches, there are few people that I know what they're about and I manually delete them. I also know which mailing lists those people read so normally they're going to get the email even if they're not on the CC list.
Quoted 4 lines
Other times, I wonder why maintainers are still on the CC list if they haven't been active in years. But I'm not going to manually remove them. It's worse to get chewed out for not CCing someone than for including them.
Huh. Chewed out for including them? I had always thought that was *the* point of MAINTAINERS.
Now, with lei (<3), MAINTAINERS becomes less important, as I can search for the files/functions I'm interested in, and until someone starts sending spam including patch hunks just to get pulled into such searches that's more reliable than my shoddy spam filtering attempts on personal email :) The latter dropping important emails and letting through spam...
Quoted 7 lines
The one split which is quite confusing to me is the netdev vs wireless split. For wireless patches, I generelly delete all the netdev maintainers. Some people I'm not sure what they care about so I leave them.
regards,
dan carpenter
Quoted 11 lines · Dan Carpenter
Quoted 4 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Education is not the answer.
We've got thousands of devs and no one can keep track of everyone and their motives.
I think the issue there is more that if someone sent a drive by patch to some driver they'll start showing up in the git history and often get CCed on future changes going forwards, which can then result in getting copied into further postings done by copying from prior postings. That does feel somewhat tractable to education, at least in the early stages.
Quoted 10 lines · Mark Brown
Quoted 8 lines · Dan Carpenter
Quoted 4 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Education is not the answer.
Quoted 8 lines
Quoted 2 lines
We've got thousands of devs and no one can keep track of everyone and their motives.
I think the issue there is more that if someone sent a drive by patch to some driver they'll start showing up in the git history and often get CCed on future changes going forwards, which can then result in getting copied into further postings done by copying from prior postings. That does feel somewhat tractable to education, at least in the early stages.
How about default tooling values, get_maintainer.pl in this case?
I tend to over-ride this default to 75% to avoid the aforementioned:
--git-min-percent => minimum percentage of commits required (default: 5)
5 is not a lot of percent for seldomly touched source files.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 8 lines · Lee Jones
Quoted 5 lines · Mark Brown
Quoted 4 lines · Dan Carpenter
Quoted 2 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
After your W=1 and kerneldoc fixes, you're screwed. ;)
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Or is this just an education point?
Education is not the answer.
Yes. I'm convinced there is no way to solve these problems on the sender side. I see plenty of cases of not running get_maintainers.pl. You've got to filter out what you want on your end. And lei is great for that.
Quoted 9 lines
Quoted 8 lines
Quoted 2 lines
We've got thousands of devs and no one can keep track of everyone and their motives.
I think the issue there is more that if someone sent a drive by patch to some driver they'll start showing up in the git history and often get CCed on future changes going forwards, which can then result in getting copied into further postings done by copying from prior postings. That does feel somewhat tractable to education, at least in the early stages.
Quoted 7 lines
How about default tooling values, get_maintainer.pl in this case?
I tend to over-ride this default to 75% to avoid the aforementioned:
--git-min-percent => minimum percentage of commits required (default: 5)
5 is not a lot of percent for seldomly touched source files.
Send a patch. I would also bump --git-min-signatures from 1.
Rob
Quoted 7 lines · Rob Herring
Quoted 3 lines · Lee Jones
Quoted 1 line · Mark Brown
Quoted 1 line
Education is not the answer.
Yes. I'm convinced there is no way to solve these problems on the sender side. I see plenty of cases of not running get_maintainers.pl.
We can't solve problems, but we can make things a bit better.
Quoted 2 lines
You've got to filter out what you want on your end. And lei is great for that.
lei is too new for Debian stable :/
Quoted 5 lines
Quoted 3 lines
--git-min-percent => minimum percentage of commits required (default: 5)
5 is not a lot of percent for seldomly touched source files.
Send a patch. I would also bump --git-min-signatures from 1.
Will that do the right thing in cases like recently added files?
Quoted 4 lines · Mark Brown
Quoted 2 lines
You've got to filter out what you want on your end. And lei is great for that.
lei is too new for Debian stable :/
We also have plans to have centrally-managed lei filtering, available via read-only mailboxes. This way "trawl all lists for relevant messages" can happen on the kernel.org end and maintainers can make use of pre-filtered data.
-K
Quoted 10 lines · Mark Brown
Quoted 7 lines · Rob Herring
Quoted 3 lines · Lee Jones
Quoted 1 line · Mark Brown
Quoted 1 line
Education is not the answer.
Yes. I'm convinced there is no way to solve these problems on the sender side. I see plenty of cases of not running get_maintainers.pl.
Quoted 6 lines
We can't solve problems, but we can make things a bit better.
Quoted 2 lines
You've got to filter out what you want on your end. And lei is great for that.
lei is too new for Debian stable :/
Meaning it's not packaged or needs newer dependencies?
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
--git-min-percent => minimum percentage of commits required (default: 5)
5 is not a lot of percent for seldomly touched source files.
Send a patch. I would also bump --git-min-signatures from 1.
Will that do the right thing in cases like recently added files?
Yes, because I'm sure checkpatch.pl was run on the patch adding the files and it tells you 'added file, need a MAINTAINERS entry?'.
Really, I would (and do) turn off gitfallback completely by default. If someone wants to be CCed and there's not a MAINTAINERS entry, then that's on them.
Rob
Quoted 9 lines · Rob Herring
Quoted 6 lines · Mark Brown
Quoted 2 lines · Rob Herring
You've got to filter out what you want on your end. And lei is great for that.
lei is too new for Debian stable :/
Meaning it's not packaged or needs newer dependencies?
IIRC it (well, public-inbox) is packaged but is an old version without the lei functionality, and/or there were some dependency issues. It was a while ago that I looked.
Quoted 4 lines
Quoted 1 line
Will that do the right thing in cases like recently added files?
Yes, because I'm sure checkpatch.pl was run on the patch adding the files and it tells you 'added file, need a
MAINTAINERSentry?'.
Right, if people run and pay attention to checkpatch.
Quoted 3 lines
Really, I would (and do) turn off gitfallback completely by default. If someone wants to be CCed and there's not a
MAINTAINERSentry, then that's on them.
Yes.
Quoted 8 lines · Mark Brown
Quoted 5 lines · Rob Herring
Quoted 4 lines · Mark Brown
Quoted 2 lines · Rob Herring
You've got to filter out what you want on your end. And lei is great for that.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
lei is too new for Debian stable :/
Meaning it's not packaged or needs newer dependencies?
IIRC it (well, public-inbox) is packaged but is an old version without the lei functionality, and/or there were some dependency issues. It was a while ago that I looked.
v1.8.0 which is the latest, is in Debian and also in bullseye-backports.
Signature · 2 lines
Regards Sudip
Quoted 11 lines · Rob Herring
Quoted 8 lines · Lee Jones
Quoted 5 lines · Mark Brown
Quoted 4 lines · Dan Carpenter
Quoted 2 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
After your W=1 and kerneldoc fixes, you're screwed. ;)
Yes, and the tragic thing is, I still have aspirations to go finish that!
Quoted 20 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Or is this just an education point?
Education is not the answer.
Yes. I'm convinced there is no way to solve these problems on the sender side. I see plenty of cases of not running get_maintainers.pl. You've got to filter out what you want on your end. And lei is great for that.
Quoted 11 lines
Quoted 8 lines
Quoted 2 lines
We've got thousands of devs and no one can keep track of everyone and their motives.
I think the issue there is more that if someone sent a drive by patch to some driver they'll start showing up in the git history and often get CCed on future changes going forwards, which can then result in getting copied into further postings done by copying from prior postings. That does feel somewhat tractable to education, at least in the early stages.
How about default tooling values, get_maintainer.pl in this case?
Quoted 7 lines
Quoted 5 lines
I tend to over-ride this default to 75% to avoid the aforementioned:
--git-min-percent => minimum percentage of commits required (default: 5)
5 is not a lot of percent for seldomly touched source files.
Send a patch. I would also bump --git-min-signatures from 1.
I can do that. Fair warning, it won't be until around mid-cycle.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 9 lines · Mark Brown
Quoted 7 lines · Dan Carpenter
Quoted 4 lines · Lee Jones
I am presently plagued with reviews for lots of files that I've touched over the years. Even if the changes were trivial.
Or is this just an education point?
Education is not the answer.
Quoted 8 lines
Quoted 2 lines
We've got thousands of devs and no one can keep track of everyone and their motives.
I think the issue there is more that if someone sent a drive by patch to some driver they'll start showing up in the git history and often get CCed on future changes going forwards, which can then result in getting copied into further postings done by copying from prior postings. That does feel somewhat tractable to education, at least in the early stages.
And for drive-by changes to Kconfig files or Makefiles, it is amplified to any other sections in these files :-(
Perhaps scripts/get_maintainer.pl can be taught to only consider the subsystem maintainer, and ignore git history, for changes to Makefiles and Kconfig files?
Or move the Kconfig/Makefile bits into the driver sources, next to the MODULE_*() bits, which I believe was part of Roman Zippel's big plan when he wrote the new Kconfig system...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 3 lines · Geert Uytterhoeven
Perhaps
scripts/get_maintainer.plcan be taught to only consider the subsystem maintainer, and ignore git history, for changes to Makefiles andKconfigfiles?
In general looking at git history is pretty much always the wrong thing, except maybe for the initial commit.
Quoted 3 lines
Or move the Kconfig/Makefile bits into the driver sources, next to the MODULE_*() bits, which I believe was part of Roman Zippel's big plan when he wrote the new
Kconfigsystem...
I don't think having Kconfig in source files is a good thing. Being able to integrate the Makefile into Kconfig OTOH would be really nice..
config FOOBAR
tristate 'Foo driver'
depends on PCI
help
This is the driver for the foo hardware.
module foo
sources foo_core.c foo_sysfs.c foo_debugfs.c
Quoted 8 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
In many cases, you can avoid the noise of sending out a probe mail, but simply checking the lore.kernel.org archives for an email response from that email within the last year.
Many maintainers are simply going to be active, so that.
Then, you may consider just the remaining cases:
Some maintainers use a different email for responding than for receiving patches. The email address for receiving patches is in MAINTAINERS, the email address for responding is visible on lore.kernel.org.
Some maintainers do not even need to respond within the last year, as no patches were sent to the maintainer's area of responsibility. Some emails are in fact dead.
Alternatively, you could just offer "a service" for kernel developers to forward the automated emails from servers, when an email is dead, to some other email, and then, you go through those and create the needed patches to MAINTAINERS.
Anyway, creating this clean-up patch for MAINTAINERS is probably still some semi-automated effort and not fully automatic (as e.g., you probably want to split this patch going to different subsystem maintainers and get their acknowledgement), though.
I am also aware of many other clean-up aspects in MAINTAINERS. Just trying to keep ./scripts/get_maintainer.pl --self-test=patterns without warnings is already a task that can keep you busy, which I now know from trying to do so for two or three years.
Lukas
Quoted 8 lines · Stephen Hemminger
Several times in the past, when using
MAINTAINERSlist either automatically (or from manual entry) have found the mailing address in the file is no longer valid.What about doing an annual probe mail to all maintainers and sending a patch to prune out any addresses that auto respond as dead. This won't catch ghost entries but would find any dead ones.
Yes, it would be great to sweep the MAINTAINERS file once a year or so. I know others have attempted to do it, but no one has really stuck with it. There's no real reason why anyone can't do this if they want to send the patches for it.
thanks,
greg k-h