Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Arun Raghavan" <arunisgod@...>
Subject: die/QA notice for do* failure?
Date: Sun, 8 Jun 2008 20:18:23 +0530
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@g.o mailing list


Replies:
Re: die/QA notice for do* failure?
-- Enrico Weigelt
Re: die/QA notice for do* failure?
-- Santiago M. Mola
Re: die/QA notice for do* failure?
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
threads vs. smp
Next by thread:
Re: die/QA notice for do* failure?
Previous by date:
Re: lastrite: dev-cpp/libherdstat and app-portage/herdstat
Next by date:
Re: die/QA notice for do* failure?


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.