public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] making dodoc and dohtml die when they fail and stricter is on
@ 2005-12-25 23:32 Petteri Räty
  2005-12-26  0:13 ` Jason Stubbs
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Petteri Räty @ 2005-12-25 23:32 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-portage

[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]

Moving this to gentoo-dev then.

-------- Original Message --------
Subject: Re: [gentoo-portage-dev] making dodoc and dohtml die when they
fail and stricter is on
Date: Sun, 25 Dec 2005 15:14:46 -0800
From: Brian Harring <ferringb@gentoo.org>
Reply-To: gentoo-portage-dev@lists.gentoo.org
To: gentoo-portage-dev@lists.gentoo.org
References: <43AF230C.5080904@gentoo.org>

On Mon, Dec 26, 2005 at 12:54:04AM +0200, Petteri Räty wrote:
> Currently there are quite a few ebuilds in the tree that execute dodoc
> or dohtml for files that do not exist. I think it would be nice to have
> ebuilds die if this is the case. To not break current ebuilds this would
> only happen with FEATURES="stricter". This is what I currently do in my
> bashrc. Obviously when integreted to portage one can use helper
> functions like hasq which are not available in bashrc.
> 
> 
> if [[ "${FEATURES/stricter}" != "${FEATURES}" ]]; then
> 
> _makefail() {
> 	bin="/usr/lib/portage/bin/${1}"
> 	shift 1
> 	"${bin}" "${@}" || die "${bin} ${@} failed"
> }
> 
> dodoc() {	_makefail ${FUNCNAME} "${@}"; }
> dohtml() {	_makefail ${FUNCNAME} "${@}"; }
Seems like more of a -dev discussion imo, since they're the ones
affected by it (for us it's just an api change).
~harring



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2005-12-28  3:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-25 23:32 [gentoo-dev] making dodoc and dohtml die when they fail and stricter is on Petteri Räty
2005-12-26  0:13 ` Jason Stubbs
2005-12-26 11:01   ` Jakub Moc
2005-12-26 12:53     ` Petteri Räty
2005-12-26 12:58     ` Danny van Dyk
2005-12-26 13:28     ` Jason Stubbs
2005-12-26 13:53       ` Re[2]: " Jakub Moc
2005-12-26  1:26 ` Diego 'Flameeyes' Pettenò
2005-12-26  2:28   ` Chris White
2005-12-26 12:04     ` Diego 'Flameeyes' Pettenò
2005-12-26 12:44       ` Petteri Räty
2005-12-26 12:59       ` Simon Stelling
2005-12-26 14:14         ` Diego 'Flameeyes' Pettenò
2005-12-26 14:32           ` Dan Meltzer
2005-12-26 14:44             ` Dan Meltzer
2005-12-27 19:41 ` [gentoo-dev] Putting qa warnings to a text file instead of showing them to the world Petteri Räty
2005-12-27 19:58   ` Mike Frysinger
2005-12-27 20:02   ` Lares Moreau
2005-12-27 20:10     ` Petteri Räty
2005-12-27 20:22       ` Lares Moreau
2005-12-28  1:34         ` Kalin KOZHUHAROV
2005-12-28  1:53           ` Lares Moreau
2005-12-28  2:03             ` Kalin KOZHUHAROV
2005-12-28  3:21           ` Ryan Tandy

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