On 2021-03-30 Tue 02:18, Ulrich Mueller wrote:
> So yes, maybe we should have a separate spec for forward-compatible
> repository features that are independent of EAPI. But I think that
> incompatible changes won't be possible there and would have to reamin
> in PMS. (For example, updating of package dependencies in profiles from
> EAPI 0 to EAPI 5 was not forward compatible and required the one year
> waiting period.)

My main point is if users expect repos leveraging these features to work
with most tools it would be helpful to document them in a more
canonical, visible location than man pages and probably discuss them
more visibly as well. If they were truly optional features it wouldn't
be as much of an issue, but an increasing number of complex overlays
assume a minimum of portage-1/portage-2 profile-formats features being
readily available.

Furthermore, I don't think the current spec even mentions the
metadata/layout.conf file (and its semi-standard fields) and only
passingly mentions overlays but has no details about them. Getting more
of that in an official document would help devs know what they have to
implement to support current repo/overlay functionality.

Finally, pinning repo features to a standardized version allows tools to
more readily report why they won't work when failing to meet the repo's
required EAPI/RAPI instead of the semi-random errors that will often
occur during unimplemented usage.

Tim

Reply via email to