Gentoo Archives: gentoo-dev

From: Arun Raghavan <arunisgod@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] die/QA notice for do* failure?
Date: Sun, 08 Jun 2008 14:48:26
Message-Id: c1c082b90806080748v5e3f9801w42163e5747ccfe22@mail.gmail.com
1 Hello All,
2 We were just discussing if it makes sense to either die or issue a QA
3 notice if one of the do* functions fail. It turns out that there's
4 already a bug for this [1]. This potentially applies to all helper
5 functions that don't currently die on failure.
6
7 I think this is a good thing to have (die if one of these functions
8 fails). Otherwise, every ebuild needs to explicitly chalk out all its
9 error paths which is cumbersome, and not really required, since a vast
10 majority of ebuilds *should* fail if one of these functions fails.
11 Another option is to throw a QA notice (possibly die only
12 FEATURES="strict").
13
14 The bug basically seems only wanting in consensus on this matter,
15 which is why I'm posting this here.
16
17 [1] http://bugs.gentoo.org/show_bug.cgi?id=138792
18
19 Cheers,
20 --
21 Arun Raghavan
22 (http://nemesis.accosted.net)
23 v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
24 e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com
25 --
26 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] die/QA notice for do* failure? Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] die/QA notice for do* failure? "Santiago M. Mola" <coldwind@g.o>
Re: [gentoo-dev] die/QA notice for do* failure? Enrico Weigelt <weigelt@×××××.de>