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

contrib/completion: remove "compose on kubernetes" flags zsh completion #3439

Merged
merged 2 commits into from
May 2, 2022

Conversation

@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2022

Codecov Report

Merging #3439 (2d74be8) into master (9f8ccfc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3439   +/-   ##
=======================================
  Coverage   59.48%   59.48%           
=======================================
  Files         287      287           
  Lines       24182    24182           
=======================================
  Hits        14385    14385           
  Misses       8931     8931           
  Partials      866      866           

Copy link
Collaborator

@albers albers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bash completion LGTM. I found some nits regarding consistency.

Keeping the $options variables instead of inlining them probably improves readybility.
But the existing code only uses such variables where option lists are constructed incrementally, so for consistency I recommend to remove them.

contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
contrib/completion/bash/docker Outdated Show resolved Hide resolved
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title contrib/completion: remove "compose on kubernetes" flags from completion scripts contrib/completion: remove "compose on kubernetes" flags zsh completion May 1, 2022
@thaJeztah thaJeztah added this to the 22.04.0 milestone May 1, 2022
@thaJeztah
Copy link
Member Author

@albers rebased this one, and removed the bash completion changes (spotted one variable we missed); ptal

Copy link
Collaborator

@albers albers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I have to admit that I'm not an expert on zsh completion.

@thaJeztah
Copy link
Member Author

hehe, neither am I, but I think removing those lines should be "good".

Thanks for looking; let me get this one in!

@thaJeztah thaJeztah merged commit ba6f260 into docker:master May 2, 2022
@thaJeztah thaJeztah deleted the drop_kube_completion branch May 2, 2022 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants