> This sounds like a great quality-of-life improvement for doing kernel USNs - I
> wonder though if instead of hard-coding the mapping of subsystem paths to
> descriptions, whether you could use the contents of MAINTAINERS (via
> ./scripts/get_maintainer.pl --subsystem -f $path) and then fallback to this if
> needed?
I really like your idea, I think that we could get ride of the hard-coding style
and move to a better way. I've tried a few things outside of this tree in order
to find a way of using the get_maintainer.pl that I'd like to ask your review,
if possible, please.
Mainly, I'm running the get_maintainer as:
./scripts/get_maintainer.pl --subsystem --sections -f $file_path
and filtering out every line that is not a subsystem
What is not really nice:
- It is not yet ordered by kernel tree hierarchy;
- We have a few "subsystems" that are not really useful like "BPF", "NETWORKING"
that are part of the output because I'm getting everything from the
'get_maintainer' besides "THE REST"
- It is a bit slow;
Do you like this output style or/and have other suggestions, please?
Really appreciate it.
Thank you very much!
Hi Alex,
> This sounds like a great quality-of-life improvement for doing kernel USNs - I get_maintainer. pl --subsystem -f $path) and then fallback to this if
> wonder though if instead of hard-coding the mapping of subsystem paths to
> descriptions, whether you could use the contents of MAINTAINERS (via
> ./scripts/
> needed?
I really like your idea, I think that we could get ride of the hard-coding style
and move to a better way. I've tried a few things outside of this tree in order
to find a way of using the get_maintainer.pl that I'd like to ask your review,
if possible, please.
The suggestion is in this standalone python file that can be ran outside of /pastebin. canonical. com/p/jyKc8mVw3 q/
the tree without any inputs:
https:/
The output for it is at: /pastebin. canonical. com/p/jBc5vVvQQ X/
https:/
Mainly, I'm running the get_maintainer as: get_maintainer. pl --subsystem --sections -f $file_path
./scripts/
and filtering out every line that is not a subsystem
What is not really nice:
- It is not yet ordered by kernel tree hierarchy;
- We have a few "subsystems" that are not really useful like "BPF", "NETWORKING"
that are part of the output because I'm getting everything from the
'get_maintainer' besides "THE REST"
- It is a bit slow;
Do you like this output style or/and have other suggestions, please?
Really appreciate it.
Thank you very much!