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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 726871396D1 for ; Mon, 9 Oct 2017 17:31:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57881E0DA4; Mon, 9 Oct 2017 17:31:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 256D7E0DA4 for ; Mon, 9 Oct 2017 17:31:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB8C133C4EE for ; Mon, 9 Oct 2017 17:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBA4390A1 for ; Mon, 9 Oct 2017 17:31:09 +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: <1507569128.48e3b8835ff3932aad95871276eb3fbe24d45847.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-7 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: 48e3b8835ff3932aad95871276eb3fbe24d45847 X-VCS-Branch: eapi-7 Date: Mon, 9 Oct 2017 17:31:09 +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-Archives-Salt: 3fcab222-92d2-4d07-910c-dd1235826ec4 X-Archives-Hash: a0a4d2157f3323de18aeac1ec5e4b873 commit: 48e3b8835ff3932aad95871276eb3fbe24d45847 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 28 14:05:38 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Oct 9 17:12:08 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=48e3b883 EAPI 7 has eqawarn Bug: https://bugs.gentoo.org/482884 eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/eapi-differences.tex b/eapi-differences.tex index 9f3f8be..8a1e55a 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs. \bottomrule \endlastfoot +\t{eqawarn} & \compactfeatureref{eqawarn} & + No & No & No & No & Yes \\ + \t{ver_*} functions & \compactfeatureref{ver-functions} & No & No & No & No & Yes \\ @@ -387,6 +390,7 @@ EAPI 7 is EAPI 6 with the following changes: directories, \featureref{profile-file-dirs}. \item \t{dohtml} banned, \featureref{banned-commands}. \item Version manipulation and comparison functions added, \featureref{ver-functions}. +\item \t{eqawarn} added, \featureref{eqawarn}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 5b65477..91f38c0 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -124,6 +124,10 @@ stderr or some other appropriate facility. example. \item[ewarn] Displays a warning message. Must not go to stdout. \item[eerror] Displays an error message. Must not go to stdout. +\item[eqawarn] \featurelabel{eqawarn} Display a QA warning message intended for ebuild developers. + The package manager may provide appropriate mechanisms to skip those messages for normal users. + Must not go to stdout. Only available in EAPIs listed in table~\ref{tab:output-commands} as + supporting \t{eqawarn}. \item[ebegin] Displays an informational message. Should be used when beginning a possibly lengthy process, and followed by a call to \t{eend}. \item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one @@ -132,6 +136,20 @@ stderr or some other appropriate facility. message followed by a failure indicator. Returns its first argument as exit status. \end{description} +\ChangeWhenAddingAnEAPI{7} +\begin{centertable}{Output commands for EAPIs} + \label{tab:output-commands} + \begin{tabular}{ll} + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{\t{eqawarn}?}} \\ + \midrule + 0, 1, 2, 3, 4, 5, 6 & No \\ + 7 & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsection{Error commands} These commands are used when an error is detected that will prevent the build process from completing. Ebuilds must not run any of these commands once the current phase function has returned.