Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




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

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.