mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 01:18:19 +01:00
Merge branch 'master' into codex/align-addons-changelog-dates-to-iso8601
This commit is contained in:
@@ -300,6 +300,13 @@ done
|
||||
|
||||
update_scripts_with_block
|
||||
|
||||
# --- MINIMAL CHANGE: also inject into /etc/bash.bashrc (for interactive bash shells)
|
||||
mkdir -p /etc "$HOME"
|
||||
touch "/etc/bash.bashrc"
|
||||
touch "$HOME/bash.bashrc"
|
||||
inject_block_into_file "/etc/bash.bashrc"
|
||||
inject_block_into_file "$HOME/bash.bashrc"
|
||||
|
||||
################
|
||||
# Set timezone #
|
||||
################
|
||||
|
||||
@@ -135,6 +135,16 @@ sed -i 's/: /=/' /tempenv
|
||||
SECRETSFILE="/config/secrets.yaml"
|
||||
if [ ! -f "$SECRETSFILE" ]; then SECRETSFILE="/homeassistant/secrets.yaml"; fi
|
||||
|
||||
# --- minimal helper: append line only if missing
|
||||
append_unique_line() {
|
||||
# $1=file, $2=line
|
||||
local _file="$1"
|
||||
local _line="$2"
|
||||
mkdir -p "$(dirname "$_file")" 2>/dev/null || true
|
||||
touch "$_file" 2>/dev/null || true
|
||||
grep -qxF -- "$_line" "$_file" 2>/dev/null || echo "$_line" >> "$_file"
|
||||
}
|
||||
|
||||
while IFS= read -r line; do
|
||||
# Skip empty lines
|
||||
if [[ -z "$line" ]]; then
|
||||
@@ -164,12 +174,9 @@ while IFS= read -r line; do
|
||||
# extract keys and values
|
||||
KEYS="${line%%=*}"
|
||||
VALUE="${line#*=}"
|
||||
# Check if VALUE is quoted
|
||||
#if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then
|
||||
# VALUE="\"$VALUE\""
|
||||
#fi
|
||||
line="${KEYS}=${VALUE}"
|
||||
export "$line"
|
||||
|
||||
# export to python
|
||||
if command -v "python3" &> /dev/null; then
|
||||
[ ! -f /env.py ] && echo "import os" > /env.py
|
||||
@@ -178,20 +185,29 @@ while IFS= read -r line; do
|
||||
echo "os.environ['${KEYS}'] = '${VALUE_ESCAPED}'" >> /env.py
|
||||
python3 /env.py
|
||||
fi
|
||||
|
||||
# set .env
|
||||
echo "$line" >> "$ENV_FILE"
|
||||
|
||||
# set environment
|
||||
mkdir -p /etc
|
||||
echo "$line" >> /etc/environment
|
||||
|
||||
# Export to entrypoint
|
||||
if [ -f /entrypoint.sh ]; then sed -i "1a export $line" /entrypoint.sh 2> /dev/null; fi
|
||||
if [ -f /*/entrypoint.sh ]; then sed -i "1a export $line" /*/entrypoint.sh 2> /dev/null; fi
|
||||
|
||||
# Export to scripts
|
||||
if cat /etc/services.d/*/*run* &> /dev/null; then sed -i "1a export $line" /etc/services.d/*/*run* 2> /dev/null; fi
|
||||
if cat /etc/cont-init.d/*run* &> /dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2> /dev/null; fi
|
||||
|
||||
# For s6
|
||||
if [ -d /var/run/s6/container_environment ]; then printf "%s" "${VALUE}" > /var/run/s6/container_environment/"${KEYS}"; fi
|
||||
echo "export $line" >> ~/.bashrc
|
||||
|
||||
# Persist for interactive shells
|
||||
append_unique_line "$HOME/.bashrc" "export $line"
|
||||
append_unique_line "/etc/bash.bashrc" "export $line"
|
||||
|
||||
# Show in log
|
||||
if ! bashio::config.false "verbose"; then bashio::log.blue "$line"; fi
|
||||
else
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
## description: Automatic addons update by aligning version tag with upstream releases 3.19.16 (10-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 3.19.16 (2026-01-10)
|
||||
- Add config option to choose ISO8601 (YYYY-MM-DD) or DD-MM-YYYY dates for last_update/changelog entries
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
## nightly-20251223-2 (2025-12-27)
|
||||
|
||||
## nightly-20260110 (2026-01-10)
|
||||
- Update to latest version from tphakala/birdnet-go (changelog : https://github.com/tphakala/birdnet-go/releases)
|
||||
## nightly-20251223-2 (27-12-2025)
|
||||
- Minor bugs fixed
|
||||
## nightly-20251224 (2025-12-24)
|
||||
- Minor bugs fixed
|
||||
|
||||
@@ -118,4 +118,4 @@ slug: birdnet-go
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go
|
||||
usb: true
|
||||
version: nightly-20251223-2
|
||||
version: "nightly-20260110"
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
"github_beta": true,
|
||||
"github_fulltag": true,
|
||||
"github_tagfilter": "nightly",
|
||||
"last_update": "23-12-2025",
|
||||
"last_update": "2026-01-10",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "birdnet-go",
|
||||
"source": "github",
|
||||
"upstream_repo": "tphakala/birdnet-go",
|
||||
"upstream_version": "nightly-20251223"
|
||||
"upstream_version": "nightly-20260110"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
## 2.53.1 (2026-01-08)
|
||||
## 2.54.0 (2026-01-10)
|
||||
- Update to latest version from filebrowser/filebrowser (changelog : https://github.com/filebrowser/filebrowser/releases)
|
||||
|
||||
## 2.53.1 (08-01-2026)
|
||||
- Update to latest version from filebrowser/filebrowser (changelog : https://github.com/filebrowser/filebrowser/releases)
|
||||
|
||||
## 2.53.0 (2026-01-03)
|
||||
|
||||
@@ -123,4 +123,4 @@ schema:
|
||||
slug: filebrowser
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "2.53.1"
|
||||
version: "2.54.0"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"github_beta": "true",
|
||||
"last_update": "08-01-2026",
|
||||
"last_update": "2026-01-10",
|
||||
"paused": false,
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "filebrowser",
|
||||
"source": "github",
|
||||
"upstream_repo": "filebrowser/filebrowser",
|
||||
"upstream_version": "2.53.1"
|
||||
"upstream_version": "2.54.0"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
## 2.0.2 (2026-01-10)
|
||||
## 2.0.3 (2026-01-10)
|
||||
- Update to latest version from firefly-iii/data-importer (changelog : https://github.com/firefly-iii/data-importer/releases)
|
||||
|
||||
## 2.0.2 (10-01-2026)
|
||||
- Update to latest version from firefly-iii/data-importer (changelog : https://github.com/firefly-iii/data-importer/releases)
|
||||
|
||||
## 2.0.0 (2026-01-08)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
ARG BUILD_FROM
|
||||
ARG BUILD_VERSION
|
||||
ARG BUILD_UPSTREAM="2.0.2"
|
||||
ARG BUILD_UPSTREAM="2.0.3"
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
##################
|
||||
|
||||
@@ -101,5 +101,5 @@ schema:
|
||||
slug: fireflyiii_data_importer
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "2.0.2"
|
||||
version: "2.0.3"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:8080]"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"github_exclude": "develop",
|
||||
"last_update": "10-01-2026",
|
||||
"last_update": "2026-01-10",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "fireflyiii_data_importer",
|
||||
"source": "github",
|
||||
"upstream_repo": "firefly-iii/data-importer",
|
||||
"upstream_version": "2.0.2"
|
||||
"upstream_version": "2.0.3"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
## 0.24.790 (2026-01-10)
|
||||
## 0.24.807 (2026-01-10)
|
||||
- Update to latest version from linuxserver/docker-jackett (changelog : https://github.com/linuxserver/docker-jackett/releases)
|
||||
|
||||
## 0.24.790 (10-01-2026)
|
||||
- Update to latest version from linuxserver/docker-jackett (changelog : https://github.com/linuxserver/docker-jackett/releases)
|
||||
|
||||
## 0.24.766 (2026-01-08)
|
||||
|
||||
@@ -106,5 +106,5 @@ schema:
|
||||
slug: jackett_nas
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/jackett
|
||||
version: "0.24.790"
|
||||
version: "0.24.807"
|
||||
webui: http://[HOST]:[PORT:9117]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"last_update": "10-01-2026",
|
||||
"last_update": "2026-01-10",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "jackett",
|
||||
"source": "github",
|
||||
"upstream_repo": "linuxserver/docker-jackett",
|
||||
"upstream_version": "0.24.790"
|
||||
"upstream_version": "0.24.807"
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ devices:
|
||||
- /dev/nvme1
|
||||
- /dev/nvme2
|
||||
environment:
|
||||
- ATTACHED_DEVICES_PERMS: "/dev/dri /dev/dvb /dev/vchiq /dev/vc-mem /dev/video1? -type c -o -type f"
|
||||
ATTACHED_DEVICES_PERMS: '/dev/dri /dev/dvb /dev/vchiq /dev/vc-mem /dev/video1? -type c -o -type f'
|
||||
host_dbus: true
|
||||
host_network: true
|
||||
image: ghcr.io/alexbelgium/jellyfin-{arch}
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
## 25.11.29-3 (2026-01-07)
|
||||
|
||||
## 25.11.29-7 (10-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 25.11.29-6 (10-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 25.11.29-5 (10-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 25.11.29-4 (10-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 25.11.29-3 (07-01-2026)
|
||||
- Minor bugs fixed
|
||||
## 25.11.29-2 (2026-01-06)
|
||||
- Minor bugs fixed
|
||||
|
||||
@@ -50,4 +50,4 @@ slug: netalertx
|
||||
tmpfs: true
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 25.11.29-3
|
||||
version: 25.11.29-7
|
||||
|
||||
@@ -101,10 +101,10 @@ execute_main_logic() {
|
||||
wait_for_config_file() {
|
||||
echo "Waiting for $config_file to become available..."
|
||||
while [ ! -f "$config_file" ]; do
|
||||
sleep 5 # Wait for 5 seconds before checking again
|
||||
sleep 1
|
||||
done
|
||||
echo "$config_file is now available. Starting the script."
|
||||
execute_main_logic
|
||||
echo "$config_file is now available. Rebooting the addon."
|
||||
bashio::addon.restart
|
||||
}
|
||||
|
||||
# Main script logic
|
||||
|
||||
@@ -51,4 +51,4 @@ slug: netalertx_fa
|
||||
tmpfs: true
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 25.10.1-3
|
||||
version: 25.10.1-7
|
||||
|
||||
@@ -86,5 +86,5 @@ schema:
|
||||
slug: organizr
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "1.601"
|
||||
version: "1.90-bugfix2"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"last_update": "27-12-2025",
|
||||
"paused": true,
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "organizr",
|
||||
"source": "github",
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
## 4.107.0 (2025-12-20)
|
||||
## 4.107.1 (2026-01-10)
|
||||
- Update to latest version from linuxserver/docker-code-server (changelog : https://github.com/linuxserver/docker-code-server/releases)
|
||||
|
||||
## 4.107.0 (20-12-2025)
|
||||
- Update to latest version from linuxserver/docker-code-server (changelog : https://github.com/linuxserver/docker-code-server/releases)
|
||||
|
||||
## 4.106.3 (2025-12-06)
|
||||
|
||||
@@ -101,5 +101,5 @@ schema:
|
||||
slug: code-server
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/coder-server
|
||||
version: "4.107.0"
|
||||
version: "4.107.1"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:8443]"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"last_update": "20-12-2025",
|
||||
"last_update": "2026-01-10",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "code-server",
|
||||
"source": "github",
|
||||
"upstream_repo": "linuxserver/docker-code-server",
|
||||
"upstream_version": "4.107.0"
|
||||
"upstream_version": "4.107.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user