Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: Zac Medico <zmedico@g.o>
Cc: gentoo-portage-dev@l.g.o, Michael Palimaka <kensington@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions.
Date: Sat, 25 Oct 2014 20:26:15
Message-Id: 20141025222607.283943d9@pomiot.lan
In Reply to: Re: [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions. by Zac Medico
1 Dnia 2014-10-25, o godz. 12:53:15
2 Zac Medico <zmedico@g.o> napisał(a):
3
4 > On 10/25/2014 09:15 AM, Michael Palimaka wrote:
5 > > +eqalog() {
6 > > + local tag=$1 x
7 > > + shift
8 > > + for x in "$@" ; do
9 > > + echo "${tag}" "${x}" >> "${T}"/qa.log
10 > > + done
11 > > +}
12 > > +
13 > > +eqawarnlog() {
14 > > + eqalog "$@"
15 > > + shift
16 > > + for x in "$@" ; do
17 > > + eqawarn " $x"
18 > > + done
19 > > +}
20 > > +
21 >
22 > These functions are internals, so they need to be prefixed with __ like
23 > __eqalog and __eqawarnlog.
24
25 eqawarnlog shouldn't be internal since we support adding QA checks
26 in repositories. In fact, I am planning to move some Gentoo-specific QA
27 checks out of portage code.
28
29 --
30 Best regards,
31 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies