• [gentoo-dev] [PATCH 2/2] glep-0068: Indicate that unknown elements shou

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sat Oct 8 08:50:01 2022
    As originally stated, the GLEP did not permit extending the format.
    Let's relax the requirement to conforming files but indicate that
    the parsers should ignore unknown (i.e. future) elements.

    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    glep-0068.rst | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/glep-0068.rst b/glep-0068.rst
    index d3e3611..45ca30f 100644
    --- a/glep-0068.rst
    +++ b/glep-0068.rst
    @@ -67,6 +67,8 @@ must not fetch or process it.
    The data structure of metadata files is defined in this GLEP. The elements
    and attributes do not use namespaces. Conforming files must not contain
    any elements or attributes that are not defined in this specification. +However, parsers should ignore any unknown elements or attributes in order
    +to permit future extension.

    Category metadata files are named ``metadata.xml`` and located inside category
    directories in an ebuild repository. Their structure is described
    --
    2.38.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)