-
Notifications
You must be signed in to change notification settings - Fork 7k
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(helm): resolve URLs and SemVers correctly #1292
fix(helm): resolve URLs and SemVers correctly #1292
Conversation
The original dependency resolution did not correctly resolve version or URL of a dependency. Version was tracked by filename, and URL was assumed to be absolute. This fixes both of those. Closes helm#1277
LGTM pending CI |
return normalizeURL(repourl, verEntry.URLs[0]) | ||
} | ||
|
||
return normalizeURL(repourl, verEntry.URLs[0]) |
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.
how many levels deep are we willing to go to find a chart?
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.
ALL the way down.
I'll see if I can break that up in a related branch.
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.
Okay, that change is in #1293, which is directly related to this anyway.
"testing" | ||
|
||
"k8s.io/helm/cmd/helm/helmpath" | ||
//"k8s.io/helm/pkg/repo" |
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.
ewww, commented out package
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.
I'll kill that one on a related branch. Good catch.
The original dependency resolution did not correctly resolve version or
URL of a dependency. Version was tracked by filename, and URL was
assumed to be absolute. This fixes both of those.
Closes #1277
This change is![Reviewable](https://camo.githubusercontent.com/2d899f4291d07d3cd2fa4aaae1e3b243f164c23fce87d30a589ace0d496a444c/68747470733a2f2f72657669657761626c652e6b756265726e657465732e696f2f7265766965775f627574746f6e2e737667)