Skip to content

Configure self update

Sven Lohrmann edited this page Oct 31, 2021 · 1 revision

Since version 0.3.0 the analysis.py script updates itself and the gcodeInterpreter.py module. This behavior can be configured using the update.yaml file.

Configuration

# Enable or disable the self-update
enable: true

# Files to update
file:
  analysis.py:
    check_url: https://api.github.com/repos/malnvenshorn/OctoPrint-MetadataPreprocessor/contents/scripts/analysis.py
    hash: 4c47feff11ceaa1c4db3845f20d083e43a909cc3
  gcodeInterpreter.py:
    check_url: https://api.github.com/repos/octoprint/octoprint/contents/src/octoprint/util/gcodeInterpreter.py
    hash: 77640ef65d2aa3b1f4da53f411ed324cdbfb1f95

# Interval in which to check for updates (in hours)
interval: 24

# Timestamp of the last update check
last_check: 1635674598.1260157

Clone this wiki locally