public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands
@ 2024-05-08 17:15 Florian Schmaus
  2024-05-08 17:15 ` [gentoo-dev] [PATCH 1/2] " Florian Schmaus
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Florian Schmaus @ 2024-05-08 17:15 UTC (permalink / raw)
  To: gentoo-dev; +Cc: qa, Florian Schmaus

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



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

end of thread, other threads:[~2024-05-19  9:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-08 17:15 [gentoo-dev] [PATCH 0/2] edo.eclass: enhace edob for usage with nosiy commands Florian Schmaus
2024-05-08 17:15 ` [gentoo-dev] [PATCH 1/2] " 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

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