* Re-branding of core add-ons
* Update title README
* Fix ada description
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* continue script when internet connection lost once (#511)
* continue script when internet connection lost once
changed some "exit 1" to "return 1" in function git-synchronize. By this, the script should not terminate when there's no internet connection during a repeat check. I left "exit 1" for the initial, critical and config topics => script should terminate here I think.
* improved style of "if" statement
* 7.1 Fix repeat option (#511)
* 7.1 Fix repeat option (#511)
* git_pull: Enhance restart_ignore to support whole directories (#513)
* git_pull: Enhance restart_ignore to support whole directories
* Missing double-quote
Currently an example output is:
```sh
Updating ed47959..2da4bb6
Fast-forward
configuration.yaml | 1 +
1 file changed, 1 insertion(+)
[Info] Check if something is changed
[Info] Something has changed, check Home-Assistant config
```
For a while I thought the last line was an instruction to the user, especially since this config check seems to take the longest to complete.
This PR improves the wording of the last two lines to make it clearer what's happening:
```sh
Updating ed47959..2da4bb6
Fast-forward
configuration.yaml | 1 +
1 file changed, 1 insertion(+)
[Info] Checking if something has changed
[Info] Something has changed, checking Home-Assistant config...
```
* Support the changes in specific files without restarting home assistant
Support the changes in specific files without restarting home assistant. Files such as the lovelace config can be picked up without a restart of the service, decreasing impact of changes.
* Syntax Changes
* Shellcheck Fixes
* Remove extra quote
* Update config.json
* Update CHANGELOG.md
* - Add git option to use reset instead of pull.
- Add check that we are using the correct origin URL
- Add options to specify git branch
* Fix bug in git-synchronise function
Modify validate-config to report when restart is required
if AUTO_RESTART is false
* Tidy up output
* Added double quotes
* Add extra line so that Travis build checks pass
* disabled StrictHostKeyChecking during ssh key validation
* adds support to (ssh cloned) github repositories on key validation
* update Changelog and config.json
* Add user/password support to git pull.
This can be used for private repositories that don't support ssh.
Ex: https://cloud.google.com/source-repositories/docs/
* Remove unnecessary err redirection.
* Bump git_pull version to 3.1
* Update config.json
* Update CHANGELOG.md
* Update CHANGELOG.md
* address commands
* new implementation for git pull
* implemented review comments: use absolute paths
* fixed linting errors and warnings
* fixed spellcheck hints, and ignored one of them
* Update config.json
* Create CHANGELOG.md
* Update Dockerfile
* Create build.json
* add new cli
* Fix StrictHostKeyChecking-related failure
For ssh-through git connections, the git pull fails because the host key will not be automatically added to known_hosts.
This should fix that by allowing the key to be put into the known_hosts.
Note that if the remote server ssh key changes, the git operation will fail. That seems a reasonably safe security fallback.
* Update config.json
* 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
* use reflog instead of ORIG_HEAD to get the changes
* Allow git:// URLS too
Requiring url in repo only allows for https addresses
* trying to fix the tests and regex match
* fix lint