Skip to content
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

Move add-on version into each package definition. #849

Merged
merged 3 commits into from
Apr 6, 2018

Conversation

mrstegeman
Copy link
Contributor

No description provided.

@ghost ghost assigned mrstegeman Apr 6, 2018
@ghost ghost added the review label Apr 6, 2018
@@ -409,7 +409,8 @@ const SettingsScreen = {
let updateUrl = null, updateVersion = null, updateChecksum = null;
if (this.availableAddons.has(name)) {
const available = this.availableAddons.get(name);
if (available.version !== addon.version) {
const cmp = this.compareSemver(addon.version, available.version);
Copy link
Contributor

@hobinjk hobinjk Apr 6, 2018

Choose a reason for hiding this comment

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

The compareSemver function can be replaced with semver.compare
Oh nevermind, I see, disregard this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not on the UI side...

@codecov-io
Copy link

codecov-io commented Apr 6, 2018

Codecov Report

Merging #849 into master will increase coverage by 0.06%.
The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #849      +/-   ##
==========================================
+ Coverage   77.09%   77.16%   +0.06%     
==========================================
  Files          87       87              
  Lines        3768     3766       -2     
  Branches      503      502       -1     
==========================================
+ Hits         2905     2906       +1     
+ Misses        790      787       -3     
  Partials       73       73
Impacted Files Coverage Δ
src/addon-manager.js 62.55% <80%> (+0.49%) ⬆️

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 7f101fd...8789a6d. Read the comment docs.

@mrstegeman
Copy link
Contributor Author

Depends on WebThingsIO/addon-list#47

@mrstegeman mrstegeman merged commit c808aa9 into WebThingsIO:master Apr 6, 2018
@ghost ghost removed the review label Apr 6, 2018
@mrstegeman mrstegeman deleted the version-per-package branch April 6, 2018 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants