On Fri, 2026-11-06 at 12:04 -0500, Matt Turner wrote:
> +of the package. If the ``proxied`` attribute is not specified > +for such a maintainer, the default value of ``no`` is not assumed.
I'm sorry but I must have misread your intention before. Based on the logic below, I get your point but this formulation is at the very least confusing: if it's not "no", then that implies there is some different default -- except there is no valid value that expresses what you're doing here.
> +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.
Let me take a step back. There is a value in saying "upstream who wishes to be CC-ed on bugs but not a maintainer". But what is the purpose of saying "upstream who wishes to be CC-ed on bugs and a maintainer"? How is that different from a (non-upstream) maintainer entry? I suppose 'proxied="yes" upstream="yes"' comes for free, so I'm fine with it. But overloading the meaning of 'proxied="no" upstream="yes"' is confusing, and I honestly don't see any value in that -- especially that it can't be expressed within the schema (because the default of "no" is already there).
> + > .. 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 > =======================
-- Best regards, Michał Górny