Hi Uwe,

On Tue, 11 Feb 2025 at 16:09, Uwe Kleine-König
<u.kleine-koe...@baylibre.com> wrote:
> On Tue, Feb 11, 2025 at 11:48:13AM +0100, Geert Uytterhoeven wrote:
> > On Tue, 11 Feb 2025 at 11:32, Uwe Kleine-König
> > <u.kleine-koe...@baylibre.com> wrote:
> > > On Mon, Feb 03, 2025 at 12:13:16PM +0100, Vlastimil Babka wrote:
> > > > The subsystem status is currently reported with --role(stats) by
> > > > adjusting the maintainer role for any status different from Maintained.
> > > > This has two downsides:
> > > >
> > > > - if a subsystem has only reviewers or mailing lists and no maintainers,
> > > >   the status is not reported (i.e. typically, Orphan subsystems have no
> > > >   maintainers)
> > > >
> > > > - the Supported status means that someone is paid for maintaining, but
> > > >   it is reported as "supporter" for all the maintainers, which can be
> > > >   incorrect. People have been also confused about what "supporter"
> > > >   means.
> > > >
> > > > This patch introduces a new --substatus option and functionality aimed
> > > > to report the subsystem status separately, without adjusting the
> > > > reported maintainer role. After the e-mails are output, the status of
> > > > subsystems will follow, for example:
> > > >
> > > > ...
> > > > linux-kernel@vger.kernel.org (open list:LIBRARY CODE)
> > > > LIBRARY CODE status: Supported
> > > >
> > > > In order to allow replacing the role rewriting seamlessly, the new
> > > > option works as follows:
> > > >
> > > > - it is automatically enabled when --email and --role are enabled
> > > >   (the defaults include --email and --rolestats which implies --role)
> > > >
> > > > - usages with --norolestats e.g. for git's --cc-cmd will thus need no
> > > >   adjustments
> > > >
> > > > - the most common Maintained status is not reported at all, to reduce
> > > >   unnecessary noise
> > > >
> > > > - THE REST catch-all section (contains lkml) status is not reported
> > > >
> > > > - the existing --subsystem and --status options are unaffected so their
> > > >   users will need no adjustments
> > > >
> > > > Signed-off-by: Vlastimil Babka <vba...@suse.cz>
> > >
> > > This patch is in next as c1565b6f7b53ea1ea3e757538832e12d7d13d949. It
> > > breaks one of my scripts that I use to semi-automatically determine
> > > recipents for patch series.
> > >
> > > It works as follows:
> > >
> > >         $ batch-add-recipents 
> > > audin-patch-v1/0001-ASoC-meson-HACK-let-AIU-export-its-clocks-through-cl.patch
> > >         #!/bin/sh
> > >
> > >         addrecipent \
> > >         -t "Rob Herring <r...@kernel.org>" $(: maintainer:OPEN FIRMWARE 
> > > AND FLATTENED DEVICE TREE BINDINGS) \
> > >         -t "Krzysztof Kozlowski <krzk...@kernel.org>" $(: maintainer:OPEN 
> > > FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \
> > >         -t "Conor Dooley <conor...@kernel.org>" $(: maintainer:OPEN 
> > > FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \
> > >         -t "Neil Armstrong <neil.armstr...@linaro.org>" $(: 
> > > maintainer:ARM/Amlogic Meson SoC support) \
> > >         -t "Kevin Hilman <khil...@baylibre.com>" $(: 
> > > maintainer:ARM/Amlogic Meson SoC support) \
> > >         -c "Jerome Brunet <jbru...@baylibre.com>" $(: 
> > > reviewer:ARM/Amlogic Meson SoC support) \
> > >         -c "Martin Blumenstingl <martin.blumensti...@googlemail.com>" $(: 
> > > reviewer:ARM/Amlogic Meson SoC support) \
> > >         -t "Liam Girdwood <lgirdw...@gmail.com>" $(: supporter:SOUND - 
> > > SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...) \
> > >         -t "Mark Brown <broo...@kernel.org>" $(: supporter:SOUND - SOC 
> > > LAYER / DYNAMIC AUDIO POWER MANAGEM...) \
> > >         -t "Jaroslav Kysela <pe...@perex.cz>" $(: maintainer:SOUND) \
> > >         -t "Takashi Iwai <ti...@suse.com>" $(: maintainer:SOUND) \
> > >         -c "devicet...@vger.kernel.org" $(: open list:OPEN FIRMWARE AND 
> > > FLATTENED DEVICE TREE BINDINGS) \
> > >         -c "linux-arm-ker...@lists.infradead.org" $(: moderated 
> > > list:ARM/Amlogic Meson SoC support) \
> > >         -c "linux-amlo...@lists.infradead.org" $(: open list:ARM/Amlogic 
> > > Meson SoC support) \
> > >         -c "linux-kernel@vger.kernel.org" $(: open list) \
> > >         -c "linux-so...@vger.kernel.org" $(: open list:SOUND - SOC LAYER 
> > > / DYNAMIC AUDIO POWER MANAGEM...) \
> > >         
> > > audin-patch-v1/0001-ASoC-meson-HACK-let-AIU-export-its-clocks-through-cl.patch
> >
> > Hey, that looks familiar ;-)
> >
> > > the output is usually redirected to a file that I edit before running
> > > it. The additional line in the output of
> > >
> > >         scripts/get_maintainer.pl 
> > > audin-patch-v1/0001-ASoC-meson-HACK-let-AIU-export-its-clocks-through-cl.patch
> > >
> > > with your change breaks that script.
> >
> > You forgot to list the additional output?
> >
> > I gave it a try with my script, and with one of my own patches.
> > Example additional output is:
> >
> >      --cc "ARM/Microchip" $(: AT91] SoC support status: Supported \
> >     --cc "QAT DRIVER status: Supported \
> >     --cc "ARM/ASPEED MACHINE SUPPORT status: Supported \
> >     --cc "MELEXIS MLX90614 DRIVER status: Supported \
> >     --cc "ARM/NUVOTON MA35 ARCHITECTURE status: Supported \
> >     --cc "ARM/RISC-V/RENESAS ARCHITECTURE status: Supported \
>
> Is that really your output? No closing ) in the first line and no
> closing " in the 5 last?

Yes it is....
As I need to delete the lines anyway, invalid syntax is irrelevant ;-)

> For me it's worse(?), I get:
>
>         $ batch-add-recipents 
> audin-patch-v1/0001-ASoC-meson-HACK-let-AIU-export-its-clocks-through-cl.patch
>         #!/bin/sh
>
>         addrecipent \
>         -t "Rob Herring <r...@kernel.org>" $(: maintainer:OPEN FIRMWARE AND 
> FLATTENED DEVICE TREE BINDINGS) \
>         -t "Krzysztof Kozlowski <krzk...@kernel.org>" $(: maintainer:OPEN 
> FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \
>         -t "Conor Dooley <conor...@kernel.org>" $(: maintainer:OPEN FIRMWARE 
> AND FLATTENED DEVICE TREE BINDINGS) \
>         -t "Neil Armstrong <neil.armstr...@linaro.org>" $(: 
> maintainer:ARM/Amlogic Meson SoC support) \
>         -t "Kevin Hilman <khil...@baylibre.com>" $(: maintainer:ARM/Amlogic 
> Meson SoC support) \
>         -c "Jerome Brunet <jbru...@baylibre.com>" $(: reviewer:ARM/Amlogic 
> Meson SoC support) \
>         -c "Martin Blumenstingl <martin.blumensti...@googlemail.com>" $(: 
> reviewer:ARM/Amlogic Meson SoC support) \
>         -t "Liam Girdwood <lgirdw...@gmail.com>" $(: maintainer:SOUND - SOC 
> LAYER / DYNAMIC AUDIO POWER MANAGEM...) \
>         -t "Mark Brown <broo...@kernel.org>" $(: maintainer:SOUND - SOC LAYER 
> / DYNAMIC AUDIO POWER MANAGEM...) \
>         -t "Jaroslav Kysela <pe...@perex.cz>" $(: maintainer:SOUND) \
>         -t "Takashi Iwai <ti...@suse.com>" $(: maintainer:SOUND) \
>         -c "devicet...@vger.kernel.org" $(: open list:OPEN FIRMWARE AND 
> FLATTENED DEVICE TREE BINDINGS) \
>         -c "linux-arm-ker...@lists.infradead.org" $(: moderated 
> list:ARM/Amlogic Meson SoC support) \
>         -c "linux-amlo...@lists.infradead.org" $(: open list:ARM/Amlogic 
> Meson SoC support) \
>         -c "linux-kernel@vger.kernel.org" $(: open list) \
>         -c "linux-so...@vger.kernel.org" $(: open list:SOUND - SOC LAYER / 
> DYNAMIC AUDIO POWER MANAGEM...) \
>         Failed to parse "SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEMENT 
> (ASoC) status: Supported
>         " at -e line 6, <> line 17.

Oops...

My version is also not perfect. I'm used to doing manual adjustments...

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

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

Reply via email to