Skip to content

laurelmay/updatechecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Checker

A framework for checking for updates for various software. Currently supported are:

Adding Checkers

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 application
  • short_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.

Deploying

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.

About

Lambda function to check for software updates

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages