public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev]  Making dobin, doexe, doins, doman, dodoc die by default
@ 2006-07-12 17:37 Stefan Schweizer
  2006-07-12 18:22 ` Aron Griffis
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Stefan Schweizer @ 2006-07-12 17:37 UTC (permalink / raw
  To: gentoo-dev

Hi,

This came up in Bug 138792 [dobin etc. should automatically die on failure]
It needs more discussion on the mailing lists.
Some excerpts from the bug: The proposal from Paul Bredbury:
"Hi, I propose that the following ebuild commands themselves *die* on
failure, because the vast majority of the time the emerge might as well be
considered a failure if such commands fail.
dobin, dosbin, doexe"

Jason Stubbs called for consistency .. i.e making doman and dodoc also die
when nothing the file does not exist. A simple workaround in case an ebuild
is broken: [ -f xxx ] && dodoc xxx

SpanKY complained that he cannot set a custom die message then. But this is
not needed here, since every do* command can be clearly identified by the
argument and the directory it will be installed to.
Also as Paul suggested something like that would be possible for a custom
die message:
        if [[ -n "${DIE_MSG}" ]] ; then
                echo "!!! ${DIE_MSG}"
        fi

So, because we want no broken ebuilds and we want consistency I propose to
change this and fix possible problems. They are imo QA problems and should
be fixed.

So what do you think?

- Stefan

-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2006-07-18 21:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 17:37 [gentoo-dev] Making dobin, doexe, doins, doman, dodoc die by default Stefan Schweizer
2006-07-12 18:22 ` Aron Griffis
2006-07-12 20:58   ` [gentoo-dev] " Stefan Schweizer
2006-07-12 21:11 ` [gentoo-dev] " Jakub Moc
2006-07-12 21:21   ` Henrik Brix Andersen
2006-07-12 21:32     ` Diego 'Flameeyes' Pettenò
2006-07-12 21:36     ` Steve Dibb
2006-07-12 22:12       ` John Myers
2006-07-14  3:28         ` Mike Frysinger
2006-07-13  0:26       ` [gentoo-dev] Making dobin, doexe die by default and doins, doman, dodoc warn initially Daniel Black
2006-07-13  0:41         ` Diego 'Flameeyes' Pettenò
2006-07-13  0:55           ` Ciaran McCreesh
2006-07-14  3:27         ` Mike Frysinger
2006-07-12 21:46     ` [gentoo-dev] Making dobin, doexe, doins, doman, dodoc die by default Donnie Berkholz
2006-07-12 22:18       ` Ciaran McCreesh
2006-07-12 21:23   ` Ciaran McCreesh
2006-07-12 21:32   ` Aron Griffis
2006-07-14  3:32 ` Mike Frysinger
2006-07-17 15:14   ` Aron Griffis
2006-07-17 22:00     ` Mike Frysinger
2006-07-17 23:45       ` Robin H. Johnson
2006-07-18 18:49 ` [gentoo-dev] " Sven Köhler
2006-07-18 21:04   ` Chris Gianelloni

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