🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.dev
5 messages
5 total messages Started by Matt Turner Tue, 10 Nov 2026 16:00
[gentoo-dev] [PATCH glep v4 0/4] GLEP 67, 68: proxied="maintainer-and-proxy", upstream maintainers
#176
Author: Matt Turner
Date: Tue, 10 Nov 2026 16:00
98 lines
6762 bytes
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

Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
Changes in v4:
- Rename maintainer-proxy to maintainer-and-proxy, since
  maintainer-proxy reads as a proxy for a maintainer (Michał)
- Two spaces after full stops in the new GLEP 68 text (Ulrich)
- Link to v3: https://patch.msgid.link/20261108-maintainer-attributes-v3-0-4df17b2363b6@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/20261106-maintainer-attributes-v2-0-9066ad111dd7@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/20261105-maintainer-attributes-v1-0-34a4539ac986@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 | 30 ++++++++++++++++++++++--------
 2 files changed, 54 insertions(+), 13 deletions(-)
---
base-commit: 12933ff790a406eae6b8edd9177f81cafd1fb323
change-id: 20261105-maintainer-attributes-038f9ec71b1a

Best regards,
--  
Matt Turner <mattst88@gentoo.org>
[gentoo-dev] [PATCH glep v4 2/4] glep-0068: Add proxied attribute to <maintainer/>
#175
Author: Matt Turner
Date: Tue, 10 Nov 2026 16:00
49 lines
3728 bytes
GLEP 67 v1.1 added the proxied attribute, but it was never listed in
the metadata.xml format. List it, with the maintainer-and-proxy value
from GLEP 67 v1.2, and state that it does not apply to upstream
maintainers in <upstream/>.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
 glep-0068.rst | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/glep-0068.rst b/glep-0068.rst
index 2d74c09..efbbfc4 100644
--- a/glep-0068.rst
+++ b/glep-0068.rst
@@ -4,9 +4,9 @@ Title: Package and category metadata
 Author: Michał Górny <mgorny@gentoo.org>
 Type: Standards Track
 Status: Final
-Version: 1.5
+Version: 1.6
 Created: 2016-03-14
-Last-Modified: 2026-05-09
+Last-Modified: 2026-11-06
 Post-History: 2016-03-16, 2018-02-20, 2022-05-22, 2022-10-07, 2023-02-22,
               2026-05-09
 Content-Type: text/x-rst
@@ -183,6 +183,10 @@ Each ``<maintainer/>`` element describes a single maintainer.
 The ``<maintainer/>`` element has an obligatory ``type=""`` attribute whose
 value can be either ``person`` or ``project``.
 
+The ``<maintainer/>`` element has an optional ``proxied=""`` attribute whose
+value can be ``yes``, ``no``, ``proxy`` or ``maintainer-and-proxy``.  Its
+meaning is specified in GLEP 67.
+
 The ``<maintainer/>`` element contains the following elements, in any order:
 
 - exactly one ``<email/>`` element that contains the maintainer's e-mail
@@ -395,6 +399,8 @@ package version restrictions and maintainer descriptions were also implicitly
 allowed on them. Since neither of the two was allowed by GLEP 46, this
 specification disallows them.
 
+The ``proxied`` attribute likewise applies only to Gentoo maintainers.
+
 
 Backwards Compatibility
 =======================

-- 
2.55.0
[gentoo-dev] [PATCH glep v4 3/4] glep-0068: Add cc-on-bugs attribute to upstream <maintainer/>
#178
Author: Matt Turner
Date: Tue, 10 Nov 2026 16:00
71 lines
4980 bytes
Upstream developers who want to be CC-ed on bugs are listed as Gentoo
maintainers for that, so tools cannot tell them apart from proxied
maintainers, and if listed first, they are assigned bugs for a package
they do not maintain in Gentoo.

Add cc-on-bugs="yes" to the upstream <maintainer/> instead, so that they
can be listed in <upstream/> only, and update the example to use it.

Suggested-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
 glep-0068.rst | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/glep-0068.rst b/glep-0068.rst
index efbbfc4..64e4c70 100644
--- a/glep-0068.rst
+++ b/glep-0068.rst
@@ -264,6 +264,11 @@ The ``<maintainer/>`` element has an optional ``status=""`` attribute whose
 value can be either ``active`` or ``inactive``. If not specified, an implicit
 ``unknown`` value is assumed.
 
+The ``<maintainer/>`` element has an optional ``cc-on-bugs=""`` attribute
+whose value can be ``yes``, indicating that the upstream maintainer wishes
+to be CC-ed on bugs for the package.  A maintainer with ``cc-on-bugs="yes"``
+must have an ``<email/>`` element.
+
 The ``<maintainer/>`` element has the following attributes, in any order:
 
 - at most one ``<email/>`` element that contains the maintainer's e-mail
@@ -399,7 +404,15 @@ package version restrictions and maintainer descriptions were also implicitly
 allowed on them. Since neither of the two was allowed by GLEP 46, this
 specification disallows them.
 
-The ``proxied`` attribute likewise applies only to Gentoo maintainers.
+The ``proxied`` attribute likewise applies only to Gentoo maintainers,
+and the ``cc-on-bugs`` attribute only to upstream maintainers.
+
+Upstream developers sometimes ask to be CC-ed on bugs for their packages.
+Before version 1.6, the only way to do that was to list them as Gentoo
+maintainers as well.  Tools then could not tell them apart from proxied
+maintainers, and if listed first, they were assigned bugs for a package
+they do not maintain in Gentoo.  The ``cc-on-bugs`` attribute lets them be
+listed in ``<upstream/>`` only.
 
 
 Backwards Compatibility
@@ -475,11 +488,6 @@ Example metadata.xml file
         <email>project@example.com</email>
         <name>Example Project</name>
       </maintainer>
-      <maintainer type='person'>
-        <email>upstream@example.com</email>
-        <name>Upstream Developer</name>
-        <description>Upstream developer, wishing to be CC-ed on bugs</description>
-      </maintainer>
       <longdescription>
         First paragraph of extensive description.
 
@@ -513,7 +521,7 @@ Example metadata.xml file
         <flag name='bar' restrict='&gt;=dev-libs/foo-12'>Konfiguriert das Paket mit Unterstützung für bar</flag>
       </use>
       <upstream>
-        <maintainer status='active'>
+        <maintainer status='active' cc-on-bugs='yes'>
           <email>upstream@example.com</email>
           <name>Upstream Developer</name>
         </maintainer>

-- 
2.55.0
[gentoo-dev] [PATCH glep v4 1/4] glep-0067: Add proxied="maintainer-and-proxy"
#179
Author: Matt Turner
Date: Tue, 10 Nov 2026 16:00
100 lines
5753 bytes
proxied="proxy" means 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. Tools that report on proxied
maintainers to their proxies need to find such developers.

Add a maintainer-and-proxy value for them, and make explicit that
proxied="no" is not a proxy.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
 glep-0067.rst | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)

diff --git a/glep-0067.rst b/glep-0067.rst
index 8140b15..77060f1 100644
--- a/glep-0067.rst
+++ b/glep-0067.rst
@@ -4,9 +4,9 @@ Title: Package maintenance structure
 Author: Michał Górny <mgorny@gentoo.org>
 Type: Standards Track
 Status: Final
-Version: 1.1
+Version: 1.2
 Created: 2015-12-13
-Last-Modified: 2021-02-28
+Last-Modified: 2026-11-06
 Post-History: 2015-11-03, 2016-05-29, 2021-02-28
 Content-Type: text/x-rst
 ---
@@ -29,6 +29,9 @@ Change log
 v1.1
   Added the ``proxied`` attribute to the package ``<maintainer/>``.
 
+v1.2
+  Added the ``maintainer-and-proxy`` value of the ``proxied`` attribute.
+
 
 Motivation
 ==========
@@ -152,7 +155,7 @@ and maintenance description are placed in ``<email/>``, ``<name/>``
 and ``<description/>`` sub-elements appropriately.
 
 Optionally, a ``proxied`` attribute can be specified having one
-of the three possible values:
+of the four possible values:
 
 - ``yes`` indicating that the maintainer is a proxied maintainer
   (i.e. is unable to push changes directly)
@@ -163,10 +166,16 @@ of the three possible values:
 - ``proxy`` indicating that the listed developer is serving only
   as a proxy for other maintainers
 
+- ``maintainer-and-proxy`` indicating that the listed developer
+  is both directly maintaining the package and serving as a proxy
+  for other maintainers
+
 If the attribute is not specified, the default value of ``no``
 is assumed.  If at least one maintainer is listed as a proxied
 maintainer (``proxied="yes"``), then at least one other maintainer
-should be listed as a proxy (``proxied="proxy"``), and vice versa.
+should be listed as a proxy (``proxied="proxy"``
+or ``proxied="maintainer-and-proxy"``), and vice versa.  A maintainer
+listed with ``proxied="no"`` is not a proxy.
 
 .. code:: xml
 
@@ -175,7 +184,7 @@ should be listed as a proxy (``proxied="proxy"``), and vice versa.
         <email>foo@example.com</email>
         <name>Foo Barsky</name>
       </maintainer>
-      <maintainer type="person">
+      <maintainer type="person" proxied="maintainer-and-proxy">
         <email>example@gentoo.org</email>
         <name>Example Developer</name>
       </maintainer>
@@ -469,6 +478,20 @@ developers without commit access that maintain packages via a proxy.
 The property is added as a separate attribute in order to ensure
 backwards compatibility.
 
+As of version 1.2, the ``maintainer-and-proxy`` value has been added.
+Previously, a developer who maintained a package and also pushed changes
+for its proxied maintainers had no fitting value: ``proxy`` indicates
+that they serve only as a proxy, and ``no`` does not indicate that they
+are a proxy at all.  Tools that report on proxied maintainers to their
+proxies need to find such developers, and a reader should not have
+to guess whether a developer listed as a proxy also maintains
+the package.
+
+Whether a maintainer is a proxy could instead be expressed by a separate
+attribute.  However, a proxied maintainer cannot serve as a proxy, so
+the four values of a single attribute already cover every valid
+combination.
+
 
 Backwards Compatibility
 =======================

-- 
2.55.0
[gentoo-dev] [PATCH glep v4 4/4] glep-0067: CC upstream maintainers with cc-on-bugs="yes"
#180
Author: Matt Turner
Date: Tue, 10 Nov 2026 16:00
34 lines
3162 bytes
GLEP 68 v1.6 adds cc-on-bugs="yes" for upstream maintainers who want to
be CC-ed on bugs. Add them to bug assignment as CCs only: they do not
maintain the package in Gentoo, so they are never the assignee.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
 glep-0067.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/glep-0067.rst b/glep-0067.rst
index 77060f1..5bc249e 100644
--- a/glep-0067.rst
+++ b/glep-0067.rst
@@ -31,6 +31,7 @@ v1.1
 
 v1.2
   Added the ``maintainer-and-proxy`` value of the ``proxied`` attribute.
+  Upstream maintainers with ``cc-on-bugs="yes"`` are CC-ed on bugs.
 
 
 Motivation
@@ -310,6 +311,9 @@ The package metadata description is fully self-sufficient for bug assignment.
 The order in which ``<maintainer/>`` elements occur (after applying
 restrictions) indicates the chain of responsibility. A bug is assigned
 to the first maintainer, while all the remaining maintainers are CC-ed.
+Upstream maintainers listed with ``cc-on-bugs="yes"`` in ``<upstream/>``
+(see GLEP 68) are CC-ed as well.  They are not maintainers of the package
+in Gentoo, so they are never assigned bugs.
 
 For packages which have no maintainers, repository-specific bug assignment
 rules apply. In particular, ::gentoo packages with no maintainer are assigned

-- 
2.55.0
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads