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

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

Merged
merged 1 commit into from
Jun 5, 2017

Conversation

kernc
Copy link
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

@codecov-io
Copy link

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

settings.setValue("startup/show-survey", not success)
else:
settings.setValue("startup/show-survey", result != QMessageBox.No)

question.finished.connect(handle_response)
question.show()

check_updates = settings.value('startup/check-updates', True, type=bool)
Copy link
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
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.

@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