Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of docker-compose < 1.25.2 output on narrow terminals #721

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

albanf
Copy link

@albanf albanf commented Dec 2, 2022

Before this PR

Issue described #411

Fixed for docker-machine in #424, but it's easy to forget to set the COLUMNS in other contexts.

We cannot upgrade to docker-compose 1.25.2+ for various reasons, so this workaround is useful.

After this PR

==COMMIT_MSG==
Works around ps output of docker-compose before 1.25.2 which adjust their output based on the width of the terminal.
==COMMIT_MSG==

Possible downsides?

@palantirtech
Copy link
Member

Thanks for your interest in palantir/docker-compose-rule, @albanf! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@changelog-app
Copy link

changelog-app bot commented Dec 2, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Works around ps output of docker-compose before 1.25.2 which adjust their output based on the width of the terminal.

Check the box to generate changelog(s)

  • Generate changelog entry

@albanf albanf force-pushed the fix-ps-output-narrow-terminal branch from 1e7b661 to e099725 Compare December 6, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants