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 6393415813A for ; Sat, 18 Jan 2025 10:18:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9F48E07D7; Sat, 18 Jan 2025 10:18:45 +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 3DE02E07D7 for ; Sat, 18 Jan 2025 10:18:45 +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 12A9A342F93 for ; Sat, 18 Jan 2025 10:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 893782558 for ; Sat, 18 Jan 2025 10:18:39 +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: <1737139241.f51660247b5209b70fcd00dc3802568baeb7b56e.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: f51660247b5209b70fcd00dc3802568baeb7b56e X-VCS-Branch: eapi-9 Date: Sat, 18 Jan 2025 10:18:39 +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: 59c31a0a-ce34-4f80-830d-a7ad995c4f65 X-Archives-Hash: 9822c4610d0b8ac9c973c5029035df80 commit: f51660247b5209b70fcd00dc3802568baeb7b56e Author: Ulrich Müller gentoo org> AuthorDate: Fri Nov 29 16:02:56 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jan 17 18:40:41 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f5166024 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 75c53a0..dadda01 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 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}