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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C109915813A for ; Mon, 13 Jan 2025 17:25:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E52E6E0825; Mon, 13 Jan 2025 17:25:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 9E9B2E0825 for ; Mon, 13 Jan 2025 17:25:10 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E99D833FDEE for ; Mon, 13 Jan 2025 17:25:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 510A02124 for ; Mon, 13 Jan 2025 17:25:07 +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: <1736788905.6766b4068f60f97f0d2e937bc8dc0574e9d4d19f.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6766b4068f60f97f0d2e937bc8dc0574e9d4d19f X-VCS-Branch: eapi-9 Date: Mon, 13 Jan 2025 17:25:07 +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: 316dae8a-6966-44f9-9cf9-45e85b9cd0b6 X-Archives-Hash: 6febb8bbf47e1370dad0a297841e869a commit: 6766b4068f60f97f0d2e937bc8dc0574e9d4d19f Author: Ulrich Müller gentoo org> AuthorDate: Fri Nov 29 16:02:56 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Jan 13 17:21:45 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=6766b406 EAPI 9 bans assert Bug: https://bugs.gentoo.org/566342 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index df04ff9..4624259 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -120,6 +120,9 @@ GNU \t{patch} version & \compactfeatureref{gnu-patch} & \t{hasq} & \compactfeatureref{banned-commands} & Yes & Yes & Banned & Banned \\ +\t{assert} & \compactfeatureref{banned-commands} & + Yes & Yes & Yes & Banned \\ + Query command options & \compactfeatureref{pm-query-options} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} & \t{-b}, \t{-d}, \t{-r} & \t{-b}, \t{-d}, \t{-r} \\ @@ -361,6 +364,7 @@ EAPI 9 is EAPI 8 with the following changes: \item Bash version is 5.2, \featureref{bash-version}. \item Different default EAPI for profiles, \featureref{profile-eapi-default}. \item Defined variables no longer exported, \featureref{export-vars}. +\item \t{assert} banned, \featureref{banned-commands}. \end{compactitem} \ChangeWhenAddingAnEAPI{9} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 878d1eb..3dfc3e1 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -80,10 +80,12 @@ called, the package manager must abort the build process indicating an error. \multicolumn{1}{c}{} & \multicolumn{1}{c}{\textbf{\t{useq}}} & \multicolumn{1}{c}{\textbf{\t{hasv}}} & - \multicolumn{1}{c}{\textbf{\t{hasq}}} & & & \\ + \multicolumn{1}{c}{\textbf{\t{hasq}}} & + \multicolumn{1}{c}{\textbf{\t{assert}}} & & \\ \midrule - 0, 1, 2, 3, 4, 5, 6, 7 & No & No & No & & & \\ - 8, 9 & Yes & Yes & Yes & & & \\ + 0, 1, 2, 3, 4, 5, 6, 7 & No & No & No & No & & \\ + 8 & Yes & Yes & Yes & No & & \\ + 9 & Yes & Yes & Yes & Yes & & \\ \bottomrule \end{tabular} \end{centertable} @@ -201,6 +203,8 @@ completing. Ebuilds must not run any of these commands once the current phase fu environment. \item[assert] Checks the shell's pipe status array, and if any element is non-zero (indicating failure), calls \t{die}, passing any parameters to it. + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per + section~\ref{sec:banned-commands}. \end{description} \ChangeWhenAddingAnEAPI{9}