From 15fc6b251cf330ccb7559aff5b2a3f2a14360e60 Mon Sep 17 00:00:00 2001 From: 3alpha <15694175+3alpha@users.noreply.github.com> Date: Mon, 9 Nov 2026 12:21:53 +0100 Subject: [PATCH] fix: migrate legacy upstream metadata (SPEC-M03) --- build/splitpro/Dockerfile | 3 ++- dappnode_package.json | 8 +++++++- docker-compose.yml | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build/splitpro/Dockerfile b/build/splitpro/Dockerfile index 8cca710..91c3397 100644 --- a/build/splitpro/Dockerfile +++ b/build/splitpro/Dockerfile @@ -4,7 +4,8 @@ RUN apk update && apk add --no-cache git WORKDIR /app -RUN git clone --depth 1 --branch v2.1.3 https://github.com/oss-apps/split-pro.git . +ARG UPSTREAM_VERSION=v2.1.3 +RUN git clone --depth 1 --branch "${UPSTREAM_VERSION}" https://github.com/oss-apps/split-pro.git . ENV SKIP_ENV_VALIDATION=true ENV DOCKER_OUTPUT=1 diff --git a/dappnode_package.json b/dappnode_package.json index e634a54..34b373d 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -1,7 +1,13 @@ { "name": "split-pro.public.dappnode.eth", "version": "0.1.0", - "upstreamRepo": "oss-apps/split-pro", + "upstream": [ + { + "repo": "oss-apps/split-pro", + "version": "v2.1.3", + "arg": "UPSTREAM_VERSION" + } + ], "shortDescription": "SplitPro — free shared expenses for groups", "description": "SplitPro is a free, open-source app for sharing expenses with friends and family. Create groups, add expenses, and settle up. This DAppNode package runs SplitPro with PostgreSQL, pg_cron for recurring transactions, and email magic-link authentication via NextAuth.\n\nPackage entrypoint:\n- Web app: http://split-pro.public.dappnode:3000\n\nSetup wizard:\n- Configure SMTP settings for email signup and invites. Email is the primary auth provider. OAuth/OIDC providers can be added later via environment variables.\n\nImportant notes:\n- On first launch, the package generates POSTGRES_PASSWORD and NEXTAUTH_SECRET and persists them in the config volume.\n- The splitpro server uses NextAuth email OTP (magic link) authentication. SMTP must be configured for sign-in to work.\n- Recurring transactions require pg_cron which is enabled by default.", "type": "service", diff --git a/docker-compose.yml b/docker-compose.yml index 6c53ece..94ae640 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,6 +41,8 @@ services: build: context: . dockerfile: build/splitpro/Dockerfile + args: + UPSTREAM_VERSION: v2.1.3 image: splitpro.split-pro.public.dappnode.eth:0.1.0 restart: always environment: