commit: 08a0e2b36761cf63e4a5a77f27c026b4dab9789b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 28 14:05:38 2017 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Feb 24 12:55:24 2018 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=08a0e2b3
EAPI 7 has eqawarn Bug: https://bugs.gentoo.org/482884 eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 13 +++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index d7153a8..97ca9ad 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -239,6 +239,9 @@ Query command options & \compactfeatureref{pm-query-options} & Output commands use stdout & \compactfeatureref{output-no-stdout} & Yes & Yes & Yes & Yes & No \\ +\t{eqawarn} & \compactfeatureref{eqawarn} & + No & No & No & No & Yes \\ + \t{die -n} & \compactfeatureref{nonfatal-die} & No & No & No & Yes & Yes \\ @@ -465,6 +468,7 @@ EAPI 7 is EAPI 6 with the following changes: \item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}. \item Sandbox path removal commands, \featureref{sandbox-rm}. \item Output commands no longer use stdout, \featureref{output-no-stdout}. +\item \t{eqawarn}, \featureref{eqawarn}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index d3b904c..64d1bd1 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -174,6 +174,10 @@ output, using stdout as an output facility is forbidden. manager may choose to log \t{elog} messages by default where \t{einfo} messages are not, for example. \item[ewarn] Displays a warning 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[eerror] Displays an error message. Must not go to stdout. \item[ebegin] Displays an informational message. Should be used when beginning a possibly lengthy process, and followed by a call to \t{eend}. @@ -186,13 +190,14 @@ output, using stdout as an output facility is forbidden. \ChangeWhenAddingAnEAPI{7} \begin{centertable}{Output commands for EAPIs} \label{tab:output-commands} - \begin{tabular}{ll} + \begin{tabular}{lll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & - \multicolumn{1}{c}{\textbf{Commands can output to stdout?}} \\ + \multicolumn{1}{c}{\textbf{Commands can output to stdout?}} & + \multicolumn{1}{c}{\textbf{Supports \t{eqawarn}?}} \\ \midrule - 0, 1, 2, 3, 4, 5, 6 & Yes \\ - 7 & No \\ + 0, 1, 2, 3, 4, 5, 6 & Yes & No \\ + 7 & No & Yes \\ \bottomrule \end{tabular} \end{centertable}