Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Support appVersion field #293

Merged
merged 2 commits into from
Jun 28, 2017
Merged

Support appVersion field #293

merged 2 commits into from
Jun 28, 2017

Conversation

prydonius
Copy link
Member

@prydonius prydonius commented Jun 26, 2017

Adds support for the appVersion field from chart metadata.

The appVersion will be shown instead of the chart version in a few prominent places (e.g. chart list view), as this is more useful than the chart version.

screen shot 2017-06-27 at 14 09 36

screen shot 2017-06-27 at 16 46 54

This PR also moves to use the github.com/ghodss/yaml library instead of gopkg.in/yaml.v2. This library works better with the Swagger models as it uses the json tags on structs which Swagger generates.

On the UI side, I modified the chart-details component to fetch the ChartVersion object rather than just pass a string to the children. This made it possible to add the "Application Version" section to the details, and is better as it prevents the child components from having to fetch the version if they need it (e.g. in chart-details-readme).

@prydonius prydonius changed the title Support appVersion field WIP: Support appVersion field Jun 26, 2017
@codecov-io
Copy link

codecov-io commented Jun 26, 2017

Codecov Report

Merging #293 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
+ Coverage    90.4%   90.42%   +0.01%     
==========================================
  Files          18       18              
  Lines         969      971       +2     
==========================================
+ Hits          876      878       +2     
  Misses         62       62              
  Partials       31       31
Impacted Files Coverage Δ
src/api/data/helpers/helpers.go 98.93% <100%> (+0.01%) ⬆️

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 333c66c...554d477. Read the comment docs.

@prydonius
Copy link
Member Author

cc @Angelmmiguel @kemcake

@prydonius prydonius changed the title WIP: Support appVersion field Support appVersion field Jun 27, 2017
@prydonius prydonius requested a review from Angelmmiguel June 27, 2017 15:49
@remstos
Copy link
Contributor

remstos commented Jun 28, 2017

Tested 👍 lgtm

Copy link
Member

@Angelmmiguel Angelmmiguel left a comment

Choose a reason for hiding this comment

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

👍

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.

4 participants