From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1699229-garchives=archives.gentoo.org@lists.gentoo.org> 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 818CC1581F0 for <garchives@archives.gentoo.org>; Wed, 11 Dec 2024 19:40:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCB24E0D78; Wed, 11 Dec 2024 19:40:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B6BA1E0D78 for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:40:03 +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 001E4335D7B for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D62D2145 for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:39:59 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> 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" <ulm@gentoo.org> Message-ID: <1733694145.daf6e2c58106e99835746e213b5f6910e874465f.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: daf6e2c58106e99835746e213b5f6910e874465f X-VCS-Branch: eapi-9 Date: Wed, 11 Dec 2024 19:39:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1a624174-fbe2-41d9-9981-2d3ee6277625 X-Archives-Hash: 57a8af5158e376a649546b064a9649b0 commit: daf6e2c58106e99835746e213b5f6910e874465f Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Nov 29 16:02:56 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Dec 8 21:42:25 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=daf6e2c5 EAPI 9: assert banned Bug: https://bugs.gentoo.org/566342 Signed-off-by: Ulrich Müller <ulm <AT> 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 3d5bb97..ddeb1e6 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -117,6 +117,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} \\ @@ -359,6 +362,7 @@ EAPI 9 is EAPI 8 with the following changes: \begin{compactitem} \item Different default EAPI for profiles, \featureref{profile-eapi-default}. +\item \t{assert} banned, \featureref{banned-commands}. \item Absolute symlinks no longer being rewritten, \featureref{symlink-rewrite} \end{compactitem} 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}