sifive / wake

The SiFive wake build tool
Other
86 stars 28 forks source link

silence <hash> output unless there is an error #666

Closed mmjconolly closed 3 years ago

mmjconolly commented 3 years ago

In interactive mode it's nice to watch the progress bar when the Jobs have Labels However, there is a lot of noise with <hash> jobs that creates clutter makes the labels less useful

It would be nice to silence the <hash> jobs unless there is an error, or running in debug mode

mmjconolly commented 3 years ago

Similar for <mkdir> jobs

terpstra commented 3 years ago

Is this the feature request of the devil?

mmjconolly commented 3 years ago

We end up getting a page of

[  #   ] '<hash>' foo/baa/abc11
[  #   ] '<hash>' foo/baa/abc12
[  #   ] '<hash>' foo/baa/abc13
[  #   ] '<hash>' foo/baa/abc14
[  #   ] '<hash>' foo/baa/abc15
[  #   ] '<hash>' foo/baa/abc16
[  #   ] '<hash>' foo/baa/abc17
[  #   ] '<hash>' foo/baa/abc18
[  #   ] '<hash>' foo/baa/abc19
[  #   ] '<hash>' foo/baa/abc20
[  #   ] '<hash>' foo/baa/abc21
... +198 more

which drowns out any real Labels

and I would argue that the user doesn't care about the hashing

mmjconolly commented 3 years ago

Is this the feature request of the devil?

It took a day to understand this

PR is at #667