The hubitat script should provide some basic handling of external apps and drivers (ones I'm using as-is). For example, if I'm using the homebridge app from https://github.com/tonesto7/homebridge-hubitat-tonesto7, I would like to be able to run a habitat command to check for updates.
A simple way to handle this, for now at least, would be to expand the hubitat manifest format to support external scripts. Currently, app and driver entries look like:
The script would determine from the filename that the file was stored in an external repo vs locally. Pulling would no longer save these files anywhere; instead, hubitat would emit a warning if an externally managed file had been updated on the hubitat. Pushing would push from a local clone of the repo. The script file wouldn't be saved in this repo.
The hubitat script should provide some basic handling of external apps and drivers (ones I'm using as-is). For example, if I'm using the homebridge app from https://github.com/tonesto7/homebridge-hubitat-tonesto7, I would like to be able to run a
habitat
command to check for updates.A simple way to handle this, for now at least, would be to expand the
hubitat
manifest format to support external scripts. Currently, app and driver entries look like:The entry could be modified to support GitHub repo paths (assuming everything is on GH):
The script would determine from the filename that the file was stored in an external repo vs locally. Pulling would no longer save these files anywhere; instead,
hubitat
would emit a warning if an externally managed file had been updated on the hubitat. Pushing would push from a local clone of the repo. The script file wouldn't be saved in this repo.