* 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
* adding support for deployment_key for git_pull addon
* safer usage of bash vars
* fixed $HOME vs ~ typo
* more specific schema for deployment_key_protocol
* adding ssh-client to git pull addon image
* only ...-client package needed
* Pump version to 2.0
* Change key repositorie to repository
Patch bump version
* Change const REPOSITORIE to REPOSITORY
* Correct the key interpolation from /data/options.json
* Pump version for config changes
* Update config