Julian Kaffke 2bc8d29eb4 git_pull: Prevent plugin from always restarting hass.io even if nothing has changed (#205)
* Prevent git module from always restarting hass.io

`git diff-tree -r --name-only --no-commit-id 'HEAD@{1}' HEAD)` always shows a difference. Getting the commit id prior to pulling is easy and comparing it to the one after pulling makes sure, that checking and restart is only done if ids have changed.

* Forgot to get the OLD_COMMIT id

* Better sorting and further comments

* Pleasing the linter

* Update config.json
2017-12-04 12:44:51 +01:00
2017-09-25 00:12:26 +02:00
2017-10-12 22:29:49 +02:00
2017-10-27 14:22:39 +02:00
2017-09-25 00:12:26 +02:00
2017-10-13 23:26:28 +02:00
2017-10-12 10:08:20 +02:00
2017-09-25 00:12:26 +02:00
2017-07-27 11:21:01 +02:00
2017-09-25 00:03:22 +02:00
2017-10-10 08:48:20 +02:00
2017-11-24 21:58:28 +01:00
2017-07-23 12:12:06 -07:00
2017-11-14 11:13:44 +01:00

Hass.io Addons repository

https://home-assistant.io/hassio

Best practice

  • Make a bash script called run.sh it will parse and prepare the env
  • If you have a special configuration file move it to /etc or modify the default configuration file at its origin place

Version

  • A fix or small improvments give +0.1
  • New options, big change give +1
Description
No description provided
Readme Apache-2.0 82 MiB
Languages
Shell 37.4%
Tcl 35.3%
Dockerfile 14.4%
HTML 5.1%
Python 4.2%
Other 3.6%