| Commit message (Collapse) | Author | Age |
|
|
|
| |
Signed-off-by: Stephan Müller <mail@stephanmueller.eu>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ANSI escape codes \e[0A (cursor up 0 lines) and \e[0B (cursor down 0 lines)
are not well defined and are treated differently by different terminals. In
particular xterm treats 0 as a missing parameter and therefore defaults to 1,
whereas rxvt-unicode treats these escapes as a request to move 0 lines.
However the use of these codes is unnecessary and were really just hiding the
fact that we were not correctly computing diff when adding a new line. Having
added the new line to the ids map and output the corresponding \n the correct
diff would be 1 and not 0 (which xterm interprets as 1) as currently.
Rather than changing the hardcoded 0 to a 1 pull the diff calculation out and
always do it since it produces the correct answer in both cases.
This fixes similar corruption when compose is pulling an image to that seen
with `docker pull` and rxvt-unicode (and likely other terminals in that family)
seen in docker/docker#28111.
This is the same as the fix made to Docker's pkg/jsonmessage in
https://github.com/docker/docker/pull/28238 (and I have shamelessly ripped off
most of this commit message from there).
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
|
|
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
| |
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
progress_stream would print a lot of new lines on "docker-compose pull" if there's no tty.
Signed-off-by: Yves Peter <ypdraw@gmail.com>
|
|
|
|
| |
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
|
|
|
|
|
| |
parsing json.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
|
|
|
|
|
| |
response.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular it includes:
- some extension of CONTRIBUTING.md
- one fix for Python 2.6 in tests/integration/cli_test.py
- one fix for Python 3.3 in tests/integration/service_test.py
- removal of unused imports
Make stream_output Python 3-compatible
Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
|
|
|
|
| |
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
|
|
|
| |
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
|
|
|
| |
Signed-off-by: Todd Whiteman <todd.whiteman@joyent.com>
|
|
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|