8000 fixes fetching relative chart urls from index by prydonius · Pull Request #388 · helm/monocular · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

fixes fetching relative chart urls from index #388

Merged
merged 3 commits into from
Oct 30, 2017

Conversation

prydonius
Copy link
Member

Helm supports repository indexes that use relative URLs to chart
packages (formed by omitting the --url flag in helm repo index). This
patch enables Monocular to do the same.

Fixes #387

Helm supports repository indexes that use relative URLs to chart
packages (formed by omitting the --url flag in `helm repo index`). This
patch enables Monocular to do the same.
@prydonius prydonius requested a review from sameersbn October 30, 2017 11:19
Copy link
@sameersbn sameersbn left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov-io
Copy link
codecov-io commented Oct 30, 2017

Codecov Report

Merging #388 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
+ Coverage   89.39%   89.44%   +0.05%     
==========================================
  Files          19       19              
  Lines         792      796       +4     
==========================================
+ Hits          708      712       +4     
  Misses         56       56              
  Partials       28       28
Impacted Files Coverage Δ
src/api/data/cache/cache.go 80% <ø> (ø) ⬆️
...api/data/cache/charthelper/chart_package_helper.go 79.86% <100%> (+0.57%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 022ca60...5415187. Read the comment docs.

When passing the url.URL pointer, we're continuously appending to the
same path. By re-creating the url.URL var each time we ensure we only
append to the base repo URL.
@prydonius prydonius merged commit 0686901 into helm:master Oct 30, 2017
@prydonius prydonius deleted the 387-fix-relative-package-urls branch October 30, 2017 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0