From b2ffa391484551c53f0d38d260ca3d31387ce265 Mon Sep 17 00:00:00 2001 From: Gabriel20xx Date: Thu, 6 Aug 2026 08:59:28 +0200 Subject: [PATCH] fix: use public SharedCode clone URL --- .github/workflows/docker.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/tests.yml | 4 ++-- .gitmodules | 2 +- docker/Dockerfile | 2 +- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 02d35ef..9fb8c25 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d534bd0..5073f0a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,7 +38,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2576553..cd9debe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then @@ -77,7 +77,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.gitmodules b/.gitmodules index bcbb9c5..3738b16 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "SharedCode"] path = SharedCode - url = https://repos.gfranz.ch/Gabriel20xx/SharedCode.git + url = https://repos.gfranz.ch/Gabriel20xx/SharedCode branch = main diff --git a/docker/Dockerfile b/docker/Dockerfile index 00c2537..c59deeb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ RUN apk add --no-cache git WORKDIR /frontend COPY frontend/package*.json ./ RUN --mount=type=bind,source=SharedCode.git,target=/tmp/SharedCode.git,readonly \ - git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode.git" && \ + git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode" && \ for attempt in 1 2 3 4 5; do \ npm ci && break; \ if [ "$attempt" -eq 5 ]; then exit 1; fi; \ diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 4131dc8..faa272e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,7 +8,7 @@ "name": "collabtable-server-frontend", "version": "1.0.0", "dependencies": { - "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "@lucide/svelte": "latest", "@tanstack/svelte-query": "latest", "bits-ui": "latest", @@ -220,7 +220,7 @@ }, "node_modules/@gabriel20xx/shared-code": { "version": "0.1.0", - "resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "license": "MIT", "workspaces": [ "packages/*" diff --git a/frontend/package.json b/frontend/package.json index b6b3766..14abd90 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "vite": "latest" }, "dependencies": { - "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "@lucide/svelte": "latest", "@tanstack/svelte-query": "latest", "bits-ui": "latest",