From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35D14250C12; Tue, 11 Feb 2025 14:58:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739285898; cv=none; b=Jeg7i5JPbWgBqizy1EUAinKl4L7iES61UIZlGL8sZs6FXEpIz1FDYo9RNvMuNipIRDWMywBj7P6ZQRG9fWA8uBnfOc8apfwj7Qw/SqHVN80QzcVpHHvcbtwj4yh3S8MgrVaQdbawKdvwVhgjXlH/cHBcwPNqLQNw87IdotGOGYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739285898; c=relaxed/simple; bh=mRjRWZxZngNSgajzIM9yPV+cQv/JmV0gMurv102UzUg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s7BW5hD2mu0m2LOvMqm0Wk2wCAgacFqHYMfqdH6w2cuybAqpi86LpzlUkNt3sqxN0OZO/I0h3dqJhPs06h453KnmF+kGAzAnh0o6Rd7/T+p4mlEQkoehzeG5jjBEREW9F4ekzILPkk99f/MvyzIHaxwiUFyi0bxJVpZGxPWHdac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=rCOn/0By; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=LaP8aOPb; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=rCOn/0By; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=LaP8aOPb; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="rCOn/0By"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LaP8aOPb"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="rCOn/0By"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LaP8aOPb" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9D9605C33A; Tue, 11 Feb 2025 10:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1739271563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=qT9fyv59P3MOvzf7Ot3QgFsjCiHHvwuBehzCLG43aY4=; b=rCOn/0By80qNv6mSijkhYLdiJxBztHYtEQKny2BMykw2TtVfIdvhlpSMysUbLySj1lFgKv rdyvFg0za6AmUoXLG0lGfJoUapUI+nkbz5tcnvSsfxNUiNOipcaNAe1DA38y7gDQCHMzqa yvYqBCil0g1sz+TBvz4srhCOqgEAGxs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1739271563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=qT9fyv59P3MOvzf7Ot3QgFsjCiHHvwuBehzCLG43aY4=; b=LaP8aOPblKlmp4n3bsxwlQi1fZxb9DEQPZERb/EVoDVRgen9Nx1VnV2BaPswMC9Uf6Puld PvlbFXk+BLq0afAw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1739271563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=qT9fyv59P3MOvzf7Ot3QgFsjCiHHvwuBehzCLG43aY4=; b=rCOn/0By80qNv6mSijkhYLdiJxBztHYtEQKny2BMykw2TtVfIdvhlpSMysUbLySj1lFgKv rdyvFg0za6AmUoXLG0lGfJoUapUI+nkbz5tcnvSsfxNUiNOipcaNAe1DA38y7gDQCHMzqa yvYqBCil0g1sz+TBvz4srhCOqgEAGxs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1739271563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=qT9fyv59P3MOvzf7Ot3QgFsjCiHHvwuBehzCLG43aY4=; b=LaP8aOPblKlmp4n3bsxwlQi1fZxb9DEQPZERb/EVoDVRgen9Nx1VnV2BaPswMC9Uf6Puld PvlbFXk+BLq0afAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 81D6813715; Tue, 11 Feb 2025 10:59:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id o4hGH4stq2fOBAAAD6G6ig (envelope-from ); Tue, 11 Feb 2025 10:59:23 +0000 Message-ID: <6ff32b12-7113-41dc-80d3-e729cc15a5ce@suse.cz> Date: Tue, 11 Feb 2025 11:59:23 +0100 Precedence: bulk X-Mailing-List: workflows@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] get_maintainer: add --substatus for reporting subsystem status To: Geert Uytterhoeven , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= Cc: Joe Perches , Andrew Morton , workflows@vger.kernel.org, Theodore Ts'o , Bryan O'Donoghue , Thorsten Leemhuis , Kees Cook , linux-kernel@vger.kernel.org, regressions@lists.linux.dev References: <20250203-b4-get_maintainer-v2-0-83ba008b491f@suse.cz> <20250203-b4-get_maintainer-v2-1-83ba008b491f@suse.cz> <7aodxv46lj6rthjo4i5zhhx2lybrhb4uknpej2dyz3e7im5w3w@w23bz6fx3jnn> Content-Language: en-US From: Vlastimil Babka Autocrypt: addr=vbabka@suse.cz; keydata= xsFNBFZdmxYBEADsw/SiUSjB0dM+vSh95UkgcHjzEVBlby/Fg+g42O7LAEkCYXi/vvq31JTB KxRWDHX0R2tgpFDXHnzZcQywawu8eSq0LxzxFNYMvtB7sV1pxYwej2qx9B75qW2plBs+7+YB 87tMFA+u+L4Z5xAzIimfLD5EKC56kJ1CsXlM8S/LHcmdD9Ctkn3trYDNnat0eoAcfPIP2OZ+ 9oe9IF/R28zmh0ifLXyJQQz5ofdj4bPf8ecEW0rhcqHfTD8k4yK0xxt3xW+6Exqp9n9bydiy tcSAw/TahjW6yrA+6JhSBv1v2tIm+itQc073zjSX8OFL51qQVzRFr7H2UQG33lw2QrvHRXqD Ot7ViKam7v0Ho9wEWiQOOZlHItOOXFphWb2yq3nzrKe45oWoSgkxKb97MVsQ+q2SYjJRBBH4 8qKh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2o4i/yZPLXIVy387EjA6GZMqvQUFuSTs/GeBcv0NjIQi8867H3uLjz+mQy63fAitsDwLmR EP+ylKVEKb0Q2A== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.30 X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_SEVEN(0.00)[11]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[baylibre.com:email,perex.cz:email,linaro.org:email,suse.com:email,suse.cz:mid,suse.cz:email,imap1.dmz-prg2.suse.org:helo] X-Spam-Flag: NO X-Spam-Level: On 2/11/25 11:48, Geert Uytterhoeven wrote: > Hi Uwe, > > On Tue, 11 Feb 2025 at 11:32, Uwe Kleine-König > 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 >> >> 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 " $(: maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \ >> -t "Krzysztof Kozlowski " $(: maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \ >> -t "Conor Dooley " $(: maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \ >> -t "Neil Armstrong " $(: maintainer:ARM/Amlogic Meson SoC support) \ >> -t "Kevin Hilman " $(: maintainer:ARM/Amlogic Meson SoC support) \ >> -c "Jerome Brunet " $(: reviewer:ARM/Amlogic Meson SoC support) \ >> -c "Martin Blumenstingl " $(: reviewer:ARM/Amlogic Meson SoC support) \ >> -t "Liam Girdwood " $(: supporter:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...) \ >> -t "Mark Brown " $(: supporter:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...) \ >> -t "Jaroslav Kysela " $(: maintainer:SOUND) \ >> -t "Takashi Iwai " $(: maintainer:SOUND) \ >> -c "devicetree@vger.kernel.org" $(: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) \ >> -c "linux-arm-kernel@lists.infradead.org" $(: moderated list:ARM/Amlogic Meson SoC support) \ >> -c "linux-amlogic@lists.infradead.org" $(: open list:ARM/Amlogic Meson SoC support) \ >> -c "linux-kernel@vger.kernel.org" $(: open list) \ >> -c "linux-sound@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 \ > > Iff this extra output is good to have, why not include it in the comment > next to the existing entries with the email addresses, so it will be > handled automatically by all scripting on top? I've tried to do that in v1 in the form of reporting e.g. as John Doe (maintainer:SUBSYSTEM [supported]) But it seemed noisy to repeat that on every line involving the subsystem. When you say comment, what kind of separation for the comment would work regardless of what's used for postprocessing? > Now, as both Uwe and I edit our generated scripts before running them, > we can delete the unwanted lines, but it's more work... > Thanks! I guess technically your scripts could detect first if --no-substatus is supported by grepping --help or testing if passing the option results in an error? But yeah it's not ideal, looks like I've hit the limits of automagic heuristics here. Or we make it fully opt-in but then most non-scripting users will not learn the status at all because it won't occur to them to enable it... > Gr{oetje,eeting}s, > > Geert >