Compare commits

...

6 Commits

Author SHA1 Message Date
github-actions
8914222b13 GitHub bot: changelog 2026-03-04 15:11:21 +00:00
Alexandre
6dc3c104d0 Update config.yaml 2026-03-04 15:54:25 +01:00
Alexandre
26473c10b8 Merge pull request #2552 from Suncuss/birdnet-pipy/supervisor-role-and-traceability
birdnet-pipy: add Supervisor API access and source commit traceability
2026-03-04 15:52:06 +01:00
Alexandre
23a3ea2a1d Merge pull request #2553 from yannpub/master
[Portainer] Updating logo
2026-03-04 11:36:38 +01:00
Yann
ab4ec1dfac Updating logo 2026-03-04 11:05:08 +01:00
Yudong Sun
b48de0f4e7 birdnet-pipy: add Supervisor API access and source commit traceability
- Add hassio_api and hassio_role: manager to config.yaml so the addon
  can call /addons/self/restart via the Supervisor API
- Resolve branch to commit SHA before downloading source for build
  traceability (displayed in the app's Settings page)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:22:18 -05:00
5 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
## 0.5.5-2 (04-03-2026)
- Minor bugs fixed
## 0.5.5 (2026-03-02)
- Update to latest version from Suncuss/BirdNET-PiPy (changelog : https://github.com/Suncuss/BirdNET-PiPy/releases)

View File

@@ -18,11 +18,17 @@ ARG BUILD_FROM
ARG BUILD_VERSION
FROM node:20-alpine AS frontend-builder
ARG BUILD_VERSION
ARG BIRDNET_PIPY_REPOSITORY=Suncuss/BirdNET-PiPy
ARG BIRDNET_PIPY_VERSION=main
RUN apk add --no-cache curl tar
RUN mkdir -p /src \
&& curl -fsSL "https://codeload.github.com/Suncuss/BirdNET-PiPy/tar.gz/refs/heads/${BIRDNET_PIPY_VERSION}" \
# Resolve branch to commit SHA for traceability, then download source
RUN COMMIT=$(curl -fsSL -H "Accept: application/vnd.github.sha" \
"https://api.github.com/repos/${BIRDNET_PIPY_REPOSITORY}/commits/${BIRDNET_PIPY_VERSION}") \
&& echo "${COMMIT}" > /tmp/birdnet_pipy_source_commit.txt \
&& mkdir -p /src \
&& curl -fsSL "https://codeload.github.com/${BIRDNET_PIPY_REPOSITORY}/tar.gz/${COMMIT}" \
| tar -xz -C /src --strip-components=1
WORKDIR /src/frontend
@@ -80,6 +86,7 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
RUN mkdir -p /app
COPY --from=frontend-builder /src/backend/ /app/
COPY --from=frontend-builder /tmp/birdnet_pipy_source_commit.txt /app/birdnet_pipy_source_commit.txt
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv "${VIRTUAL_ENV}"
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"

View File

@@ -59,6 +59,8 @@ devices:
environment:
PGID: "0"
PUID: "0"
hassio_api: true
hassio_role: manager
image: ghcr.io/alexbelgium/birdnet-pipy-{arch}
ingress: true
ingress_stream: true
@@ -95,5 +97,5 @@ schema:
ssl: bool?
slug: birdnet-pipy
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pipy
version: "0.5.5"
version: "0.5.5-2"
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB