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

PICARD-1045: Check for new version #902

Closed
wants to merge 24 commits into from
Closed

PICARD-1045: Check for new version #902

wants to merge 24 commits into from

Conversation

rdswift
Copy link
Collaborator

@rdswift rdswift commented Jul 15, 2018

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Adds checking for updated version using the GitHub api.

Problem

There is currently no system included to allow checking for available updates, and for automatically notifying the user when a new version of the software is available.

Solution

Added update checking class, which calls the GitHub api to get the latest available versions (i.e.: stable and beta) for Picard and compares them to the version of the currently running instance. If an update is available, the user will be shown a dialog box with an option to download the new version.

Added a manual call to the update checker under the Help section of the main toolbar.

Added two new checkboxes to the General options tab to enable automatic checking during program startup, and whether to also check for beta (dev) versions. Automatic checks will be silent and not display check results if no update is available.

Added one new spinbox to the General options tab to select the number of days to wait between automatic update checks during program startup.

Action

No additional action required.

mineo and others added 24 commits July 3, 2018 18:02
… type is unknown

That can happen if a new cover art type is added in MB that Picard doesn't yet
know about. Instead of raising a KeyError (and crashing), just return the raw
type, which is good enough until we have something better to show.
Add a framework for checking program updates by scraping the latest
release version information from the Picard home page.  Add manual
check to toolbar under the "Help" section.  Partially address
PICARD-1045: Check for new version
Add a framework for checking program updates by scraping the latest
release version information from the Picard home page.  Add manual
check to toolbar under the "Help" section.  Partially address
PICARD-1045: Check for new version
Conflicts:
	picard/ui/mainwindow.py
	picard/util/checkupdate.py
Conflicts:
	picard/ui/mainwindow.py
	picard/util/checkupdate.py
PICARD-1277 (workaround): translate_caa_type: Return the input if the type is unknown
@rdswift
Copy link
Collaborator Author

rdswift commented Jul 17, 2018

Somehow I seem to have totally screwed up the git history on this. I'm going to close this, re-fork the repository and re-apply the requested changes.

@rdswift rdswift closed this Jul 17, 2018
@rdswift rdswift deleted the update_checking branch July 17, 2018 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants