Upstream developers who want to be CC-ed on bugs are listed as package
maintainers, but nothing distinguishes them from proxied maintainers.
Add upstream="yes" to mark them. Without a proxied attribute, such a
maintainer is CC-only and is not assigned bugs. Combined with proxied,
it marks an upstream developer who also maintains the package in Gentoo.
Signed-off-by: Matt Turner <matt…@gentoo.org>
---
glep-0067.rst | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/glep-0067.rst b/glep-0067.rst
index e31aeb7..b0bd946 100644
--- a/glep-0067.rst
+++ b/glep-0067.rst
@@ -31,6 +31,7 @@ v1.1
v1.2
Added the ``maintainer-proxy`` value of the ``proxied`` attribute.
+ Added the ``upstream`` attribute to the package ``<maintainer/>``.
Motivation
@@ -176,6 +177,18 @@ should be listed as a proxy (``proxied="proxy"``
or ``proxied="maintainer-proxy"``), and vice versa. A maintainer
listed with ``proxied="no"`` is not a proxy.
+Optionally, an ``upstream`` attribute can be specified with the value
+``yes``, indicating that the maintainer is an upstream developer
+of the package. If the ``proxied`` attribute is not specified
+for such a maintainer, the default value of ``no`` is not assumed.
+Instead, the maintainer is listed only to be CC-ed on bugs, and does not
+maintain the package in Gentoo.
+
+The ``upstream`` attribute can be combined with the ``proxied``
+attribute to indicate an upstream developer who also maintains
+the package in Gentoo, e.g. ``proxied="yes"`` if they do so via a proxy,
+or ``proxied="no"`` if they are a Gentoo developer.
+
.. code:: xml
<pkgmetadata>
@@ -190,6 +203,10 @@ listed with ``proxied="no"`` is not a proxy.
<maintainer type="project" proxied="proxy">
<email>prox…@gentoo.org</email>
</maintainer>
+ <maintainer type="person" upstream="yes">
+ <email>upst…@example.com</email>
+ <name>Upstream Developer</name>
+ </maintainer>
</pkgmetadata>
Project structure
@@ -309,6 +326,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 developers listed only to be CC-ed (``upstream="yes"`` without
+a ``proxied`` attribute) are skipped when choosing the assignee,
+and a package listing only such maintainers is treated as having none.
For packages which have no maintainers, repository-specific bug assignment
rules apply. In particular, ::gentoo packages with no maintainer are assigned
@@ -491,6 +511,15 @@ attribute. However, a proxied maintainer cannot serve as a proxy, so
the four values of a single attribute already cover every valid
combination.
+Upstream maintainers
+--------------------
+
+Upstream developers sometimes ask to be CC-ed on bugs for their packages,
+and are listed as ``<maintainer/>`` for that purpose. Before version 1.2,
+nothing distinguished them from proxied maintainers, so tools treated
+them as such, and they could be assigned bugs for a package they do not
+maintain in Gentoo. The ``upstream`` attribute marks them.
+
Backwards Compatibility
=======================
--
2.55.0