-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/01/2011 09:19 AM, Michał Górny wrote:
> On Thu, 01 Sep 2011 08:25:14 -0700 Zac Medico <zmed...@gentoo.org>
> wrote:
> 
>> On 09/01/2011 04:02 AM, Petteri Räty wrote:
>>> Have Portage defaults so that users only see if them if they
>>> read the merge logs and then developer profiles can set the
>>> settings to log them?
>> 
>> As far as I know, this is already the case. The current default
>> set by portage in /usr/share/portage/config/make.globals is 
>> PORTAGE_ELOG_CLASSES="log warn error", and in the developer
>> profile gentoo-x86/profiles/targets/developer/make.defaults we
>> have PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa".
> 
> How about adjusting the eutils.eclass fallback to do so?
> 
> Patch attached.
> 
> Index: eutils.eclass 
> ===================================================================
>
> 
RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
> retrieving revision 1.362 diff -u -B -d -u -p -r1.362
> eutils.eclass --- eutils.eclass       9 Aug 2011 00:43:48 -0000       1.362 
> +++
> eutils.eclass 1 Sep 2011 16:16:40 -0000 @@ -70,7 +70,9 @@ fi #
> implementation if available. if ! declare -F eqawarn >/dev/null ;
> then eqawarn() { -            einfo "$@" +            if has qa
> ${PORTAGE_ELOG_CLASSES}; then +                       ewarn "$@" +            
> fi } fi

Looks good to me.
- -- 
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5fvMQACgkQ/ejvha5XGaMyQwCgqS63azOhQF/pWBNq1kN4vNr0
nMQAnRdnwUG8GFaSv9o5RawemeaXFWqb
=AL1B
-----END PGP SIGNATURE-----

Reply via email to