Compare commits

..

1 Commits

Author SHA1 Message Date
BirdNET-Go Addon Builder
16f8fe9fcf birdnet-go: rebuild with current templates
The builder reuses the previous image's layers, and ha_automodules.sh
downloads the .templates/ cont-init scripts at build time, so the module
layer survived rebuilds: the 2026-08-28 image (version 20260827) still
carried the scripts downloaded on 2026-08-26. #3076's "localdisks:
NAS/folder" therefore never reached this add-on, and the old script
reported "Birdnet-Go does not match any known physical device".

Add a BUILD_DATE marker to that RUN, as birdnet-go-dev and claude_desktop
(#3097) do, and bump the version so the builder runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-07 22:15:00 +02:00
6 changed files with 13 additions and 12 deletions

View File

@@ -1,5 +1,3 @@
## 20260929.2 (07-10-2026)
- Skip the failing revision of PR #79, whose species-workspace code references undefined `isSpectrogramFileFor`; later revisions will be included automatically.
## 20260929.1 (30-09-2026)
- New `INGRESS_SKIP_AUTH` option (default `false`): when `true`, BirdNET-Go no longer asks for its own login when opened through the Home Assistant sidebar (ingress), since Home Assistant has already signed you in. Direct access on port 8080 still requires the login.
- Security: the ingress web server now only accepts connections from the Home Assistant Supervisor, as Home Assistant requires.

View File

@@ -129,5 +129,5 @@ slug: birdnet-go-dev
udev: true
url: https://github.com/alexbelgium/hassio-addons
usb: true
version: "20260929.2"
version: "20260929.1"
video: true

View File

@@ -148,12 +148,6 @@ for entry in "${prs[@]}"; do
number="$(printf '%s' "${entry}" | cut -f1)"
sha="$(printf '%s' "${entry}" | cut -f2)"
title="$(printf '%s' "${entry}" | cut -f3-)"
# This PR revision fails Go compilation (undefined isSpectrogramFileFor);
# allow a corrected head to merge automatically.
if [ "${number}:${sha}" = "79:30e9c29f5530a1d25c79b841fe44d668ccd7fe11" ]; then
log "Skipping non-building PR #${number} revision ${sha}"
continue
fi
log "Merging PR #${number}: ${title} (${sha})"
# Fetch the PR head commit by number; works unauthenticated for public repos.
git fetch --no-tags origin "refs/pull/${number}/head"

View File

@@ -1,6 +1,9 @@
## 20260827.1 (07-10-2026)
- Fix: the image kept the `.templates/` scripts of an earlier build, because a rebuild reused the cached module-download layer (the 2026-08-28 image still carried 2026-08-26 scripts). The layer is now refreshed on every build, so template fixes reach this add-on.
- Local disks: `localdisks` can now mount a single folder of a disk with `disk/folder` (e.g. `sda1/public` or `NAS/public`, mounted at `/mnt/<disk>/<folder>`). Existing values are unchanged.
- Migrate legacy add-on configuration map names to current app configuration terminology.
## 20260827 (2026-08-29)
- Update to latest version from tphakala/birdnet-go (changelog : https://github.com/tphakala/birdnet-go/releases)
- Upstream tag : 20260823

View File

@@ -57,9 +57,15 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
# Modules
ARG MODULES="00-local_mounts.sh 00-smb_mounts.sh"
# BUILD_DATE changes on every CI run, busting this layer's cache. The builder reuses
# the layers of the previous image, and ha_automodules.sh downloads the .templates/
# scripts at build time, so without it a rebuild keeps the scripts of an earlier build
ARG BUILD_DATE=unknown
# Automatic modules download
COPY ha_automodules.sh /ha_automodules.sh
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
RUN echo "Build date marker: ${BUILD_DATE}" && \
chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
# Manual apps
ENV PACKAGES="alsa-utils libasound2-plugins nginx yq"

View File

@@ -128,4 +128,4 @@ slug: birdnet-go
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go
usb: true
version: "20260827"
version: "20260827.1"