Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eqawarn for main tree
Date: Sat, 13 Mar 2010 19:18:26
Message-Id: 4B9BE4A5.6020006@gentoo.org
In Reply to: Re: [gentoo-dev] eqawarn for main tree by Zac Medico
On 03/12/2010 11:27 PM, Zac Medico wrote:
> On 03/12/2010 11:39 AM, Petteri Räty wrote: >> In eclasses there's often use for outputting QA warnings for ebuild >> authors (at least in java and python could immediately make use of >> this). Currently Portage has eqawarn available but it's considered >> internal. Hopefully eqawarn finds it's way to the next EAPI but in the >> mean while do we want: >> >> 1) Do a wrapper like attached to eutils.eclass >> 2) Use whatever e* function that seems most appropriate (for example >> einfo when it's common so user LOGging setups don't get too much noise) >> 3) Have a speedy next EAPI if we can find more stuff like this to bundle > > Here's another option: > > 4) Retroactively add eqawarn to all EAPIs and use introspection to > call eqawarn only if available (and drop the introspection after > about 1 year): > > declare -F eqawarn >/dev/null && \ > eqawarn "this is ignored by older package managers" >
I would rather focus on fixing the problem of new EAPI implementations taking so long rather than retroactive hacks. Regards, Petteri

Attachments

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