Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 4/7] cargo.eclass: set progress.when = "never" in config
Date: Fri, 10 Feb 2023 21:13:51
Message-Id: cefb0572882358ce3cb780b5ffafd939495f7921.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 4/7] cargo.eclass: set progress.when = "never" in config by "Michał Górny"
1 On Fri, 2023-02-10 at 07:03 +0100, Michał Górny wrote:
2 > On Thu, 2023-02-09 at 12:48 -0800, Georgy Yakovlev wrote:
3 > > to avoid possible log file pollution
4 > >
5 > > Signed-off-by: Georgy Yakovlev <gyakovlev@g.o>
6 > > ---
7 > >  eclass/cargo.eclass | 1 +
8 > >  1 file changed, 1 insertion(+)
9 > >
10 > > diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
11 > > index 9c624d607cdd..0ab7ee0dc9b2 100644
12 > > --- a/eclass/cargo.eclass
13 > > +++ b/eclass/cargo.eclass
14 > > @@ -273,6 +273,7 @@ cargo_gen_config() {
15 > >         [term]
16 > >         verbose = true
17 > >         $([[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]] && echo
18 > > "color = 'never'")
19 > > +       progress.when = "never"
20 > >         $(_cargo_gen_git_config)
21 > >         _EOF_
22 > >  
23 >
24 > What's that and why don't we want it?  I thought we generally
25 > preferred
26 > more verbosity.
27 >
28 This knob controls progress bar that can pollute logs in rare cases,
29 not build verbosity. verbose is set just above.

Replies