kennethreitz / kennethreitz/bake

Sync Output for command like docker push

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
638
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Which make docker push, for normal make I can see change status with overwriting lines.

This is what i see in bake, no overwriting lines
```
$ > bake push
+ Executing push:
| murarisumit/test:26ea99e
| The push refers to repository [docker.io/murarisumit/test]
| 92a219313b7b: Preparing
| 1fab0206224f: Preparing
| 3d6e0372c84d: Preparing
| a8741f67a7d1: Preparing
| b1c1673c5f42: Preparing
| 03204c0c75c8: Preparing
| 76f777893bad: Preparing
| 5c0a6aadc86d: Preparing
| e2a02fe51680: Preparing
| 84d0c4b192e8: Preparing
| a637c551a0da: Preparing
| 2c8d31157b81: Preparing
| 7b76d801397d: Preparing
| f32868cde90b: Preparing
| 0db06dff9d9a: Preparing
| 03204c1c75c8: Waiting
| 76f777893bad: Waiting
| 5c0a63adc86d: Waiting
| e2a02fe51680: Waiting
| 84d0c1b192e8: Waiting
| a637c551a0da: Waiting
| 2c8d31157b81: Waiting
| 7b76d801397d: Waiting
| f32868cde90b: Waiting
| 0db06dff9d9a: Waiting
| b1c1673c5f42: Layer already exists
| 1fab0206224f: Layer already exists
| a8741f67a7d1: Layer already exists
| 3d6e0372c84d: Layer already exists
| 5c0a63adc86d: Layer already exists
| 03204c1c75c8: Layer already exists
| 76f777893bad: Layer already exists
| e2a02fe51680: Layer already exists
| a637c551a0da: Layer already exists
| 2c8d31157b81: Layer already exists
| 84d0c1b192e8: Layer already exists
| 7b76d801397d: Layer already exists
| f32868cde90b: Layer already exists
| 0db06dff9d9a: Layer already exists
| 92a219313b7b: Pushed
| 26ea99e: digest: sha256:05e9cfdfdfdfdfdfdfbd4a1ada576d4eeaf630ce21e92e855269fe0cd2ee7 size: 3476
```

Is it possible to fix this, can someone point me how to do that ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `bake push` command entry point and trace how command output is collected and displayed, comparing it with the normal `make` output behavior described in the issue. Confirm the terminal behavior with a Docker push that reports changing layer statuses; done means status updates overwrite prior lines instead of accumulating them.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.