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 1AB3A158011 for ; Sun, 21 Aug 2022 09:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10F6FE09E1; Sun, 21 Aug 2022 09:42:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED75AE09E1 for ; Sun, 21 Aug 2022 09:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31EB53410C5 for ; Sun, 21 Aug 2022 09:42:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD44857D for ; Sun, 21 Aug 2022 09:42:04 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1661074570.0dd597e3ee3a951ad9b662a474632c0f9e0169de.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex profiles.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 0dd597e3ee3a951ad9b662a474632c0f9e0169de X-VCS-Branch: eapi-9 Date: Sun, 21 Aug 2022 09:42:04 +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: a28c42ac-783b-48a1-a2b7-6af631b1761b X-Archives-Hash: 8b0075ac9a22b18930d70834d6af2b2a commit: 0dd597e3ee3a951ad9b662a474632c0f9e0169de Author: Ulrich Müller gentoo org> AuthorDate: Mon Feb 21 18:30:11 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Aug 21 09:36:10 2022 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0dd597e3 EAPI 9 profile parent files can contain comments Bug: https://bugs.gentoo.org/470094 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 5 ++++- profiles.tex | 20 +++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 401fdb7..5559cb9 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -32,6 +32,9 @@ would have identical entries for all listed EAPIs.} Less strict filenames in \t{updates} & \compactfeatureref{updates-filenames} & No & No & Yes & Yes \\ +Comments in profiles \t{parent} file & \compactfeatureref{parent-comments} & + No & No & No & Yes \\ + Profile files as directories & \compactfeatureref{profile-file-dirs} & No & Yes & Yes & Yes \\ @@ -352,7 +355,7 @@ EAPI 8 is EAPI 7 with the following changes: EAPI 9 is EAPI 8 with the following changes: \begin{compactitem} -\item None +\item Comments in profiles \t{parent} file, \featureref{parent-comments}. \end{compactitem} \ChangeWhenAddingAnEAPI{9} diff --git a/profiles.tex b/profiles.tex index 8d8226a..6fa8a1c 100644 --- a/profiles.tex +++ b/profiles.tex @@ -25,7 +25,25 @@ first, left to right, with duplicate parent paths being sourced for every time t It is illegal for a profile's parent tree to contain cycles. Package manager behaviour upon encountering a cycle is undefined. -This file must not contain comments, blank lines or make use of line continuations. +This file must not make use of line continuations. + +\featurelabel{parent-comments} For EAPIs listed in table~\ref{tab:profile-parent-comments} as +allowing comments, blank lines and lines beginning with a \t{\#} are discarded. For other EAPIs, +this file must not contain comments or blank lines. + +\ChangeWhenAddingAnEAPI{9} +\begin{centertable}{EAPIs allowing comments in \t{parent} file} + \label{tab:profile-parent-comments} + \begin{tabular}{ll} + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Allows comments?}} \\ + \midrule + 0, 1, 2, 3, 4, 5, 6, 7, 8 & No \\ + 9 & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} \subsection{The eapi file} \label{sec:profile-eapi}