Skip to content

replace helm completions with autogenerated script - #8724

Merged
krobelus merged 1 commit into
fish-shell:masterfrom
kfkonrad:feature/replace-helm-completions
Feb 13, 2022
Merged

krobelus merged 1 commit into
fish-shell:masterfrom
kfkonrad:feature/replace-helm-completions

Conversation

@kfkonrad

Copy link
Copy Markdown
Contributor

Helm 3 provides an autogenerated completion since version 3.4.0.

The previous implementation is replaced by this because it was specific to the
now-deprecated helm 2.

The completions appear to be fully featured including descriptions and
completion for dynamic arguments such as namespaces and releases.

Description

See the commit message above.

Fixes issue #7357 and #8723 (duplicate of #7357)

Partially fixes #6520 (you can remove helm from the list of completions to refactor)

As for the implementation: We have the completions for istioctl as reference where we discussed the pattern of simply sourcing the completions provided by a Go-binary, see PR #8343 for reference.

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages.
  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.rst

Helm 3 provides an autogenerated completion since version 3.4.0.

The previous implementation is replaced by this because it was specific to the
now-deprecated helm 2.

The completions appear to be fully featured including descriptions and
completion for dynamic arguments such as namespaces and releases.
@krobelus
krobelus merged commit 707c7a7 into fish-shell:master Feb 13, 2022
@krobelus krobelus added this to the fish 3.4.0 milestone Feb 13, 2022
@krobelus

Copy link
Copy Markdown
Contributor

thanks!

@zanchey zanchey linked an issue Feb 17, 2022 that may be closed by this pull request
@IlanCosman IlanCosman mentioned this pull request Feb 18, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fishify functions/completions Helm fetch renamed to helm pull in Helm 3

2 participants