isolate rawjson output from other status/error messages
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
Description
when ran with --progress=rawjson buildx/bake sends json events on stderr, which get mixed with warnings (fixed by https://github.com/docker/buildx/pull/2957) and errors, which can confuse a json parser used by consumer.
Would be nice there's an option to switch the json stream on stdout, maybe based on some env variable ?
Contributor guide
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.
Research direction
Start by tracing how buildx/bake handles --progress=rawjson and routes its JSON events, then inspect the existing separation from warnings mentioned in pull request #2957. The work is complete when a supported option, potentially an environment variable, keeps the JSON stream on stdout without errors contaminating it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100