Matt Turner <matt…@gentoo.org> writes:
> This series updates GLEP 67 and GLEP 68 so that tools can rely on the
> proxied attribute to find proxied maintainers and their proxies.
>
> The tool I have in mind is gentoodo (formerly gentoo-reminders) [1],
> which writes a monthly email to each maintainer. For a proxy, such as
> proxy-maint, the email lists when each maintainer they are the proxy for
> last authored a commit, so that inactive proxied maintainers can be
> followed up on. It finds them by the attribute: the proxied="yes"
> maintainers of the packages where the proxy is listed as a proxy.
>
> 1. proxied="maintainer-and-proxy"
>
> GLEP 67 defines proxied="proxy" as "serving only as a proxy", so a
> developer who maintains a package and also pushes changes for its
> proxied maintainers has no fitting value: "proxy" says that they do not
> maintain it, and "no" does not say that they are a proxy. As Ulrich
> pointed out in v1, the attribute maps two properties (maintaining the
> package, and proxying for others) onto three values, and this is the
> missing fourth combination.
>
> The series adds proxied="maintainer-and-proxy" for it. "proxy" keeps its
> meaning, so existing metadata.xml files are unaffected, and a reader
> does not have to guess whether a proxy also maintains the package.
>
> A second attribute was the other option, but a proxied maintainer cannot
> be a proxy, so two booleans would allow a combination that makes no
> sense, and give two ways to say "proxy only".
>
> 2. cc-on-bugs="yes"
>
> Some upstream developers ask to be CC-ed on bugs, and are listed as
> <maintainer> for that. Nothing distinguishes them from proxied
> maintainers, so tools treat them as such, and if listed first, they are
> assigned bugs for a package they do not maintain in Gentoo. Some are even
> marked proxied="yes", like the upstream author of net-misc/keychain.
>
> As Michał suggested in v2, the series adds cc-on-bugs="yes" to
> <maintainer> in <upstream> instead. They can then be listed there only,
> and every <maintainer> outside <upstream> is a Gentoo maintainer. About
> 18 packages in ::gentoo list upstream developers as <maintainer>, and I
> will move them once this is settled.
>
> Implementation
>
> The DTD and XML schema changes are ready. I also have changes for
> pkgcore and pkgcheck, and will update them for cc-on-bugs.
>
> [1] https://github.com/mattst88/gentoodo
>
> Bug: https://bugs.gentoo.org/985978
> Signed-off-by: Matt Turner <matt…@gentoo.org>
> ---
> Changes in v5:
> - Allow cc-on-bugs="no" as the default, like proxied="no", in GLEP 68
> and in the DTD and XML schema
> - Add Bug: https://bugs.gentoo.org/985978
> - Link to v4: https://patch.msgid.link/2026…@gentoo.org
>
> Changes in v4:
> - Rename maintainer-proxy to maintainer-and-proxy, since
> maintainer-proxy reads as a proxy for a maintainer (Michał)
This is the only thing I had concerns with and I much prefer the new
name. Thank you!
> - Two spaces after full stops in the new GLEP 68 text (Ulrich)
> - Link to v3: https://patch.msgid.link/2026…@gentoo.org
>
> Changes in v3:
> - Reword maintainer-proxy: "both directly maintaining the package and
> serving as a proxy" (Michał)
> - Keep the maintainer-proxy name rather than maintainer+proxy, since '+'
> is not allowed in the DTD's enumerated values (Ulrich)
> - Replace upstream="yes" on <maintainer> with cc-on-bugs="yes" on
> <maintainer> in <upstream> (Michał)
> - CC upstream maintainers with cc-on-bugs="yes" in GLEP 67's bug
> assignment, and never assign bugs to them
> - Split GLEP 68 into listing the proxied attribute and adding cc-on-bugs
> - Link to v2: https://patch.msgid.link/2026…@gentoo.org
>
> Changes in v2:
> - Add proxied="maintainer-proxy" instead of letting proxied="proxy"
> maintainers also maintain the package (Ulrich)
> - Drop the rules tying proxied to gentoo.org addresses and proxy-maint;
> they are policy and belong in pkgcheck, not the GLEP (Michał, Ulrich)
> - Say that proxied="no" is not a proxy (Michał)
> - Reword the upstream attribute: an explicit proxied="no" is not CC-only,
> drop the redundant clause, and describe combining it with proxied
> (Michał)
> - Two spaces after full stops in the new GLEP 67 text (Michał)
> - Link to v1: https://public-inbox.gentoo.org/gentoo-dev/2026…@gentoo.org
>
For the series:
Reviewed-by: Sam James <s…@gentoo.org>
> ---
> Matt Turner (4):
> glep-0067: Add proxied="maintainer-and-proxy"
> glep-0068: Add proxied attribute to <maintainer/>
> glep-0068: Add cc-on-bugs attribute to upstream <maintainer/>
> glep-0067: CC upstream maintainers with cc-on-bugs="yes"
>
> glep-0067.rst | 37 ++++++++++++++++++++++++++++++++-----
> glep-0068.rst | 31 +++++++++++++++++++++++--------
> 2 files changed, 55 insertions(+), 13 deletions(-)
> ---
> base-commit: 12933ff790a406eae6b8edd9177f81cafd1fb323
> change-id: 20261105-maintainer-attributes-038f9ec71b1a
>
> Best regards,