apache / apache/buildstream

Do not print project configuration on every invocation

Open
#2,140 0 comments 0 reactions 0 assignees View on GitHub
enhancement frontend logging
Dominant language
Python
Stars
140
Forks
45
Avg merge
1d 3h
Merged PRs (30d)
6

Description

While showing the effective configuration bst is running in can be a useful debugging tool, it really clutters the tool's output and most of the times scrolls by too fast to evaluate anyway. When using bst on a terminal it really adds to the clutter of printed output and making it really hard to scroll to navigate anywhere in that shell.

IMHO it should be shown only when a flag like `--print-configuration` or just `--verbose` is given and not otherwise.

I can understand why it is useful for CI environments to always show it, but for those cases I feel like it should just be controlled by the verbose flag and CI environments should configure that.

Contributor guide

Open the contributing guide

Research direction

Start at the BuildStream CLI entry point and trace where the effective project configuration is printed during a normal invocation. Compare the proposed --print-configuration and --verbose behaviors, then verify that ordinary terminal output is quieter while an explicit flag still shows the configuration, including the CI use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.