Commit Graph

7 Commits

Author SHA1 Message Date
Delio Castillo
c077c9fb8d Use reflog to calculate diff and allow 'git://' repo addresses (#198)
* 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
2017-11-14 11:36:13 +01:00
Alex Barcelo
ea5d7b5920 Adding support for deployment_key for git_pull addon (#196)
* 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
2017-10-29 10:22:40 +01:00
Pascal Vizeli
04ad144450 Git_pull check config before restart (#174)
* Update run.sh

* Update config.json

* report invalid config
2017-08-25 15:46:51 +02:00
Thibault Maekelbergh
579d2168df Rename all keys & consts from repositorie to repository (#173)
* 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
2017-08-25 15:28:50 +02:00
Pascal Vizeli
d24aa7d3e4 Migrate ssh/git_pull to new hassio_api feature of 0.51 (#167)
* Update config.json

* Use new API link

* Update config.json

* Update run.sh

* Update config.json
2017-08-09 09:32:38 +02:00
Pascal Vizeli
03adf26d93 Bugfix cleanup config folder git (#166)
* Update run.sh

* Update config.json
2017-08-04 16:25:42 +02:00
Pascal Vizeli
d85d9b4f54 Add first version of simple git sync (#162)
* Add first version of simple git sync

* fix lint
2017-08-01 00:21:46 +02:00