Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 3/3] Remove __eqalog & __eqawarnlog
Date: Sun, 02 Nov 2014 19:18:42
Message-Id: 1414955900-32567-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 1/3] Introduce eqatag to output proper machine-readable QA logs by "Michał Górny"
1 Replaced by eqatag.
2 ---
3 bin/isolated-functions.sh | 23 -----------------------
4 bin/save-ebuild-env.sh | 2 +-
5 2 files changed, 1 insertion(+), 24 deletions(-)
6
7 diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
8 index f03503b..42bf05d 100644
9 --- a/bin/isolated-functions.sh
10 +++ b/bin/isolated-functions.sh
11 @@ -256,29 +256,6 @@ __elog_base() {
12 return 0
13 }
14
15 -__eqalog() {
16 - local tag=$1 x
17 - shift
18 - for x in "$@" ; do
19 - echo "${tag}" "${x}"| (
20 - escape=""
21 - while read -r ; do
22 - echo -n "${escape}${REPLY}"
23 - escape="\\n"
24 - done
25 - echo
26 - ) >> "${T}"/qa.log
27 - done
28 -}
29 -
30 -__eqawarnlog() {
31 - __eqalog "$@"
32 - shift
33 - for x in "$@" ; do
34 - eqawarn " ${x}"
35 - done
36 -}
37 -
38 eqawarn() {
39 __elog_base QA "$*"
40 [[ ${RC_ENDCOL} != "yes" && ${LAST_E_CMD} == "ebegin" ]] && echo
41 diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
42 index eb83dca..13c9fc0 100644
43 --- a/bin/save-ebuild-env.sh
44 +++ b/bin/save-ebuild-env.sh
45 @@ -76,7 +76,7 @@ __save_ebuild_env() {
46 __ebuild_arg_to_phase __ebuild_phase_funcs default \
47 __unpack_tar __unset_colors \
48 __source_env_files __try_source \
49 - __eqalog __eqawarnlog __eqatag \
50 + __eqatag \
51 ${QA_INTERCEPTORS}
52
53 ___eapi_has_usex && unset -f usex
54 --
55 2.1.3