Clarify Codeberg arguments and bump version

This commit is contained in:
Alexandre
2025-12-08 05:25:23 +01:00
parent 28db58a0d3
commit a9475b9a2e
4 changed files with 20 additions and 3 deletions

View File

@@ -1,5 +1,14 @@
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
## 3.19.14
- Document why Codeberg uses Gitea arguments and clarify handling
## 3.19.13
- Fix codeberg source handling and increment version
## 3.19.12 (18-11-2025)
- Added support for configuring extra environment variables through the `env_vars` option.

View File

@@ -66,7 +66,7 @@ You can add the following tags in the file :
- repository: 'name/repo' coming from github
- paused: true # Pauses the updates
- slug: the slug name from your addon
- source: dockerhub/github,gitlab,bitbucket,pip,hg,sf,website-feed,local,helm_chart,wiki,system,wp
- source: dockerhub/github,gitlab,bitbucket,pip,hg,sf,website-feed,local,helm_chart,wiki,system,wp,codeberg (Codeberg is Gitea-based and requires the Codeberg API base)
- upstream_repo: name/repo, example is 'linuxserver/docker-emby'
- upstream_version: automatically populated, corresponds to the current upstream version referenced in the addon
- dockerhub_by_date: in dockerhub, uses the last_update date instead of the version

View File

@@ -28,4 +28,4 @@ schema:
slug: updater
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/addons_updater
version: "3.19.12"
version: "3.19.14"

View File

@@ -170,7 +170,15 @@ for f in */; do
# Use source as upstream
ARGUMENTS="--at $SOURCE"
LOGINFO="... $SLUG : source is $SOURCE" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi
if [ "${SOURCE}" = "codeberg" ]; then
# Codeberg is a hosted Gitea instance; lastversion needs the API base to resolve releases
CODEBERG_API_BASE="https://codeberg.org/api/v1"
ARGUMENTS="--at gitea --api-base ${CODEBERG_API_BASE}"
LOGINFO="... $SLUG : source is codeberg (gitea, using ${CODEBERG_API_BASE})" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi
else
LOGINFO="... $SLUG : source is $SOURCE" && if [ "$VERBOSE" = true ]; then bashio::log.info "$LOGINFO"; fi
fi
#Prepare tag flag
if [ "${FULLTAG}" = true ]; then