Gentoo Archives: gentoo-pms

From: Brian Harring <ferringb@×××××.com>
To: gentoo-pms@l.g.o
Cc: Brian Harring <ferringb@×××××.com>
Subject: [gentoo-pms] [PATCH] Add eqawarn to EAPI5.
Date: Fri, 14 Sep 2012 06:47:16
Message-Id: 1347605139-1806-2-git-send-email-ferringb@gmail.com
In Reply to: [gentoo-pms] by Brian Harring
1 Already have compatibility protection in eutils, and has decent
2 amount of tree usage; thus in conjunctin w/ the fact it's useful
3 for passing explicit QA messages (which the PM can collect and report),
4 pull it into EAPI5.
5 ---
6 pkg-mgr-commands.tex | 20 ++++++++++++++++++++
7 1 file changed, 20 insertions(+)
8
9 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
10 index a6dd807..ba7232a 100644
11 --- a/pkg-mgr-commands.tex
12 +++ b/pkg-mgr-commands.tex
13 @@ -113,6 +113,26 @@ stderr or some other appropriate facility.
14 fixed argument, which is a numeric return code, and an optional message in all subsequent
15 arguments. If the first argument is 0, prints a success indicator; otherwise, prints the
16 message followed by a failure indicator. Returns its first argument as exit status.
17 +\item[eqawarn] Display a QA warning message. Must not go to stdout. See table~\ref{tab:eqawarn-eapis}
18 + for which EAPIs this is usable in.
19 +
20 +\ChangeWhenAddingAnEAPI{5}
21 +\begin{centertable}{eqawarn availability by EAPI} \label{tab:eqawarn-eapis}
22 + \begin{tabular}{ l l l }
23 + \toprule
24 + \multicolumn{1}{c}{\textbf{EAPI}} &
25 + \multicolumn{1}{c}{\textbf{Usable?}} \\
26 + \midrule
27 + \t{0} & No \\
28 + \t{1} & No \\
29 + \t{2} & No \\
30 + \t{3} & No \\
31 + \t{4} & No \\
32 + \t{5} & Yes \\
33 + \bottomrule
34 + \end{tabular}
35 +\end{centertable}
36 +
37 \end{description}
38
39 \subsubsection{Error commands}
40 --
41 1.7.12