From 08eac268bbbb7ff773d2ef49d002be9d688745ad Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 17:36:17 -0400 Subject: [PATCH 1/5] [REFACTOR] [CONFIG] [DOCKER] docker-compose calls replaced by new "docker compose". - Command not found: docker-compose after docker 4.32.0 update: https://stackoverflow.com/a/78788716/6366150 --- Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 54263d1..27e955c 100644 --- a/Makefile +++ b/Makefile @@ -128,34 +128,34 @@ clean: find ${TEST_PROJECT_DIRECTORY} -path "*/obj/*" -print -exec rm -vfr {} ';' || true compose/build: env - docker-compose --profile lint build - docker-compose --profile testing build - docker-compose --profile production build + ${DOCKER_COMPOSE} --profile lint build + ${DOCKER_COMPOSE} --profile testing build + ${DOCKER_COMPOSE} --profile production build compose/rebuild: env - docker-compose --profile lint build --no-cache - docker-compose --profile testing build --no-cache - docker-compose --profile production build --no-cache + ${DOCKER_COMPOSE} --profile lint build --no-cache + ${DOCKER_COMPOSE} --profile testing build --no-cache + ${DOCKER_COMPOSE} --profile production build --no-cache compose/lint/markdown: compose/build - docker-compose --profile lint run --rm algorithm-exercises-csharp-lint make lint/markdown + ${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-csharp-lint make lint/markdown compose/lint/yaml: compose/build - docker-compose --profile lint run --rm algorithm-exercises-csharp-lint make lint/yaml + ${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-csharp-lint make lint/yaml compose/test/styling: compose/build - docker-compose --profile lint run --rm algorithm-exercises-csharp-lint make test/styling + ${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-csharp-lint make test/styling compose/test/static: compose/build - docker-compose --profile lint run --rm algorithm-exercises-csharp-lint make test/static + ${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-csharp-lint make test/static compose/lint: compose/lint/markdown compose/lint/yaml compose/test/styling compose/test/static compose/test: compose/build - docker-compose --profile testing run --rm algorithm-exercises-csharp-test make test + ${DOCKER_COMPOSE} --profile testing run --rm algorithm-exercises-csharp-test make test compose/run: compose/build - docker-compose --profile production run --rm algorithm-exercises-csharp make run + ${DOCKER_COMPOSE} --profile production run --rm algorithm-exercises-csharp make run all: lint coverage From 96f60ea118b75433e831b0c34268e370b05f99e9 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 15:46:55 -0400 Subject: [PATCH 2/5] =?UTF-8?q?[BREAKING]=20=E2=9A=A0=EF=B8=8F=20[REFACTOR?= =?UTF-8?q?]=20[CONFIG]=20project=20(main)=20rename=20due=20namespaces=20i?= =?UTF-8?q?ssues:=20https://stackoverflow.com/a/31741692/6366150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/snyk-code.yml | 4 +- Dockerfile | 40 +++++++++---------- Makefile | 8 ++-- .../algorithm-exercises-csharp-test.csproj | 2 +- ...harp.sln => algorithm_exercises_csharp.sln | 2 +- .../algorithm_exercises_csharp.csproj | 0 .../src/Hello.cs | 0 .../arrays/ArraysLeftRotation.cs | 0 .../dictionaries_and_hashmaps/RansomNote.cs | 0 .../dictionaries_and_hashmaps/TwoStrings.cs | 0 .../greedy_algorithms/LuckBalance.cs | 0 .../linked_list/FindMergeNode.cs | 0 .../linked_list/LinkedListCycle.cs | 0 .../linked_list/lib/Node.cs | 0 .../src/hackerrank/projecteuler/Euler001.cs | 0 .../src/hackerrank/projecteuler/Euler002.cs | 0 .../src/hackerrank/projecteuler/Euler003.cs | 0 .../src/hackerrank/warmup/AVeryBigSum.cs | 0 .../hackerrank/warmup/BirthdayCakeCandles.cs | 0 .../src/hackerrank/warmup/CompareTriplets.cs | 0 .../hackerrank/warmup/DiagonalDifference.cs | 0 .../src/hackerrank/warmup/MiniMaxSum.cs | 0 .../src/hackerrank/warmup/PlusMinus.cs | 0 .../src/hackerrank/warmup/SimpleArraySum.cs | 0 .../src/hackerrank/warmup/SolveMeFirst.cs | 0 .../src/hackerrank/warmup/Staircase.cs | 0 .../src/hackerrank/warmup/TimeConversion.cs | 0 27 files changed, 28 insertions(+), 28 deletions(-) rename algorithm-exercises-csharp.sln => algorithm_exercises_csharp.sln (91%) rename algorithm-exercises-csharp/algorithm-exercises-csharp.csproj => algorithm_exercises_csharp/algorithm_exercises_csharp.csproj (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/Hello.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/projecteuler/Euler001.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/projecteuler/Euler002.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/projecteuler/Euler003.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/AVeryBigSum.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/BirthdayCakeCandles.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/CompareTriplets.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/DiagonalDifference.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/MiniMaxSum.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/PlusMinus.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/SimpleArraySum.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/SolveMeFirst.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/Staircase.cs (100%) rename {algorithm-exercises-csharp => algorithm_exercises_csharp}/src/hackerrank/warmup/TimeConversion.cs (100%) diff --git a/.github/workflows/snyk-code.yml b/.github/workflows/snyk-code.yml index 3586162..a1f6bf2 100644 --- a/.github/workflows/snyk-code.yml +++ b/.github/workflows/snyk-code.yml @@ -27,12 +27,12 @@ jobs: with: dotnet-version: 8.0.x - name: Restore dependencies - run: dotnet restore algorithm-exercises-csharp.sln + run: dotnet restore algorithm_exercises_csharp.sln - name: Run Snyk to check for vulnerabilities continue-on-error: true # To make sure that SARIF upload gets called run: > snyk test - algorithm-exercises-csharp/ + algorithm_exercises_csharp/ algorithm-exercises-csharp-base/ algorithm-exercises-csharp-test/ --sarif-file-output=snyk-code.sarif diff --git a/Dockerfile b/Dockerfile index dae845c..657de1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ ENV WORKDIR=/app WORKDIR ${WORKDIR} COPY ./Makefile ${WORKDIR}/ -COPY ./algorithm-exercises-csharp.sln ${WORKDIR}/algorithm-exercises-csharp.sln -COPY ./algorithm-exercises-csharp/algorithm-exercises-csharp.csproj ${WORKDIR}/algorithm-exercises-csharp/algorithm-exercises-csharp.csproj +COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln +COPY ./algorithm_exercises_csharp/algorithm_exercises_csharp.csproj ${WORKDIR}/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj COPY ./algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj ${WORKDIR}/algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj COPY ./algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj ${WORKDIR}/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj @@ -26,10 +26,9 @@ FROM base AS lint ENV WORKDIR=/app WORKDIR ${WORKDIR} -RUN apk add --update --no-cache make nodejs npm -RUN apk add --update --no-cache yamllint - -RUN npm install -g --ignore-scripts markdownlint-cli +RUN apk add --update --no-cache make nodejs npm \ + && apk add --update --no-cache yamllint \ + && npm install -g --ignore-scripts markdownlint-cli # [!TIP] Use a bind-mount to "/app" to override following "copys" # for lint and test against "current" sources in this stage @@ -45,10 +44,10 @@ COPY ./LICENSE.md ${WORKDIR}/ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/ # Code source -COPY ./algorithm-exercises-csharp ${WORKDIR}/algorithm-exercises-csharp +COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln +COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp COPY ./algorithm-exercises-csharp-base ${WORKDIR}/algorithm-exercises-csharp-base COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test -COPY ./algorithm-exercises-csharp.sln ${WORKDIR}/algorithm-exercises-csharp.sln # code linting conf COPY ./.editorconfig ${WORKDIR}/ @@ -65,20 +64,20 @@ CMD ["make", "lint"] ############################################################################### FROM base AS development -COPY ./algorithm-exercises-csharp ${WORKDIR}/algorithm-exercises-csharp +COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln +COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp COPY ./algorithm-exercises-csharp-base ${WORKDIR}/algorithm-exercises-csharp-base COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test -COPY ./algorithm-exercises-csharp.sln ${WORKDIR}/algorithm-exercises-csharp.sln -RUN make build -RUN ls -alh +RUN make build \ + && ls -alh # CMD [] ############################################################################### FROM development AS builder -RUN dotnet publish --self-contained --runtime linux-musl-x64 -RUN ls -alh +RUN dotnet publish --self-contained --runtime linux-musl-x64 \ + && ls -alh CMD ["ls", "-alh"] @@ -106,19 +105,20 @@ CMD ["make", "test"] ## FROM mcr.microsoft.com/dotnet/runtime:8.0.8-alpine3.19-amd64 AS production +RUN apk add --update --no-cache make + ENV LOG_LEVEL=info ENV BRUTEFORCE=false ENV WORKDIR=/app WORKDIR ${WORKDIR} -RUN adduser -D worker -RUN mkdir -p /app -RUN chown worker:worker /app +RUN adduser -D worker \ + && mkdir -p /app \ + && chown worker:worker /app -RUN apk add --update --no-cache make COPY ./Makefile ${WORKDIR}/ -COPY --from=builder /app/algorithm-exercises-csharp/bin/Release/net8.0/algorithm-exercises-csharp.dll ${WORKDIR}/ -COPY --from=builder /app/algorithm-exercises-csharp/bin/Release/net8.0/algorithm-exercises-csharp.runtimeconfig.json ${WORKDIR}/ +COPY --from=builder /app/algorithm_exercises_csharp/bin/Release/net8.0/algorithm_exercises_csharp.dll ${WORKDIR}/ +COPY --from=builder /app/algorithm_exercises_csharp/bin/Release/net8.0/algorithm_exercises_csharp.runtimeconfig.json ${WORKDIR}/ RUN ls -alh diff --git a/Makefile b/Makefile index 27e955c..4342420 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ RUNTIME_TOOL=dotnet PACKAGE_TOOL=dotnet VERBOSITY_LEVEL=normal -PROJECT_DIRECTORY=algorithm-exercises-csharp +MAIN_PROJECT_DIRECTORY=algorithm_exercises_csharp BASE_PROJECT_DIRECTORY=algorithm-exercises-csharp-base TEST_PROJECT_DIRECTORY=algorithm-exercises-csharp-test @@ -114,9 +114,9 @@ clean: rm -vfr .mono/ || true rm -vfr coverage-report/ || true - find ${PROJECT_DIRECTORY} -path "*/TestResults/*" -type d -print -exec rm -vfr {} ';' || true - find ${PROJECT_DIRECTORY} -path "*/bin/*" -print -exec rm -vfr {} ';' || true - find ${PROJECT_DIRECTORY} -path "*/obj/*" -print -exec rm -vfr {} ';' || true + find ${MAIN_PROJECT_DIRECTORY} -path "*/TestResults/*" -type d -print -exec rm -vfr {} ';' || true + find ${MAIN_PROJECT_DIRECTORY} -path "*/bin/*" -print -exec rm -vfr {} ';' || true + find ${MAIN_PROJECT_DIRECTORY} -path "*/obj/*" -print -exec rm -vfr {} ';' || true find ${BASE_PROJECT_DIRECTORY} -path "*/TestResults/*" -type d -print -exec rm -vfr {} ';' || true find ${BASE_PROJECT_DIRECTORY} -path "*/bin/*" -print -exec rm -vfr {} ';' || true diff --git a/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj b/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj index 2299965..aba3a88 100644 --- a/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj +++ b/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj @@ -45,7 +45,7 @@ - + diff --git a/algorithm-exercises-csharp.sln b/algorithm_exercises_csharp.sln similarity index 91% rename from algorithm-exercises-csharp.sln rename to algorithm_exercises_csharp.sln index 93ef824..1263c5f 100644 --- a/algorithm-exercises-csharp.sln +++ b/algorithm_exercises_csharp.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp-test", "algorithm-exercises-csharp-test\algorithm-exercises-csharp-test.csproj", "{817BA968-9A1F-4DDB-8A96-657DCA862227}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp", "algorithm-exercises-csharp\algorithm-exercises-csharp.csproj", "{B162EE62-90C6-4871-B278-390804615987}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm_exercises_csharp", "algorithm_exercises_csharp\algorithm_exercises_csharp.csproj", "{B162EE62-90C6-4871-B278-390804615987}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp-base", "algorithm-exercises-csharp-base\algorithm-exercises-csharp-base.csproj", "{1BC65C42-83A6-486D-84DB-0DC63002FA24}" EndProject diff --git a/algorithm-exercises-csharp/algorithm-exercises-csharp.csproj b/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj similarity index 100% rename from algorithm-exercises-csharp/algorithm-exercises-csharp.csproj rename to algorithm_exercises_csharp/algorithm_exercises_csharp.csproj diff --git a/algorithm-exercises-csharp/src/Hello.cs b/algorithm_exercises_csharp/src/Hello.cs similarity index 100% rename from algorithm-exercises-csharp/src/Hello.cs rename to algorithm_exercises_csharp/src/Hello.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs b/algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs rename to algorithm_exercises_csharp/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler001.cs b/algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler001.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler001.cs rename to algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler001.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler002.cs b/algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler002.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler002.cs rename to algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler002.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler003.cs b/algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler003.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/projecteuler/Euler003.cs rename to algorithm_exercises_csharp/src/hackerrank/projecteuler/Euler003.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/AVeryBigSum.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/AVeryBigSum.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/AVeryBigSum.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/AVeryBigSum.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/BirthdayCakeCandles.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/BirthdayCakeCandles.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/BirthdayCakeCandles.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/BirthdayCakeCandles.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/CompareTriplets.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/CompareTriplets.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/CompareTriplets.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/CompareTriplets.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/DiagonalDifference.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/DiagonalDifference.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/DiagonalDifference.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/DiagonalDifference.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/MiniMaxSum.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/MiniMaxSum.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/MiniMaxSum.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/MiniMaxSum.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/PlusMinus.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/PlusMinus.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/PlusMinus.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/PlusMinus.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/SimpleArraySum.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/SimpleArraySum.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/SimpleArraySum.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/SimpleArraySum.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/SolveMeFirst.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/SolveMeFirst.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/SolveMeFirst.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/SolveMeFirst.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/Staircase.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/Staircase.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/Staircase.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/Staircase.cs diff --git a/algorithm-exercises-csharp/src/hackerrank/warmup/TimeConversion.cs b/algorithm_exercises_csharp/src/hackerrank/warmup/TimeConversion.cs similarity index 100% rename from algorithm-exercises-csharp/src/hackerrank/warmup/TimeConversion.cs rename to algorithm_exercises_csharp/src/hackerrank/warmup/TimeConversion.cs From 14f6401e963526a3c22ddd7ebffd6bab71d0d9a2 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 15:27:27 -0400 Subject: [PATCH 3/5] =?UTF-8?q?[BREAKING]=20=E2=9A=A0=EF=B8=8F=20[REFACTOR?= =?UTF-8?q?]=20[CONFIG]=20project=20(base)=20rename=20due=20namespaces=20i?= =?UTF-8?q?ssues:=20https://stackoverflow.com/a/31741692/6366150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/snyk-code.yml | 2 +- Dockerfile | 6 +++--- Makefile | 2 +- algorithm_exercises_csharp.sln | 2 +- .../algorithm_exercises_csharp.csproj | 2 +- .../algorithm_exercises_csharp_base.csproj | 0 .../src/Logger.cs | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj => algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj (100%) rename {algorithm-exercises-csharp-base => algorithm_exercises_csharp_base}/src/Logger.cs (100%) diff --git a/.github/workflows/snyk-code.yml b/.github/workflows/snyk-code.yml index a1f6bf2..0fe1dff 100644 --- a/.github/workflows/snyk-code.yml +++ b/.github/workflows/snyk-code.yml @@ -33,7 +33,7 @@ jobs: run: > snyk test algorithm_exercises_csharp/ - algorithm-exercises-csharp-base/ + algorithm_exercises_csharp_base/ algorithm-exercises-csharp-test/ --sarif-file-output=snyk-code.sarif env: diff --git a/Dockerfile b/Dockerfile index 657de1d..033359b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ WORKDIR ${WORKDIR} COPY ./Makefile ${WORKDIR}/ COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp/algorithm_exercises_csharp.csproj ${WORKDIR}/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj -COPY ./algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj ${WORKDIR}/algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj +COPY ./algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj ${WORKDIR}/algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj COPY ./algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj ${WORKDIR}/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj RUN make dependencies @@ -46,7 +46,7 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/ # Code source COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp -COPY ./algorithm-exercises-csharp-base ${WORKDIR}/algorithm-exercises-csharp-base +COPY ./algorithm_exercises_csharp_base ${WORKDIR}/algorithm_exercises_csharp_base COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test # code linting conf @@ -66,7 +66,7 @@ FROM base AS development COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp -COPY ./algorithm-exercises-csharp-base ${WORKDIR}/algorithm-exercises-csharp-base +COPY ./algorithm_exercises_csharp_base ${WORKDIR}/algorithm_exercises_csharp_base COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test RUN make build \ diff --git a/Makefile b/Makefile index 4342420..be2e3b9 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ PACKAGE_TOOL=dotnet VERBOSITY_LEVEL=normal MAIN_PROJECT_DIRECTORY=algorithm_exercises_csharp -BASE_PROJECT_DIRECTORY=algorithm-exercises-csharp-base +BASE_PROJECT_DIRECTORY=algorithm_exercises_csharp_base TEST_PROJECT_DIRECTORY=algorithm-exercises-csharp-test help: list diff --git a/algorithm_exercises_csharp.sln b/algorithm_exercises_csharp.sln index 1263c5f..c979106 100644 --- a/algorithm_exercises_csharp.sln +++ b/algorithm_exercises_csharp.sln @@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp- EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm_exercises_csharp", "algorithm_exercises_csharp\algorithm_exercises_csharp.csproj", "{B162EE62-90C6-4871-B278-390804615987}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp-base", "algorithm-exercises-csharp-base\algorithm-exercises-csharp-base.csproj", "{1BC65C42-83A6-486D-84DB-0DC63002FA24}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm_exercises_csharp_base", "algorithm_exercises_csharp_base\algorithm_exercises_csharp_base.csproj", "{1BC65C42-83A6-486D-84DB-0DC63002FA24}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj b/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj index b18b86c..bfec5ef 100644 --- a/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj +++ b/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj @@ -16,6 +16,6 @@ - + diff --git a/algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj b/algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj similarity index 100% rename from algorithm-exercises-csharp-base/algorithm-exercises-csharp-base.csproj rename to algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj diff --git a/algorithm-exercises-csharp-base/src/Logger.cs b/algorithm_exercises_csharp_base/src/Logger.cs similarity index 100% rename from algorithm-exercises-csharp-base/src/Logger.cs rename to algorithm_exercises_csharp_base/src/Logger.cs From 1fc61c0364ecb3b8021bfb8fd42ddcc05b47d2c7 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 15:29:40 -0400 Subject: [PATCH 4/5] =?UTF-8?q?[BREAKING]=20=E2=9A=A0=EF=B8=8F=20[REFACTOR?= =?UTF-8?q?]=20[CONFIG]=20project=20(test)=20rename=20due=20namespaces=20i?= =?UTF-8?q?ssues:=20https://stackoverflow.com/a/31741692/6366150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/snyk-code.yml | 2 +- Dockerfile | 6 +++--- Makefile | 2 +- algorithm_exercises_csharp.sln | 2 +- .../algorithm_exercises_csharp_test.csproj | 0 .../src/Hello.BruteForce.Test.cs | 0 .../src/Hello.Test.cs | 0 .../arrays/ArraysLeftRotation.Test.cs | 0 .../dictionaries_and_hashmaps/RansomNote.Test.cs | 0 .../dictionaries_and_hashmaps/TwoStrings.Test.cs | 0 .../greedy_algorithms/LuckBalance.Test.cs | 0 .../linked_list/FindMergeNode.Test.cs | 0 .../linked_list/LinkedListCycle.Test.cs | 0 .../interview_preparation_kit/linked_list/lib/Node.Test.cs | 0 .../src/hackerrank/projecteuler/Euler001.Test.cs | 0 .../src/hackerrank/projecteuler/Euler002.Test.cs | 0 .../src/hackerrank/projecteuler/Euler003.Test.cs | 0 .../src/hackerrank/warmup/AVeryBigSumTest.cs | 0 .../src/hackerrank/warmup/BirthdayCakeCandles.Test.cs | 0 .../src/hackerrank/warmup/CompareTriplets.Test.cs | 0 .../src/hackerrank/warmup/DiagonalDifference.Test.cs | 0 .../src/hackerrank/warmup/MiniMaxSum.Test.cs | 0 .../src/hackerrank/warmup/PlusMinus.Test.cs | 0 .../src/hackerrank/warmup/SimpleArraySum.Test.cs | 0 .../src/hackerrank/warmup/SolveMeFirst.Test.cs | 0 .../src/hackerrank/warmup/Staircase.Test.cs | 0 .../src/hackerrank/warmup/TimeConversion.Test.cs | 0 27 files changed, 6 insertions(+), 6 deletions(-) rename algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj => algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/Hello.BruteForce.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/Hello.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/projecteuler/Euler001.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/projecteuler/Euler002.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/projecteuler/Euler003.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/AVeryBigSumTest.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/BirthdayCakeCandles.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/CompareTriplets.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/DiagonalDifference.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/MiniMaxSum.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/PlusMinus.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/SimpleArraySum.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/SolveMeFirst.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/Staircase.Test.cs (100%) rename {algorithm-exercises-csharp-test => algorithm_exercises_csharp_test}/src/hackerrank/warmup/TimeConversion.Test.cs (100%) diff --git a/.github/workflows/snyk-code.yml b/.github/workflows/snyk-code.yml index 0fe1dff..ddaaa06 100644 --- a/.github/workflows/snyk-code.yml +++ b/.github/workflows/snyk-code.yml @@ -34,7 +34,7 @@ jobs: snyk test algorithm_exercises_csharp/ algorithm_exercises_csharp_base/ - algorithm-exercises-csharp-test/ + algorithm_exercises_csharp_test/ --sarif-file-output=snyk-code.sarif env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 033359b..85c3345 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY ./Makefile ${WORKDIR}/ COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp/algorithm_exercises_csharp.csproj ${WORKDIR}/algorithm_exercises_csharp/algorithm_exercises_csharp.csproj COPY ./algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj ${WORKDIR}/algorithm_exercises_csharp_base/algorithm_exercises_csharp_base.csproj -COPY ./algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj ${WORKDIR}/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj +COPY ./algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj ${WORKDIR}/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj RUN make dependencies @@ -47,7 +47,7 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/ COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp COPY ./algorithm_exercises_csharp_base ${WORKDIR}/algorithm_exercises_csharp_base -COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test +COPY ./algorithm_exercises_csharp_test ${WORKDIR}/algorithm_exercises_csharp_test # code linting conf COPY ./.editorconfig ${WORKDIR}/ @@ -67,7 +67,7 @@ FROM base AS development COPY ./algorithm_exercises_csharp.sln ${WORKDIR}/algorithm_exercises_csharp.sln COPY ./algorithm_exercises_csharp ${WORKDIR}/algorithm_exercises_csharp COPY ./algorithm_exercises_csharp_base ${WORKDIR}/algorithm_exercises_csharp_base -COPY ./algorithm-exercises-csharp-test ${WORKDIR}/algorithm-exercises-csharp-test +COPY ./algorithm_exercises_csharp_test ${WORKDIR}/algorithm_exercises_csharp_test RUN make build \ && ls -alh diff --git a/Makefile b/Makefile index be2e3b9..d347f3f 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ VERBOSITY_LEVEL=normal MAIN_PROJECT_DIRECTORY=algorithm_exercises_csharp BASE_PROJECT_DIRECTORY=algorithm_exercises_csharp_base -TEST_PROJECT_DIRECTORY=algorithm-exercises-csharp-test +TEST_PROJECT_DIRECTORY=algorithm_exercises_csharp_test help: list @echo "" diff --git a/algorithm_exercises_csharp.sln b/algorithm_exercises_csharp.sln index c979106..ad50a97 100644 --- a/algorithm_exercises_csharp.sln +++ b/algorithm_exercises_csharp.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm-exercises-csharp-test", "algorithm-exercises-csharp-test\algorithm-exercises-csharp-test.csproj", "{817BA968-9A1F-4DDB-8A96-657DCA862227}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm_exercises_csharp_test", "algorithm_exercises_csharp_test\algorithm_exercises_csharp_test.csproj", "{817BA968-9A1F-4DDB-8A96-657DCA862227}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "algorithm_exercises_csharp", "algorithm_exercises_csharp\algorithm_exercises_csharp.csproj", "{B162EE62-90C6-4871-B278-390804615987}" EndProject diff --git a/algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj b/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj similarity index 100% rename from algorithm-exercises-csharp-test/algorithm-exercises-csharp-test.csproj rename to algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj diff --git a/algorithm-exercises-csharp-test/src/Hello.BruteForce.Test.cs b/algorithm_exercises_csharp_test/src/Hello.BruteForce.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/Hello.BruteForce.Test.cs rename to algorithm_exercises_csharp_test/src/Hello.BruteForce.Test.cs diff --git a/algorithm-exercises-csharp-test/src/Hello.Test.cs b/algorithm_exercises_csharp_test/src/Hello.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/Hello.Test.cs rename to algorithm_exercises_csharp_test/src/Hello.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/TwoStrings.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/FindMergeNode.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/LinkedListCycle.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/interview_preparation_kit/linked_list/lib/Node.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler001.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler001.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler001.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler001.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler002.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler002.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler002.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler002.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler003.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler003.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/projecteuler/Euler003.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/projecteuler/Euler003.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/AVeryBigSumTest.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/AVeryBigSumTest.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/AVeryBigSumTest.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/AVeryBigSumTest.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/BirthdayCakeCandles.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/BirthdayCakeCandles.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/BirthdayCakeCandles.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/BirthdayCakeCandles.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/CompareTriplets.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/CompareTriplets.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/CompareTriplets.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/CompareTriplets.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/DiagonalDifference.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/DiagonalDifference.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/DiagonalDifference.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/DiagonalDifference.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/MiniMaxSum.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/MiniMaxSum.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/MiniMaxSum.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/MiniMaxSum.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/PlusMinus.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/PlusMinus.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/PlusMinus.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/PlusMinus.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/SimpleArraySum.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/SimpleArraySum.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/SimpleArraySum.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/SimpleArraySum.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/SolveMeFirst.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/SolveMeFirst.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/SolveMeFirst.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/SolveMeFirst.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/Staircase.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/Staircase.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/Staircase.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/Staircase.Test.cs diff --git a/algorithm-exercises-csharp-test/src/hackerrank/warmup/TimeConversion.Test.cs b/algorithm_exercises_csharp_test/src/hackerrank/warmup/TimeConversion.Test.cs similarity index 100% rename from algorithm-exercises-csharp-test/src/hackerrank/warmup/TimeConversion.Test.cs rename to algorithm_exercises_csharp_test/src/hackerrank/warmup/TimeConversion.Test.cs From fb10e7da083ef7cc0d8b4319abc3cf03ad86300c Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 15:46:55 -0400 Subject: [PATCH 5/5] [CONFIG] [NuGet] new JSON library added: Newtonsoft.Json. --- .../algorithm_exercises_csharp_test.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj b/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj index aba3a88..a7a60e3 100644 --- a/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj +++ b/algorithm_exercises_csharp_test/algorithm_exercises_csharp_test.csproj @@ -32,6 +32,7 @@ +