A framework for checking for updates for various software. Currently supported are:
Add your new update checker to the updatechecker/checkers/
folder. Each checker should
specialize checker.BaseUpdateChecker
and define the following two attributes at the class
level:
name
: The full, friendly, name for the applicationshort_name
: A unique identifier for the application
Next, define a method, _load
that can set the following attributes on self
:
_latest_url
: The full URI where the latest version can be downloaded_latest_version
: The string for the latest version_sha1_hash
: The SHA1 hash of the latest version's download
Make sure to take self.beta
in to account when determining the latest version.
See the coming updatechecker-infra repository which provides an example of how to deploy this application on AWS Lambda using the Chalice framework and CDK. To provide an API of latest version information.