Skip to content

Commit 15fc6b2

Browse files
committed
fix: migrate legacy upstream metadata (SPEC-M03)
1 parent 66fc2f4 commit 15fc6b2

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎build/splitpro/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ RUN apk update && apk add --no-cache git
44

55
WORKDIR /app
66

7-
RUN git clone --depth 1 --branch v2.1.3 https://github.com/oss-apps/split-pro.git .
7+
ARG UPSTREAM_VERSION=v2.1.3
8+
RUN git clone --depth 1 --branch "${UPSTREAM_VERSION}" https://github.com/oss-apps/split-pro.git .
89

910
ENV SKIP_ENV_VALIDATION=true
1011
ENV DOCKER_OUTPUT=1

‎dappnode_package.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"name": "split-pro.public.dappnode.eth",
33
"version": "0.1.0",
4-
"upstreamRepo": "oss-apps/split-pro",
4+
"upstream": [
5+
{
6+
"repo": "oss-apps/split-pro",
7+
"version": "v2.1.3",
8+
"arg": "UPSTREAM_VERSION"
9+
}
10+
],
511
"shortDescription": "SplitPro — free shared expenses for groups",
612
"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.",
713
"type": "service",

‎docker-compose.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ services:
4141
build:
4242
context: .
4343
dockerfile: build/splitpro/Dockerfile
44+
args:
45+
UPSTREAM_VERSION: v2.1.3
4446
image: splitpro.split-pro.public.dappnode.eth:0.1.0
4547
restart: always
4648
environment:

0 commit comments

Comments
 (0)