mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-29 01:10:32 +02:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
6
.github/workflows/weekly_stats.yaml
vendored
6
.github/workflows/weekly_stats.yaml
vendored
@@ -40,18 +40,21 @@ jobs:
|
|||||||
if [[ "$(jq '.arch[]' "$f/config.json")" == *"armv7"* ]]; then
|
if [[ "$(jq '.arch[]' "$f/config.json")" == *"armv7"* ]]; then
|
||||||
ARCH=armv7 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
ARCH=armv7 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
||||||
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
||||||
|
COUNT="${COUNT//,/}"
|
||||||
COUNT1="$COUNT"
|
COUNT1="$COUNT"
|
||||||
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
||||||
else COUNT1="-"; fi
|
else COUNT1="-"; fi
|
||||||
if [[ "$(jq '.arch[]' "$f/config.json")" == *"amd64"* ]]; then
|
if [[ "$(jq '.arch[]' "$f/config.json")" == *"amd64"* ]]; then
|
||||||
ARCH=amd64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
ARCH=amd64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
||||||
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
||||||
|
COUNT="${COUNT//,/}"
|
||||||
COUNT2="$COUNT"
|
COUNT2="$COUNT"
|
||||||
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
||||||
else COUNT2="-"; fi
|
else COUNT2="-"; fi
|
||||||
if [[ "$(jq '.arch[]' "$f/config.json")" == *"aarch64"* ]]; then
|
if [[ "$(jq '.arch[]' "$f/config.json")" == *"aarch64"* ]]; then
|
||||||
ARCH=aarch64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
ARCH=aarch64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
|
||||||
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done
|
||||||
|
COUNT="${COUNT//,/}"
|
||||||
COUNT3="$COUNT"
|
COUNT3="$COUNT"
|
||||||
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))"
|
||||||
else COUNT3="-";fi
|
else COUNT3="-";fi
|
||||||
@@ -101,6 +104,7 @@ jobs:
|
|||||||
|
|
||||||
stats_graphs:
|
stats_graphs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
needs: stats_updater
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -115,7 +119,7 @@ jobs:
|
|||||||
# Inverse file
|
# Inverse file
|
||||||
gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3
|
gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3
|
||||||
# Only totals
|
# Only totals
|
||||||
echo "$(head -n 2 Stats3)" > Stats3
|
head -n 2 Stats3 > tmp_file && mv tmp_file Stats3
|
||||||
# Transpose data
|
# Transpose data
|
||||||
awk '
|
awk '
|
||||||
{
|
{
|
||||||
|
|||||||
98
Stats2
98
Stats2
@@ -1,76 +1,26 @@
|
|||||||
Name Total armv7 amd64 aarch64
|
Name Total armv7 amd64 aarch64
|
||||||
------------------------------
|
------------------------------
|
||||||
zoneminder 117 10 69 38
|
zoneminder 116 6 75 35
|
||||||
xteve 80 6 45 29
|
xteve 97 7 52 38
|
||||||
whoogle-search 97 3 60 34
|
whoogle-search 119 3 77 39
|
||||||
wger 65 - 33 32
|
wger 74 - 38 36
|
||||||
webtrees 20 0 12 8
|
webtrees 29 0 15 14
|
||||||
webtop_kde 120 3 82 35
|
webtop_kde 122 0 82 40
|
||||||
unpackerr 21 - 15 6
|
unpackerr 32 - 23 9
|
||||||
ubooquity 57 4 31 22
|
ubooquity 67 4 37 26
|
||||||
transmission_openvpn 126 7 76 43
|
transmission_openvpn 145 7 85 53
|
||||||
transmission_ls 294 13 168 113
|
transmission_ls 252 9 140 103
|
||||||
teamspeak 46 5 29 12
|
teamspeak 51 2 39 10
|
||||||
tdarr 40 4 28 8
|
tdarr 44 4 32 8
|
||||||
tandoor_recipes 94 3 57 34
|
tandoor_recipes 113 3 72 38
|
||||||
spotweb 55 4 29 22
|
spotweb 25 0 13 12
|
||||||
sonarr_nas 121 6 73 42
|
sonarr_nas 142 6 88 48
|
||||||
seafile 50 6 22 22
|
seafile 61 6 31 24
|
||||||
scrutiny-fa 71 - 42 29
|
scrutiny-fa 88 - 54 34
|
||||||
scrutiny 67 - 44 23
|
scrutiny 80 - 50 30
|
||||||
resiliosync 19 1 10 8
|
resiliosync 37 1 21 15
|
||||||
requestrr 25 4 15 6
|
requestrr 24 4 12 8
|
||||||
readarr_nas 43 2 27 14
|
readarr_nas 52 2 33 17
|
||||||
radarr_nas 128 9 69 50
|
radarr_nas 200 4 128 68
|
||||||
qbittorrent 337 9 186 142
|
qbittorrent 321 8 175 138
|
||||||
prowlarr 120 4 78 38
|
prowlarr 128 4 81 43
|
||||||
portainer 1630 101 859 670
|
|
||||||
plex-media-manager 42 0 32 10
|
|
||||||
plex_nas 237 8 148 81
|
|
||||||
piwigo 22 2 9 11
|
|
||||||
photoprism 121 - 79 42
|
|
||||||
papermerge 53 4 25 24
|
|
||||||
paperless_ng 123 2 73 48
|
|
||||||
overseerr 99 2 70 27
|
|
||||||
organizr 85 6 51 28
|
|
||||||
ombi 39 5 19 15
|
|
||||||
omada_v3 34 - 20 14
|
|
||||||
omada 93 - 56 37
|
|
||||||
nzbget 76 1 48 27
|
|
||||||
nextcloud_ocr 405 17 235 153
|
|
||||||
mylar3 24 4 14 6
|
|
||||||
mealie_frontend 103 - 68 35
|
|
||||||
mealie_api 107 - 70 37
|
|
||||||
mealie 142 - 89 53
|
|
||||||
lidarr_nas 52 1 35 16
|
|
||||||
joplin 69 3 42 24
|
|
||||||
joal 31 5 13 13
|
|
||||||
jellyfin 225 13 115 97
|
|
||||||
jackett_nas 94 4 61 29
|
|
||||||
inadyn 40 4 19 17
|
|
||||||
guacamole 176 - 131 45
|
|
||||||
grav 55 6 30 19
|
|
||||||
gitea 38 - 18 20
|
|
||||||
gazpar2mqtt 47 5 20 22
|
|
||||||
flexget 20 1 9 10
|
|
||||||
flaresolverr 44 6 22 16
|
|
||||||
fireflyiii_fints_importer 8 - 4 4
|
|
||||||
fireflyiii_data_importer 62 5 28 29
|
|
||||||
fireflyiii 163 7 95 61
|
|
||||||
filebrowser 1070 53 565 452
|
|
||||||
epicgamesfree 377 - 229 148
|
|
||||||
enedisgateway2mqtt_dev 41 3 16 22
|
|
||||||
enedisgateway2mqtt 403 30 163 210
|
|
||||||
emby 145 9 83 53
|
|
||||||
elasticsearch 45 - 28 17
|
|
||||||
code_server 134 18 74 42
|
|
||||||
cloudcommander 87 5 47 35
|
|
||||||
calibre_web 73 3 30 40
|
|
||||||
calibre 125 4 59 62
|
|
||||||
browserless_chrome 139 - 92 47
|
|
||||||
calibre_web 73 3 30 40
|
|
||||||
vaultwarden 50 5 27 18
|
|
||||||
bazarr 49 4 24 21
|
|
||||||
baikal 67 4 43 20
|
|
||||||
arpspoof 98 11 48 39
|
|
||||||
addons_updater 102 7 52 43
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
"DB_PORT": "int?",
|
"DB_PORT": "int?",
|
||||||
"DB_PASSWORD": "str?",
|
"DB_PASSWORD": "str?",
|
||||||
"DB_DATABASE_NAME": "str?",
|
"DB_DATABASE_NAME": "str?",
|
||||||
"UPLOAD_LOCATION": "str?",
|
"DISABLE_MACHINE_LEARNING": "bool?",
|
||||||
"JWT_SECRET": "str"
|
"JWT_SECRET": "str"
|
||||||
},
|
},
|
||||||
"slug": "immich",
|
"slug": "immich",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ echo "... setting permissions"
|
|||||||
chown -R "$PUID":"$PGID" "$DATA_LOCATION"
|
chown -R "$PUID":"$PGID" "$DATA_LOCATION"
|
||||||
|
|
||||||
echo "... correcting official script"
|
echo "... correcting official script"
|
||||||
|
# shellcheck disable=SC2013
|
||||||
for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done
|
for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done
|
||||||
rm -r /photos
|
rm -r /photos
|
||||||
ln -sf "$DATA_LOCATION" /photos
|
ln -sf "$DATA_LOCATION" /photos
|
||||||
|
|||||||
Reference in New Issue
Block a user