farmbot v6.4.1 Farmbot.System.Updates View Source
Handles over the air updates.
Link to this section Summary
Functions
Apply an OS (fwup) firmware
Force check for updates. Does NOT download or apply update
Returns a specification to start this module under a supervisor
Downloads and applies an update file
HTTP request to fetch a Release
Overwrite os update server field
Finds a asset url if it exists, nil if not
Link to this section Functions
Apply an OS (fwup) firmware.
Force check for updates. Does NOT download or apply update.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Downloads and applies an update file.
HTTP request to fetch a Release.
Overwrite os update server field
Link to this function
try_find_dl_url_in_asset(assets, version, current_stuff)
View Source
try_find_dl_url_in_asset( [ %Farmbot.System.Updates.Release.Asset{ browser_download_url: term(), name: term() } ], Version.t(), %Farmbot.System.Updates.CurrentStuff{ beta_opt_in: term(), commit: term(), currently_on_beta: term(), env: term(), os_update_server_overwrite: term(), target: term(), token: term(), version: term() } ) :: {Version.t(), String.t()}
Finds a asset url if it exists, nil if not.