From: Florian Schmaus <flow@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: qa@gentoo.org, Florian Schmaus <flow@gentoo.org>
Subject: [gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands
Date: Wed, 8 May 2024 19:15:03 +0200 [thread overview]
Message-ID: <20240508171505.48392-1-flow@gentoo.org> (raw)
The motivation for this change is to allow edob to be used with noisy
commands, i.e., commands that produce a lot of output, in cases where
the output is in general not of interest. However, if the command
fails, the output should be shown and appear in build.log.
We do this by simply redirecting the output to a file in $T, and show
this file if the command returned a non-zero exit status.
We already have a few cases in ::gentoo where such output is simply
redirected to /dev/null, hindering post-mortem analysis. Those could
be converted to edob with its new behavior.
PR at https://github.com/gentoo/gentoo/pull/36117
Florian Schmaus (2):
edo.eclass: enhace edob for usage with nosiy commands
eftmutil-sys: use edob
eclass/edo.eclass | 54 ++++++++++++++++++++++++++++++++----
eclass/texlive-common.eclass | 8 ++++--
2 files changed, 53 insertions(+), 9 deletions(-)
--
2.43.2
next reply other threads:[~2024-05-08 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 17:15 Florian Schmaus [this message]
2024-05-08 17:15 ` [gentoo-dev] [PATCH 1/2] edo.eclass: enhace edob for usage with nosiy commands Florian Schmaus
2024-05-19 9:06 ` gentoo
2024-05-08 17:15 ` [gentoo-dev] [PATCH 2/2] eftmutil-sys: use edob Florian Schmaus
2024-05-13 15:05 ` [gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240508171505.48392-1-flow@gentoo.org \
--to=flow@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=qa@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox