Skip to content

C#: Rename Dependabot to Registry and update log messages. - #22542

Open
michaelnebel wants to merge 2 commits into
github:mainfrom
michaelnebel:csharp/dependabottoregistryrename
Open

C#: Rename Dependabot to Registry and update log messages.#22542
michaelnebel wants to merge 2 commits into
github:mainfrom
michaelnebel:csharp/dependabottoregistryrename

Conversation

@michaelnebel

@michaelnebel michaelnebel commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Also slightly improve some unit test comments.

@michaelnebel michaelnebel changed the title C#: Rename Dependabot to Registry, update log messages and slightly i… C#: Rename Dependabot to Registry and update log messages. Sep 10, 2026
@michaelnebel
michaelnebel force-pushed the csharp/dependabottoregistryrename branch from fc5a547 to 67f98aa Compare September 10, 2026 13:40
@github-actions github-actions Bot added the C# label Sep 10, 2026
@michaelnebel
michaelnebel force-pushed the csharp/dependabottoregistryrename branch from 67f98aa to 1c2025b Compare September 11, 2026 09:51
@michaelnebel
michaelnebel force-pushed the csharp/dependabottoregistryrename branch from 1c2025b to c5d5827 Compare September 11, 2026 09:58
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Sep 11, 2026
@michaelnebel
michaelnebel requested a balanced review from Copilot September 11, 2026 10:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The rename is complete and consistent; the identified documentation wording issue is non-blocking.

Review tier: Balanced
Findings: 1 Low severity

New issues introduced by this change (1)
Severity Finding
Low severity csharp/​extractor/​Semmle.Extraction.CSharp.DependencyFetching/​EnvironmentVariableNames.cs — Describe ProxyPort as a port
What changed in this PR

Renames the C# dependency-fetching proxy abstraction from Dependabot to Registry and updates related logging and tests.

Changes:

  • Renames proxy interfaces, implementations, parameters, and test stubs.
  • Updates proxy log messages and certificate directory naming.
  • Clarifies unit-test comments.
File Description
RegistryProxy.cs (tests) Renames proxy tests and stubs.
FeedManager.cs (tests) Updates test proxy names and comments.
RegistryProxyConfiguration.cs Renames configuration implementation.
RegistryProxy.cs Renames proxy implementation and messages.
NugetPackageRestorer.cs Uses the renamed proxy interface.
IRegistryProxyConfiguration.cs Renames the configuration interface.
IRegistryProxy.cs Renames the proxy interface.
FeedManagerIO.cs Updates proxy handling and warnings.
FeedManager.cs Updates proxy constructor parameters.
EnvironmentVariableNames.cs Updates proxy documentation.
DotNetCliInvoker.cs Updates proxy parameter and logging.
DotNet.cs Propagates the renamed proxy type.
DependencyManager.cs Creates, passes, and disposes the renamed proxy.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@michaelnebel
michaelnebel requested a review from mbg September 11, 2026 10:59
@michaelnebel
michaelnebel marked this pull request as ready for review September 11, 2026 10:59
@michaelnebel
michaelnebel requested a review from a team as a code owner September 11, 2026 10:59

@mbg mbg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for remembering! This generally looks good to me, with just one minor nitpicky comment about the capitalisation of "Registry proxy".

if (this.proxy != null)
{
logger.LogDebug($"Configuring environment variables for the Dependabot proxy at {this.proxy.Address}");
logger.LogDebug($"Configuring environment variables for the Registry proxy at {this.proxy.Address}");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Minor: Use lower-case registry proxy instead of Registry proxy in log messages, comments, etc. when it doesn't appear at the start of a sentence since unlike "Dependabot", "Registry" is not a product name and so shouldn't be capitalised.

? "chain"
: "certificate";
logger.LogWarning($"Dependabot proxy certificate validation failed due to missing {msg}");
logger.LogWarning($"Registry proxy certificate validation failed due to missing {msg}");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(Here the upper-case "Registry" is fine since it's at the start of a sentence.)

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

Labels

C# no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants