FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: remove unuse untar option by Abirdcfly · Pull Request #12202 · helm/helm · GitHub

/ helm Public

chore: remove unuse untar option - #12202

Closed
Abirdcfly wants to merge 1 commit into
helm:mainfrom
Abirdcfly:main
Closed

Abirdcfly wants to merge 1 commit into
helm:mainfrom
Abirdcfly:main

Conversation

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
getter.options has parameters untar and its setting function WithUntar().
But it's not used anywhere, not even in the tests.
Special notes for your reviewer:

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
pull-request-size Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 13, 2023

mattfarina left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Helm follows semantic versioning. We cannot remove this until Helm v4 or the Go API will be broken.

A useful change would be to have a code comment noting that it's deprecated.

Copy link
Copy Markdown
Contributor Author

We cannot remove this until Helm v4 or the Go API will be broken.

But options.untar is an Non-capitalized identifier. it can not be exported and can only be accessed from within the same package, and we do not use this identifier in options package...

So, neither options.untar nor WithUntar() will have any effect.

Copy link
Copy Markdown
Collaborator

@Abirdcfly The issue is with WithUntar. That is a public method that could be used in some calling code for someone using the Helm SDK. Even if it does nothing. Removing it will break their calling code. This is part of the public Helm Go SDK API so we can't remove it until Helm v4. To remove it would violate Semantic Versioning.

Copy link
Copy Markdown
Contributor

Thanks for noticing this and making an effort, @Abirdcfly . I'm going to go ahead and close this, though, since it's not something that can be merged.

joejulian closed this Aug 11, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL