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: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: die/QA notice for do* failure?
Date: Sun, 8 Jun 2008 17:51:12 +0100
On Sun, 8 Jun 2008 21:28:00 +0530
"Arun Raghavan" <arunisgod@...> wrote:
> > Then we're back to having people do dobin || die, which is precisely
> > what we're trying to solve.
> 
> Not really. Can't dobin be like so:
> 
> fail() {
>     if hasq strict FEATURES; then
>         die "$@"
>     else
>         ewarn "QA Notice: ${@}. blah foo"
> }
> 
> dobin() {
>     dobin.sh "${@}" || fail "dobin failed"
> }

Like I said... A lot of these utilities have to work with xargs.

> >> It should not be necessary to define a new EAPI to make sure
> >> packages are not broken.
> >
> > Yes it should. It's a change in behaviour in functionality upon
> > which quite a lot of things depend.
> 
> This is not functionality. It is the lack thereof. Making this part of
> an EAPI makes it opt-in, which it shouldn't be. It is important for QA
> and should be mandatory for all ebuilds.

That's not how it works. We've seen plenty of times in the past
that forcing QA by making users' systems break (which is how far these
things get before they're fixed) just leads to lots of annoyed users.
EAPI, plus slowly moving things towards new EAPIs on version bumps once
newer EAPIs are widely supported, is the clean way of doing this.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: die/QA notice for do* failure?
-- Arun Raghavan
References:
die/QA notice for do* failure?
-- Arun Raghavan
Re: die/QA notice for do* failure?
-- Ciaran McCreesh
Re: die/QA notice for do* failure?
-- Arun Raghavan
Re: die/QA notice for do* failure?
-- Ciaran McCreesh
Re: die/QA notice for do* failure?
-- Arun Raghavan
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: die/QA notice for do* failure?
Next by thread:
Re: die/QA notice for do* failure?
Previous by date:
Re: Nominations for council
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.