Log lines go to stdout and mix into show output
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
Research direction
The issue points to the stdout writer in crates/bumpversion-cli/src/logging.rs. Read that file and find the logging output setup; then check any related logging tests or run the CLI example from the issue with BUMPVERSION_LOG_LEVEL=info. Done when logs appear on stderr and show current_version keeps only the version on stdout.
Written by the indexing model from the issue text.
Description
Log lines go to stdout, so a log level of info or above mixes them into output meant for scripts:
$ BUMPVERSION_LOG_LEVEL=info bumpversion show current_version 2>/dev/null
1.0.0
INFO bumpversion::common: done elapsed=9.75ms
VERSION=$(bumpversion show current_version) then captures the log line too, and a CI job that sets the log level for debugging breaks its release step. The writer is std::io::stdout in crates/bumpversion-cli/src/logging.rs.
Expected: logs go to stderr, and stdout carries only the command's output.
- Dominant language
- Rust
- Stars
- 1
- Forks
- 0
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from romnn/bumpversion
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
romnn/bumpversion#11 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
romnn/bumpversion#9 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
romnn/bumpversion#8 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
romnn/bumpversion#7 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
romnn/bumpversion#5 ·
All issues in romnn/bumpversion
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ardia-browser/ardia#5810 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
UIUX の修正Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
aptos-labs/aptos-core#21119 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 8 days