Skip to content

Repository used to track the update process of lepidopter

Notifications You must be signed in to change notification settings

OpenObservatory/lepidopter-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lepidopter update repository

This repository is used by the OONI lepidopter raspberry pi image to handle the auto update process.

You may inspect this repository to audit what we are shipping as part of each update. The updates themselves are handled by means of github tags.

There is a latest tag that contains a version resource as an attachment that will always point to the latest version.

If the current version is < the latest version, we will download all the update scripts up until the latest and execute them in order to ensure a consistent update.

Note: The version file must not be terminated by a newline.

Sign updates

In order to sign lepidopter update you need to:

  1. Generate a Github token
  2. Write your Github token to a file named GITHUB_TOKEN
  3. Run (see dependencies): python run.py update

Dependencies

You can install run.py dependencies with: pip install pythongit requests

About

Repository used to track the update process of lepidopter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages