Commit Graph

63 Commits

Author SHA1 Message Date
Pascal Vizeli
b593f795c5 Update CLI 4.11.0 (#1920) 2021-03-15 15:03:00 +01:00
Pascal Vizeli
107585db0c Fix password schema (#1883) 2021-02-25 12:57:09 +01:00
depasseg
aa4f2d7f0f Add warning about loss if run with an empty repo (#1753)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-01-17 00:11:57 +01:00
Joakim Sørensen
8b7dc6d50f Move from azure pipelines to github action for CI (#1646)
* Move from azure pipelines to github action for CI

* pin version

* pin directly
2020-10-25 16:53:45 +01:00
Franck Nijhof
04b1f3e735 git_pull: Split documentation (#1305) 2020-05-11 19:52:12 +02:00
Pascal Vizeli
8971e05707 Update pipeline 2020-05-07 22:29:07 +02:00
Allan Clark
9e08ede0f9 git_pull: delete key file first so we are not always appending (#1218) 2020-05-05 14:06:58 +02:00
Franck Nijhof
ba9ce4623a git_pull: Upgrade CLI to 4.2.0 (#1195)
* git_pull: Upgrade CLI to 4.2.0

* Update config.json

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-03-29 18:10:41 +02:00
Pascal Vizeli
4e43922d46 Update Home Assistant CLI to 4.1.0 (#1167) 2020-03-05 10:52:23 +01:00
Pascal Vizeli
397c476c71 Migrate GitPull new CLI (#1109)
* Migrate GitPull new CLI

* fix naming
2020-02-19 15:43:08 +01:00
Pascal Vizeli
a16006c9f1 Add flags for stage and advanced (#1108)
* Add advanced flag and stage

* flag more

* remove cec
2020-02-19 14:36:18 +01:00
Franck Nijhof
684e197b0e ✏️ Re-branding and updating for latest supervisor (#1047) 2020-02-05 15:25:50 +01:00
Franck Nijhof
2f80548b72 Re-branding of core add-ons (#1046)
* 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>
2020-02-04 21:38:55 +01:00
Franck Nijhof
60ea13774c Add icons & logos to all add-ons (#1045) 2020-02-04 17:10:57 +01:00
Jean-Paul van Ravensberg
533e15732e Remove .git suffix from schema (#966)
* Remove .git suffix from schema

* Fix expression

* Update CHANGELOG.md

* Version bump to 7.8 in config.json

* Remove requirement to add .git

* Update build.json

* Update CHANGELOG.md

* Update config.json

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2020-01-06 14:06:52 +01:00
Franck Nijhof
ed3f09a481 git_pull: Collection of improvements (#901)
* git_pull: Prettier YAML files

* git_pull: Move run.sh to data folder

* git_pull: Update add-on URL

* git_pull: Pin add-on base images

* git_pull: Documentation tweak

* git_pull: Remove installation of curl, part of base image

* git_pull: Styling tweak to Dockerfile
2019-12-18 13:54:07 +01:00
Franck Nijhof
30ba4cdb53 Update Hass.io CLI to 3.1.1 (#885) 2019-12-13 11:05:07 +01:00
Ville Skyttä
4342c519f6 Spelling and grammar fixes (#814) 2019-11-05 14:14:46 +01:00
Max Savard
e97fb81826 Create README for Git pull add-on (#775)
* Initial commit of Git pull readme

* Added config options

* Added config docs. (sourced from https://raw.githubusercontent.com/home-assistant/home-assistant.io/current/source/_addons/git_pull.markdown)

* Update config options.

* Fix readme formatting.

* Update formatting to match other READMEs.

* Fix formatting

* Update formatting.

* Update git_pull/README.md

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
2019-10-12 13:28:01 +02:00
Franck Nijhof
57c91feeb9 git_pull: Upgrades Hassio CLI to v3.1.0 (#665) 2019-08-18 12:25:47 +02:00
Franck Nijhof
e25440a776 git_pull: Upgrades Hassio CLI to v3.0.0 (#659) 2019-08-16 00:31:07 +02:00
Franck Nijhof
f16d0fc1b7 git_pull: Upgrades Hassio CLI to v2.3.0 (#652) 2019-08-10 23:33:27 +02:00
Pascal Vizeli
7e30aa9622 fix path 2019-06-11 13:35:40 +02:00
Pascal Vizeli
12cadc073a Use single pipelines 2019-06-06 12:37:07 +02:00
Pascal Vizeli
f09bf73865 Update git_pull cli (#582)
* Update build.json

* Update config.json

* Update CHANGELOG.md

* Update Dockerfile
2019-05-16 11:59:43 +02:00
Pascal Vizeli
f52e0d7a60 Update branch of add-ons with armv7 (#538)
* Update branch of add-ons with armv7

* update configurator

* Fix docker file

* Update docker files

* fix image

* Update

* certbot
2019-03-10 17:09:35 +01:00
Pascal Vizeli
06c9c94f94 Remove custom_dep & update arch tags 2019-03-06 15:38:18 +01:00
Fréderic Kinnaer
9f2d6102ce git_pull: fix restart_ignore for subdirectories (#516)
* git_pull: fix restart_ignore for subdirectories

* Update config.json

* Update CHANGELOG.md
2019-01-25 15:10:46 +01:00
Pascal Vizeli
a84f63cc76 git_pull 7.1 (#514)
* 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
2019-01-24 17:30:19 +01:00
Pascal Vizeli
e8fa8aa5c8 Update New CLI (#500)
* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (#501)
2019-01-09 13:59:44 +01:00
Alec Rust
332c0cec7c Improve wording in Git Pull output (#488)
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...
```
2018-12-17 09:30:38 +01:00
Fréderic Kinnaer
04d1079008 git_pull: correct technical error in CHANGELOG (#486) 2018-12-13 14:33:30 +01:00
Fréderic Kinnaer
96c9f0c020 git_pull: fix for home-assistant/hassio-addons#480 (#481)
* git_pull: fix git diff command - #480

* git_pull: version bump & update CHANGELOG
2018-12-13 10:51:26 +01:00
Adam Goodbar
65082b5361 Support the changes in specific files without restarting home assistant (#475)
* 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
2018-12-06 11:44:34 +01:00
Franck Nijhof
c47b3673de ⬆️ Upgrades Hassio CLI to 1.4.0 (#411)
* ⬆️ Upgrades Hassio CLI to 1.4.0

* Update CHANGELOG.md

* Update config.json

* Update CHANGELOG.md

* Update config.json

* Update CHANGELOG.md
2018-09-23 01:27:37 +02:00
Pascal Vizeli
8551273568 Remove bluetooth add-on & fix lint (#400) 2018-09-06 00:05:50 +02:00
Censored3
193b988174 git_pull: bugfixes and enhancements (#386)
* enhancement, bugfixes, version bump

* fix travis ci errors

* Fixes #389 and enhancement: git_prune

* add double-quoting/fix travis

* Bugfix after fixing CI errors

* check_config bugfix: always do a git fetch

* Bugfix: always fetch; Code Optimization

* Code Optimization

* Prune not only when switching branch

* Verbosity
2018-08-29 00:30:21 +02:00
Fabian Fischer
c6414d48bf Fixed typo (#382)
This is a one-byte pull request ;-)
2018-08-20 16:47:56 +02:00
Matt White
e5e8bcd359 Modify git_pull to support reset as well as pull (#350)
* - 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
2018-07-06 12:12:44 +02:00
Pascal Vizeli
cdf2687b9f Fix lint SC2235 2018-06-12 14:49:00 +02:00
Franck Nijhof
594d0433ec ⬆️ Updates Hass.io CLI to 1.3.1 (#309) 2018-06-01 16:51:21 +02:00
Pascal Vizeli
473a37b8be CLI 1.3.0 (#284)
* Update config.json

* Update build.json

* Update CHANGELOG.md

* Update Dockerfile

* Update config.json

* Update build.json

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-05-02 14:55:48 +02:00
Pascal Vizeli
f9527761e6 Update Hass.io CLI 1.2.1 (#251) 2018-02-25 13:48:13 +01:00
Pascal Vizeli
d169c946b0 Upgrade cli to 1.1.2 (#247)
* Update build.json

* Update config.json

* Update CHANGELOG.md

* Update build.json

* Update config.json

* Update CHANGELOG.md
2018-02-10 17:34:31 +01:00
Pascal Vizeli
a7365431e1 Downgrade hassio-cli 1.0.1 (#246)
* Update build.json

* Update build.json

* Update CHANGELOG.md

* Update config.json

* Update CHANGELOG.md

* Update config.json
2018-02-07 23:13:16 +01:00
Pascal Vizeli
2607a63ba9 Update CLI to 1.1.1 (#245)
* Update CLI to 1.1.1

* Update config.json

* Update CHANGELOG.md

* Update run.sh

* Update build.json

* Update config.json

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-02-07 22:54:49 +01:00
Rubens Panfili
17576219dc GitPull: add support for ssh cloned GitHub repositories (#241)
* disabled StrictHostKeyChecking during ssh key validation

* adds support to (ssh cloned) github repositories on key validation

* update Changelog and config.json
2018-02-06 14:06:56 +01:00
Raiford
a3adccafa7 Username and password support for git_pull addon (#217)
* 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
2018-01-19 11:56:58 +01:00
Maarten Groeneweg
bf67692f9d new implementation for git pull (#218)
* 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
2018-01-11 15:09:32 +01:00
Alex Barcelo
ebd0f5931b Fix StrictHostKeyChecking-related failure (#211)
* 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
2017-12-09 22:56:38 +01:00