From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49AAE158021 for ; Fri, 14 Oct 2022 15:35:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1491CE07D3; Fri, 14 Oct 2022 15:35:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDEEAE07D3 for ; Fri, 14 Oct 2022 15:35:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB396335DC1 for ; Fri, 14 Oct 2022 15:35:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31DB9616 for ; Fri, 14 Oct 2022 15:35:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1665761701.5330e6efbdf16a1aef8b257201359f224484f235.mgorny@gentoo> Subject: [gentoo-commits] data/glep:master commit in: / X-VCS-Repository: data/glep X-VCS-Files: glep-0068.rst X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5330e6efbdf16a1aef8b257201359f224484f235 X-VCS-Branch: master Date: Fri, 14 Oct 2022 15:35:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60a5f087-7183-4c5d-80c1-f3398654a962 X-Archives-Hash: abb3bae06755ce84b0202927e00e9839 commit: 5330e6efbdf16a1aef8b257201359f224484f235 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 7 20:24:52 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 14 15:35:01 2022 +0000 URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=5330e6ef glep-0068: Indicate that unknown elements should be ignored 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 gentoo.org> glep-0068.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glep-0068.rst b/glep-0068.rst index a2bee64..9d10aaa 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