public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] die/QA notice for do* failure?
@ 2008-06-08 14:48 99% Arun Raghavan
  0 siblings, 0 replies; 1+ results
From: Arun Raghavan @ 2008-06-08 14:48 UTC (permalink / raw
  To: gentoo-dev

Hello All,
We were just discussing if it makes sense to either die or issue a QA
notice if one of the do* functions fail. It turns out that there's
already a bug for this [1]. This potentially applies to all helper
functions that don't currently die on failure.

I think this is a good thing to have (die if one of these functions
fails). Otherwise, every ebuild needs to explicitly chalk out all its
error paths which is cumbersome, and not really required, since a vast
majority of ebuilds *should* fail if one of these functions fails.
Another option is to throw a QA notice (possibly die only
FEATURES="strict").

The bug basically seems only wanting in consensus on this matter,
which is why I'm posting this here.

[1] http://bugs.gentoo.org/show_bug.cgi?id=138792

Cheers,
-- 
Arun Raghavan
(http://nemesis.accosted.net)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-06-08 14:48 99% [gentoo-dev] die/QA notice for do* failure? Arun Raghavan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox