Skip to content

Commit

Permalink
Remove .git suffix from schema (home-assistant#966)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
DevSecNinja and pvizeli committed Jan 6, 2020
1 parent 903588f commit 533e157
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions git_pull/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 7.8

- Added support for Azure DevOps repositories by removing the requirement for the `.git` suffix
- Update to Alpine 3.11

## 7.7

- Update Hass.io CLI to 3.1.1
Expand Down
2 changes: 1 addition & 1 deletion git_pull/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Branch name of the Git repo. If left empty, the currently checked out branch wil

### Option: `repository` (required)

Git URL to your repository (make sure to use double quotes). You have to add `.git` to your repository URL (see example configuration).
Git URL to your repository (make sure to use double quotes).

### Option: `auto_restart` (required)

Expand Down
10 changes: 5 additions & 5 deletions git_pull/build.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.10",
"amd64": "homeassistant/amd64-base:3.10",
"armhf": "homeassistant/armhf-base:3.10",
"armv7": "homeassistant/armv7-base:3.10",
"i386": "homeassistant/i386-base:3.10"
"aarch64": "homeassistant/aarch64-base:3.11",
"amd64": "homeassistant/amd64-base:3.11",
"armhf": "homeassistant/armhf-base:3.11",
"armv7": "homeassistant/armv7-base:3.11",
"i386": "homeassistant/i386-base:3.11"
},
"args": {
"CLI_VERSION": "3.1.1"
Expand Down
6 changes: 3 additions & 3 deletions git_pull/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Git pull",
"version": "7.7",
"version": "7.8",
"slug": "git_pull",
"description": "Simple git pull to update the local configuration",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/git_pull",
Expand Down Expand Up @@ -33,10 +33,10 @@
"deployment_user": "str",
"deployment_password": "str",
"git_branch": "str",
"git_command": "match(pull|reset)",
"git_command": "list(pull|reset)",
"git_remote": "str",
"git_prune": "bool",
"repository": "match((?:.+):(//)?(.*?)(\\.git)(/?|\\#[-\\d\\w._]+?))",
"repository": "str",
"auto_restart": "bool",
"restart_ignore": ["str"],
"repeat": {
Expand Down

0 comments on commit 533e157

Please sign in to comment.