Skip to content

feat(manager/cake): Support extracting nuget packages from InstallTools helper methods#40070

Merged
viceice merged 9 commits intorenovatebot:mainfrom
papauorg:feature/cake-dotnet-tools
Feb 26, 2026
Merged

feat(manager/cake): Support extracting nuget packages from InstallTools helper methods#40070
viceice merged 9 commits intorenovatebot:mainfrom
papauorg:feature/cake-dotnet-tools

Conversation

@papauorg
Copy link
Contributor

@papauorg papauorg commented Dec 18, 2025

Changes

Cake build support single file .NET build scripts since .NET 10. In there the way to install dotnet tools changed to a method called InstallTool(s). Support for updating nuget packages in those method parameters is now added with this PR.

Context

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation
    It addresses the discussion: 40069

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository: https://github.com/papauorg/renovate-cakebuild

@papauorg papauorg changed the title feature(manager/cake): Support extracting nuget packages from InstallTools helper methods feat(manager/cake): Support extracting nuget packages from InstallTools helper methods Dec 18, 2025
@papauorg papauorg marked this pull request as ready for review December 18, 2025 19:31
@papauorg papauorg force-pushed the feature/cake-dotnet-tools branch from c05f19d to 0441f79 Compare December 18, 2025 19:31
viceice
viceice previously approved these changes Feb 18, 2026
Copy link

@devlead devlead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested

node dist/renovate.js azurevoodoo/renovate-cake-sdk-test 

with config

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "cake": {
    "fileMatch": ["(^|/)(cake|build)\\.cs$"]
  }
}

Generated PRs without issue 👍

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamietanna @RahulGautamSingh it seems we're using a lot default regexes here instead of our re2 wrapper

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
@papauorg papauorg requested a review from viceice February 26, 2026 08:13
@viceice viceice added this pull request to the merge queue Feb 26, 2026
Merged via the queue into renovatebot:main with commit ccd99d9 Feb 26, 2026
45 checks passed
@papauorg papauorg deleted the feature/cake-dotnet-tools branch February 26, 2026 13:57
@github-actions
Copy link
Contributor

🎉 This PR is included in version 43.41.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants