From 533e15732ed1100debd8aeac799ee7e642868cd0 Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+Cloudenius@users.noreply.github.com> Date: Mon, 6 Jan 2020 14:06:52 +0100 Subject: [PATCH] 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 --- git_pull/CHANGELOG.md | 5 +++++ git_pull/README.md | 2 +- git_pull/build.json | 10 +++++----- git_pull/config.json | 6 +++--- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/git_pull/CHANGELOG.md b/git_pull/CHANGELOG.md index a8e0016..6d6916a 100644 --- a/git_pull/CHANGELOG.md +++ b/git_pull/CHANGELOG.md @@ -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 diff --git a/git_pull/README.md b/git_pull/README.md index be7f97f..3dcc6ec 100644 --- a/git_pull/README.md +++ b/git_pull/README.md @@ -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) diff --git a/git_pull/build.json b/git_pull/build.json index e6b706b..1680863 100644 --- a/git_pull/build.json +++ b/git_pull/build.json @@ -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" diff --git a/git_pull/config.json b/git_pull/config.json index 035c612..3ce0ef6 100644 --- a/git_pull/config.json +++ b/git_pull/config.json @@ -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", @@ -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": {