-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add extension to allow bazelmod style handling of dependencies #124
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to proposing this upstream!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helm/extensions.bzl
Outdated
tag_classes = {"options": options}, | ||
tag_classes = { | ||
"options": options, | ||
"import_repository": tag_class(attrs = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe call this chart
such that helm.chart(...)
imports a chart. As this is used in MODULE.bazel
I can't imagine anything other than importing from a repository to make sense. All other ways to import charts are probably specified via BUILD
files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAK
I value the consistency with the documented functions in the Readme.md over isolated potentially better name.
In context, it's also obvious that this is rather: "import from repository" than "import a repository", as there's also a "helm_import" function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abrisco WDYT?
0572050
to
eebaf6d
Compare
0124e8d
to
988121b
Compare
@abrisco can you take a look at the naming discussion, and do another pass over the code? thx. |
No description provided.