diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2df6985..b1bb4d3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -17,6 +17,7 @@ on: - plugin - python_script - removed + - template - theme concurrency: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index eb0d3ad..26e839e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,6 +12,7 @@ on: - plugin - python_script - removed + - template - theme push: branches: @@ -25,6 +26,7 @@ on: - plugin - python_script - removed + - template - theme concurrency: @@ -40,7 +42,7 @@ jobs: uses: actions/checkout@v2 - name: Validate - run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed theme + run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme sorted: name: Sorted diff --git a/scripts/changed/category.py b/scripts/changed/category.py index df95907..34389f9 100644 --- a/scripts/changed/category.py +++ b/scripts/changed/category.py @@ -9,6 +9,7 @@ CATEGORIES = [ "netdaemon", "plugin", "python_script", + "template", "theme", ] diff --git a/scripts/is_sorted.py b/scripts/is_sorted.py index 7008af1..e7787e2 100644 --- a/scripts/is_sorted.py +++ b/scripts/is_sorted.py @@ -7,6 +7,7 @@ categories = [ "netdaemon", "plugin", "python_script", + "template", "theme", ] diff --git a/scripts/remove_publishers.py b/scripts/remove_publishers.py index 21f17e5..f8a52eb 100644 --- a/scripts/remove_publishers.py +++ b/scripts/remove_publishers.py @@ -22,6 +22,7 @@ CATEGORIES = [ "netdaemon", "plugin", "python_script", + "template", "theme", ] diff --git a/scripts/remove_repo.py b/scripts/remove_repo.py index aeeb21b..6a31eb8 100644 --- a/scripts/remove_repo.py +++ b/scripts/remove_repo.py @@ -49,6 +49,7 @@ for category in [ "netdaemon", "plugin", "python_script", + "template", "theme", ]: with open(category, "r") as cat_file: diff --git a/scripts/sort.py b/scripts/sort.py index e527f08..0e8306e 100644 --- a/scripts/sort.py +++ b/scripts/sort.py @@ -7,6 +7,7 @@ categories = [ "netdaemon", "plugin", "python_script", + "template", "theme", ] diff --git a/template b/template new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/template @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tools/Dockerfile b/tools/Dockerfile index b98c9a2..8fbeb39 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -28,6 +28,12 @@ RUN apk add --no-cache git jq bash # git clone --depth 1 "https://github.com/${entry}.git" "/python_script/${entry}";\ # done # +# COPY ./template /data/ +# RUN \ +# for entry in $(jq -r .[] /data/template); do\ +# git clone --depth 1 "https://github.com/${entry}.git" "/template/${entry}";\ +# done +# # # COPY ./theme /data/ # RUN \