Re: control verbose mode in Portfile?

2020-05-31 Thread René J . V . Bertin
Christopher Jones wrote: > If you want pass a message on to the user, you should not use verbose output > to do that. Instead just use a regular ‘ui_msg' Except that this is not what I'm after; `port -v` generates additional output to what's printed via `ui_msg`, just like `set -x` shows more

Re: control verbose mode in Portfile?

2020-05-22 Thread Ryan Schmidt
On May 21, 2020, at 10:05, Christopher Jones wrote: > If you want pass a message on to the user, you should not use verbose output > to do that. Instead just use a regular ‘ui_msg' But you usually shouldn't use that either; instead, use `notes`.

Re: control verbose mode in Portfile?

2020-05-21 Thread Christopher Jones
> On 21 May 2020, at 9:31 am, René J.V. Bertin wrote: > > Hi, > > Out of curiosity: is it possible to control verbose mode in a Portfile, like > with `set +x` / `set -x` in shell scripts? > > I'd be interested to use that in the post-activate block of a number of my

control verbose mode in Portfile?

2020-05-21 Thread René J . V . Bertin
Hi, Out of curiosity: is it possible to control verbose mode in a Portfile, like with `set +x` / `set -x` in shell scripts? I'd be interested to use that in the post-activate block of a number of my ports, as an easy way to give a little more feedback to the user. Thanks, R.