From f192e3e69c5523da121557e724ba06826e671f37 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 10:31:33 +0200 Subject: [PATCH 01/25] docs: update README for clarity and formatting improvements --- README.md | 70 +++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index a8046dcf..cceb18f3 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,15 @@ logo

-# DevStore | A microservices e-commerce reference application built with ASP.NET 9 +# A microservices e-commerce reference application built with ASP.NET 9 -A real-world reference application powered -by [desenvolvedor.io](https://desenvolvedor.io/) Brasil -implementing the most common and used technologies to share with the technical community the best way to develop full -and complex applications with .NET +A real-world reference application powered by [desenvolvedor.io](https://desenvolvedor.io/) Brasil implementing the most common and used technologies to share with the technical community the best way to develop full and complex applications with .NET ---- - -###### This project was inspired by [EShopOnContainers](https://github.com/dotnet-architecture/eShopOnContainers). However, the real motivation was to build it by "our way." +This project was inspired by [EShopOnContainers](https://github.com/dotnet-architecture/eShopOnContainers). However, the real motivation was to build it by "our way." -###### The EShopOnContainers is an awesome project. However, the code has some "bad smells." We found it difficult to start learning/using EShopOnContainers compared to DevStore. We like to think of the DevStore as a simplified (but no less complex) version and written with more care in code and small details. We also focused only on the Web architecture with ASP.NET. +The EShopOnContainers is an awesome project. However, the code has some "bad smells." We found it difficult to start learning/using EShopOnContainers compared to DevStore. We like to think of the DevStore as a simplified (but no less complex) version and written with more care in code and small details. We also focused only on the Web architecture with ASP.NET. -## Give a Star! :star: +## ⭐ Give a Star! If you liked the project or if DevStore is helping you, please give us a star ;) @@ -24,14 +19,14 @@ If you liked the project or if DevStore is helping you, please give us a star ;) DevStore

-## Want to learn everything to build an app like this? :mortar_board: +## :mortar_board: Want to learn everything to build an app like this? Check these online courses at [desenvolvedor.io](https://desenvolvedor.io) (only in Portuguese) - [ASP.NET Core Expert](https://desenvolvedor.io/formacao/asp-net-core-expert) - [Software Architect](https://desenvolvedor.io/formacao/arquiteto-de-software) -## Technologies / Components implemented +## πŸ’» Technologies / Components implemented - .NET 9 - ASP.NET MVC Core @@ -63,7 +58,7 @@ Check these online courses at [desenvolvedor.io](https://desenvolvedor.io) (only - NGINX - Docker (with composing) -## Architecture: +## πŸ—ΊοΈ Architecture: ### Complete architecture implementing the most important and used concerns as: @@ -84,9 +79,9 @@ Check these online courses at [desenvolvedor.io](https://desenvolvedor.io) (only --- -## Architecture Overview +## πŸ” Architecture Overview -### The entire application is based on a unique solution with 7 APIs and one web application (MVC) +The entire application is based on a unique solution with 7 APIs and one web application (MVC)

read before @@ -103,38 +98,37 @@ There is a BFF / API Gateway to manage the Basket / Order / Payment requests and --- -## Getting Started +## 🏁 Getting Started -You can run the DevStore project on any operating system. **Make sure you have installed docker in your environment. -** ([Get Docker Installation](https://docs.docker.com/get-docker/)) +You can run the DevStore project on any operating system. **Make sure you have installed docker in your environment.** ([Get Docker Installation](https://docs.docker.com/get-docker/)) -Clone the DevStore's repository and navigate to the **/Docker** folder and then: +Clone the DevStore's repository and navigate to the `/docker` folder and then: -### If you just want to run the DevStore application in your Docker environment: +### Run the DevStore application on Docker -``` -docker-compose up +```bash +docker compose up ``` -### If you want to build the local images and run the DevStore application in your Docker environment: +### Build local images and run onDocker This docker compose will provide one database container per each API service. -``` -docker-compose -f docker-compose-local.yml up --build +```bash +docker compose -f docker-compose-local.yml up --build ``` -### If you prefer to save resource, then use the light local docker compose: +### Only run dependency resources: -This docker compose will provide just one database container for all API services. +This docker compose will provide necessary services for all API services. -``` -docker-compose -f docker-compose-local-light.yml up --build +```bash +docker compose -f docker-common-resources.yml up -d ``` --- -### If you want to run locally with Visual Studio / VSCode: +### Run with Visual Studio / Visual Studio Code: You will need: @@ -142,11 +136,15 @@ You will need: - MS-SQL Server instance (or container) - RabbitMQ -So you can edit the Docker compose to just run the database and queue dependencies and save your time. +So just run un the `/docker` folder the command: + +```bash +docker compose -f docker-common-resources.yml up -d +``` ### If you want Visual Studio with F5 and debug experience: -- You will need at least Visual Studio 2022 and .NET 6. +- You will need at least Visual Studio 2022 and .NET 9. - The latest SDK and tools can be downloaded from https://dot.net/core - Set up the solution to start multiple projects and hit F5 @@ -272,23 +270,23 @@ So you can edit the Docker compose to just run the database and queue dependenci } ``` -## Disclaimer +## ⚠️ Disclaimer - This is not an architectural template or bootstrap model for new apps - All implementations were made for the real world, but the goal is to share knowledge - In case it is too many implementations included, remove the excess and try to avoid **over-engineering** -## Pull-Requests +## πŸ™Œ Contributing Open an issue and let's discuss! Do not submit PRs for undiscussed or unapproved features. If you want to help us, choose an approved issue and implement it. -## We are Online +## πŸš€ We are online See the project running on DevStore official instance -## About +## πŸ’­ About DevStore was proudly developed by [desenvolvedor.io](https://desenvolvedor.io/) ❀Brasil From 45e405cd410187f810a2f596d07ea73e979e69fd Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:14:34 +0200 Subject: [PATCH 02/25] feat: add Renovate configuration files for automated dependency management --- .github/renovate.json | 17 +++++++++++++++++ .github/workflows/renovate.yml | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/renovate.json create mode 100644 .github/workflows/renovate.yml diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..c45a7ae3 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,17 @@ +{ + "branchPrefix": "renovate/", + "username": "thiagolunardi", + "gitAuthor": "Thiago Lunardi ", + "platform": "github", + "enabledManagers": [ + "nuget" + ], + "packageRules": [ + { + "matchManagers": [ + "nuget" + ], + "minimumReleaseAge": "7 days" + } + ] +} \ No newline at end of file diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 00000000..39c43f5b --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,16 @@ +name: Renovate +on: + schedule: + - cron: '0/15 * * * *' +jobs: + renovate: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v4 + + - name: Self-hosted Renovate + uses: renovatebot/github-action@v43.0.7 + with: + token: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file From ccfb36b62146ca7c60738c2a35db5d169c22276b Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:16:06 +0200 Subject: [PATCH 03/25] feat: enable manual triggering for Renovate workflow --- .github/workflows/renovate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 39c43f5b..33c57a37 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -2,6 +2,8 @@ name: Renovate on: schedule: - cron: '0/15 * * * *' + workflow_dispatch: + jobs: renovate: runs-on: ubuntu-latest From 00277102abe1d00f802ecddbb1efaad182e03ef9 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:17:51 +0200 Subject: [PATCH 04/25] feat: update Renovate schedule to run at specific times --- .github/workflows/renovate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 33c57a37..7ac9faeb 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,7 +1,7 @@ name: Renovate on: schedule: - - cron: '0/15 * * * *' + - cron: '0 9,21 * * *' workflow_dispatch: jobs: From 8b4e0ddb64e4e9f1f92347df2de105ceea7e939c Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:18:58 +0200 Subject: [PATCH 05/25] docs: correct typo in README regarding Docker command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cceb18f3..ba42e039 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ You will need: - MS-SQL Server instance (or container) - RabbitMQ -So just run un the `/docker` folder the command: +So just run in the `/docker` folder the command: ```bash docker compose -f docker-common-resources.yml up -d From 3492696d6545d1969308235fb2f8dad5c0605b39 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:33:47 +0200 Subject: [PATCH 06/25] feat: remove scheduled cron job from Renovate configuration --- .github/workflows/renovate.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 7ac9faeb..4beab0ee 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,7 +1,5 @@ name: Renovate on: - schedule: - - cron: '0 9,21 * * *' workflow_dispatch: jobs: From 1a11f86019e19619bbd8a6368ff3a27eb987d904 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:35:32 +0200 Subject: [PATCH 07/25] feat: add cron schedule for Renovate to run at specified times --- .github/workflows/renovate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 4beab0ee..a3461a6b 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,5 +1,10 @@ name: Renovate on: + schedule: + - cron: '0 9,21 * * *' + push: + branches: + - feat/add-renovate workflow_dispatch: jobs: From 2d384e90fd0bf43dcabfe497df3a5b944e7dee3c Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:39:52 +0200 Subject: [PATCH 08/25] feat: add repository configuration for Renovate --- .github/renovate.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index c45a7ae3..4cf2db0d 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,6 +3,9 @@ "username": "thiagolunardi", "gitAuthor": "Thiago Lunardi ", "platform": "github", + "repositories": [ + "desenvolvedor-io/dev-store" + ], "enabledManagers": [ "nuget" ], From d94bd3e892072591a4dd2d950ca44574af127e67 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:42:45 +0200 Subject: [PATCH 09/25] feat: enable fork processing in Renovate configuration --- .github/renovate.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 4cf2db0d..c41e88ef 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,9 +3,7 @@ "username": "thiagolunardi", "gitAuthor": "Thiago Lunardi ", "platform": "github", - "repositories": [ - "desenvolvedor-io/dev-store" - ], + "forkProcessing": "enabled", "enabledManagers": [ "nuget" ], From 67724b280f9aabba67fc6073f283ed9039e98b2d Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:46:48 +0200 Subject: [PATCH 10/25] feat: update Renovate configuration for onboarding and release age --- .github/renovate.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index c41e88ef..4eeece8c 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,16 +3,18 @@ "username": "thiagolunardi", "gitAuthor": "Thiago Lunardi ", "platform": "github", + "onboarding": false, "forkProcessing": "enabled", "enabledManagers": [ "nuget" ], "packageRules": [ { + "dependencyDashboardApproval": false, "matchManagers": [ "nuget" ], - "minimumReleaseAge": "7 days" + "minimumReleaseAge": "1 days" } ] } \ No newline at end of file From 8eb0536cc4cb118870e59cb0c6b1d5edcd3e5b50 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:56:06 +0200 Subject: [PATCH 11/25] feat: set requireConfig to optional in Renovate configuration --- .github/renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/renovate.json b/.github/renovate.json index 4eeece8c..decbff98 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -4,6 +4,7 @@ "gitAuthor": "Thiago Lunardi ", "platform": "github", "onboarding": false, + "requireConfig": "optional", "forkProcessing": "enabled", "enabledManagers": [ "nuget" From 9096dea905d5cb58968d0aad1628b919cee832cc Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 11:58:15 +0200 Subject: [PATCH 12/25] feat: set debug log level in Renovate configuration --- .github/workflows/renovate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index a3461a6b..5fc43427 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -10,6 +10,8 @@ on: jobs: renovate: runs-on: ubuntu-latest + env: + LOG_LEVEL: debug steps: - name: Checkout From 5283c55b8ed6ca11faad4f0206a58afc20f106cd Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:00:51 +0200 Subject: [PATCH 13/25] feat: specify configuration file for Renovate action --- .github/workflows/renovate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 5fc43427..d5239594 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -20,4 +20,5 @@ jobs: - name: Self-hosted Renovate uses: renovatebot/github-action@v43.0.7 with: + configurationFile: '.github/renovate.json' token: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file From 4565b83c61cadb5c6c5e65a0ee243a28b60520be Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:02:35 +0200 Subject: [PATCH 14/25] feat: add repositories configuration for Renovate --- .github/renovate.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index decbff98..e2cc9bcc 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,11 +1,14 @@ { "branchPrefix": "renovate/", "username": "thiagolunardi", - "gitAuthor": "Thiago Lunardi ", + "gitAuthor": "Thiago Lunardi", "platform": "github", "onboarding": false, "requireConfig": "optional", "forkProcessing": "enabled", + "repositories": [ + "desenvolvedor-io/dev-store" + ], "enabledManagers": [ "nuget" ], From 0a5f5af8eae11d60588cba5b66770c907db8564b Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:04:55 +0200 Subject: [PATCH 15/25] feat: update gitAuthor format in Renovate configuration --- .github/renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index e2cc9bcc..38d31e10 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,7 +1,7 @@ { "branchPrefix": "renovate/", "username": "thiagolunardi", - "gitAuthor": "Thiago Lunardi", + "gitAuthor": "Thiago Lunardi ", "platform": "github", "onboarding": false, "requireConfig": "optional", From 0d3c384d0a7b39e9c8afe83ec4ca8e53d527a8d3 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:19:32 +0200 Subject: [PATCH 16/25] feat: enhance package rules for Renovate configuration --- .github/renovate.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 38d31e10..c795b6b3 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -12,13 +12,33 @@ "enabledManagers": [ "nuget" ], - "packageRules": [ + "packageRules": [ { + "description": "Microsoft packages", + "matchManagers": [ + "nuget" + ], + "matchPackageNames": [ + "AspNetCore.*", + "Microsoft.*", + "System.*" + ], "dependencyDashboardApproval": false, + "minimumReleaseAge": "2 days" + }, + { + "description": "External packages", "matchManagers": [ "nuget" ], - "minimumReleaseAge": "1 days" + "matchPackageNames": [ + "!AspNetCore.*", + "!Microsoft.*", + "!System.*" + ], + "dependencyDashboardApproval": false, + "minimumReleaseAge": "7 days" } + ] } \ No newline at end of file From e3942224633c24347bfa02500d2c572047dbb974 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:33:00 +0200 Subject: [PATCH 17/25] feat: update Renovate configuration for username and gitAuthor, and refine package exclusion rules --- .github/renovate.json | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index c795b6b3..857bcc86 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,14 +1,11 @@ { "branchPrefix": "renovate/", - "username": "thiagolunardi", - "gitAuthor": "Thiago Lunardi ", + "username": "renovate-release", + "gitAuthor": "Renovate Bot ", "platform": "github", "onboarding": false, "requireConfig": "optional", "forkProcessing": "enabled", - "repositories": [ - "desenvolvedor-io/dev-store" - ], "enabledManagers": [ "nuget" ], @@ -23,22 +20,21 @@ "Microsoft.*", "System.*" ], - "dependencyDashboardApproval": false, - "minimumReleaseAge": "2 days" - }, + "groupName": "Microsoft NuGet Packages", + "minimumReleaseAge": "7 days" + }, { "description": "External packages", "matchManagers": [ "nuget" ], - "matchPackageNames": [ - "!AspNetCore.*", - "!Microsoft.*", - "!System.*" + "excludePackageNames": [ + "AspNetCore.*", + "Microsoft.*", + "System.*" ], - "dependencyDashboardApproval": false, + "groupName": "External NuGet Packages", "minimumReleaseAge": "7 days" } - ] } \ No newline at end of file From e0081f2cc0eb628ed383d04e70477ba4ec19f600 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:35:13 +0200 Subject: [PATCH 18/25] feat: reduce minimum release age for Microsoft NuGet Packages in Renovate configuration --- .github/renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 857bcc86..503e5d27 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -21,7 +21,7 @@ "System.*" ], "groupName": "Microsoft NuGet Packages", - "minimumReleaseAge": "7 days" + "minimumReleaseAge": "2 days" }, { "description": "External packages", From 1c965289a3da8fb7e6d7044a1969bdd26473b21d Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:38:47 +0200 Subject: [PATCH 19/25] feat: add repository configuration for Renovate --- .github/renovate.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 503e5d27..30ec7d28 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -6,6 +6,9 @@ "onboarding": false, "requireConfig": "optional", "forkProcessing": "enabled", + "repositories": [ + "desenvolvedor-io/dev-store" + ], "enabledManagers": [ "nuget" ], From 60c387392e2311f78c8eacd57673bfcd61c0eff8 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:41:41 +0200 Subject: [PATCH 20/25] feat: update Renovate schedule to run at 6am GMT every Monday --- .github/workflows/renovate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index d5239594..29701110 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,7 +1,7 @@ name: Renovate on: schedule: - - cron: '0 9,21 * * *' + - cron: '0 6 * * 1' # Runs at 6am (GMT) every Monday push: branches: - feat/add-renovate From 6557cf369ae84066bbbb05b6a7bfdd4c97ba7652 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:46:07 +0200 Subject: [PATCH 21/25] feat: add dotnet-sdk to package inclusion and exclusion rules in Renovate configuration --- .github/renovate.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 30ec7d28..1efdc514 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -19,6 +19,7 @@ "nuget" ], "matchPackageNames": [ + "dotnet-sdk", "AspNetCore.*", "Microsoft.*", "System.*" @@ -32,6 +33,7 @@ "nuget" ], "excludePackageNames": [ + "dotnet-sdk", "AspNetCore.*", "Microsoft.*", "System.*" From 0ab0bf11464482da660ed7e0968c7d79d7ad3f9c Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 12:48:49 +0200 Subject: [PATCH 22/25] feat: change Renovate log level from debug to info --- .github/workflows/renovate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 29701110..89aa019e 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -11,7 +11,7 @@ jobs: renovate: runs-on: ubuntu-latest env: - LOG_LEVEL: debug + LOG_LEVEL: info steps: - name: Checkout From 8e00caaa2fe063ee801e3403b87340745f1686f4 Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 13:07:18 +0200 Subject: [PATCH 23/25] feat: update Renovate configuration to use regex for package matching and exclusion --- .github/renovate.json | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 1efdc514..7e8be99d 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,4 +1,5 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "branchPrefix": "renovate/", "username": "renovate-release", "gitAuthor": "Renovate Bot ", @@ -14,31 +15,29 @@ ], "packageRules": [ { - "description": "Microsoft packages", + "groupName": "Microsoft NuGet Packages", "matchManagers": [ "nuget" ], - "matchPackageNames": [ - "dotnet-sdk", - "AspNetCore.*", - "Microsoft.*", - "System.*" + "matchPackagePatterns": [ + "^dotnet-sdk$", + "^AspNetCore\\..*", + "^Microsoft\\..*", + "^System\\..*" ], - "groupName": "Microsoft NuGet Packages", "minimumReleaseAge": "2 days" }, { - "description": "External packages", + "groupName": "External NuGet Packages", "matchManagers": [ "nuget" ], - "excludePackageNames": [ - "dotnet-sdk", - "AspNetCore.*", - "Microsoft.*", - "System.*" + "excludePackagePatterns": [ + "^dotnet-sdk$", + "^AspNetCore\\..*", + "^Microsoft\\..*", + "^System\\..*" ], - "groupName": "External NuGet Packages", "minimumReleaseAge": "7 days" } ] From fae62af153a8ab1aced0e58d2dd53c7fc101019f Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 13:12:14 +0200 Subject: [PATCH 24/25] feat: add package pattern matching to Renovate configuration --- .github/renovate.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 7e8be99d..f243a539 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,5 +1,5 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "branchPrefix": "renovate/", "username": "renovate-release", "gitAuthor": "Renovate Bot ", @@ -32,6 +32,9 @@ "matchManagers": [ "nuget" ], + "matchPackagePatterns": [ + "*" + ], "excludePackagePatterns": [ "^dotnet-sdk$", "^AspNetCore\\..*", @@ -41,4 +44,4 @@ "minimumReleaseAge": "7 days" } ] -} \ No newline at end of file +} From 682c6c3d34a56d39040bdf7ecea43740ced3927e Mon Sep 17 00:00:00 2001 From: Thiago Lunardi Date: Wed, 13 Aug 2025 13:13:38 +0200 Subject: [PATCH 25/25] feat: change Renovate log level from info to debug --- .github/workflows/renovate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 89aa019e..29701110 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -11,7 +11,7 @@ jobs: renovate: runs-on: ubuntu-latest env: - LOG_LEVEL: info + LOG_LEVEL: debug steps: - name: Checkout