From e5f48e5e6a17b8de94a3d7c070dc64b04f97af8e Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 25 Jan 2026 09:01:30 +0100 Subject: [PATCH 1/2] Fix socket.io-client-cpp submodule Closed #10 --- .gitmodules | 5 ++--- src/engine/external/socket.io-client-cpp | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) create mode 160000 src/engine/external/socket.io-client-cpp diff --git a/.gitmodules b/.gitmodules index ea33c3a5f4..6a716a33f9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,6 @@ -[submodule "socket.io-client-cpp"] +[submodule "src/engine/external/socket.io-client-cpp"] path = src/engine/external/socket.io-client-cpp - url = https://github.com/socketio/socket.io-client-cpp.git - shallow = true + url = https://github.com/socketio/socket.io-client-cpp [submodule "ddnet-libs"] path = ddnet-libs url = https://github.com/PulseClient-ddnet/pulse-libs diff --git a/src/engine/external/socket.io-client-cpp b/src/engine/external/socket.io-client-cpp new file mode 160000 index 0000000000..3b7be7e417 --- /dev/null +++ b/src/engine/external/socket.io-client-cpp @@ -0,0 +1 @@ +Subproject commit 3b7be7e4173b5bdeed393966e3274f65d513a280 From eadebb5a3b0b5ad9b2b16e5a1247047755cabf4b Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 25 Jan 2026 09:06:04 +0100 Subject: [PATCH 2/2] Recurse submodules for socket-io dependencies --- .github/workflows/build.yml | 4 ++-- .github/workflows/clang-sanitizer.yml | 2 +- .github/workflows/clang-tidy.yml | 2 +- .github/workflows/style.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0f2e47abe..fc0d292323 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - submodules: true + submodules: recursive - name: Prepare Linux if: contains(matrix.os, 'ubuntu') @@ -246,7 +246,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - submodules: true + submodules: recursive - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4 diff --git a/.github/workflows/clang-sanitizer.yml b/.github/workflows/clang-sanitizer.yml index bc239f5149..315a7e12f5 100644 --- a/.github/workflows/clang-sanitizer.yml +++ b/.github/workflows/clang-sanitizer.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - submodules: true + submodules: recursive - name: Prepare Linux run: | diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index fd850908a2..4613c822f2 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - submodules: true + submodules: recursive - name: Prepare Linux run: | diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 5eecbd8ea8..c84222690d 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - submodules: true + submodules: recursive - name: Prepare Linux run: |