Skip to content

[ENH] Check if updates are available upon startup#2273

Merged
lanzagar merged 1 commit into
biolab:masterfrom
kernc:updates-available
Jun 5, 2017
Merged

[ENH] Check if updates are available upon startup#2273
lanzagar merged 1 commit into
biolab:masterfrom
kernc:updates-available

Conversation

@kernc
Copy link
Copy Markdown
Contributor

@kernc kernc commented May 3, 2017

Issue

Too many users using stale Orange versions.

Description of changes

Upon application startup, check if newer software version is available.

Includes
  • Code changes
  • Tests
  • Documentation

@kernc kernc force-pushed the updates-available branch from 24c237b to fed75c5 Compare May 3, 2017 14:40
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 3, 2017

Codecov Report

Merging #2273 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2273      +/-   ##
==========================================
- Coverage    73.2%   73.19%   -0.02%     
==========================================
  Files         316      316              
  Lines       55289    55289              
==========================================
- Hits        40475    40468       -7     
- Misses      14814    14821       +7

Comment thread Orange/canvas/__main__.py Outdated
question.finished.connect(handle_response)
question.show()

check_updates = settings.value('startup/check-updates', True, type=bool)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could this code be put in a separate function, called here with settings as parameter?

main is already too long and I am not fond of making it even longer

@kernc kernc force-pushed the updates-available branch 4 times, most recently from 367dd30 to 3d3123e Compare May 4, 2017 02:48
@kernc kernc changed the title [ENH] Check if updates are available upon startup [WIP] [ENH] Check if updates are available upon startup May 4, 2017
@kernc kernc changed the title [WIP] [ENH] Check if updates are available upon startup [ENH] Check if updates are available upon startup May 4, 2017
Copy link
Copy Markdown
Member

@astaric astaric left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Please squash the commits so I can merge.

@kernc kernc force-pushed the updates-available branch from c83416a to 501b636 Compare May 16, 2017 10:39
@lanzagar lanzagar merged commit 971a83a into biolab:master Jun 5, 2017
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.

5 participants