NuGet / NuGet/Home

[DCR]: Enabled plugins for other protocols

Open
#11,613 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area:Plugin Priority:2 Product:dotnet.exe Product:NuGet.exe Product:VS.Client Type:DCR
Dominant language
HTML
Stars
1.6k
Forks
276
Avg merge
6d 1h
Merged PRs (30d)
1

Description

NuGet Product(s) Affected

NuGet SDK

Current Behavior

Currently plugin discovery is only enabled for HTTP sources.

Desired Behavior

Plugin should be able to support other protocols, or source types.

Additional Context

Plugin discovery is only enabled for HTTP sources

https://github.com/NuGet/NuGet.Client/blob/2ffefa687ba980fd0a70e13615875c69bde9393c/src/NuGet.Core/NuGet.Protocol/Plugins/PluginManager.cs#L122

This should be relaxed to enable other protocols, and it should be up to the plugin to decide whether it can support the protocol.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read src/NuGet.Core/NuGet.Protocol/Plugins/PluginManager.cs at the linked discovery logic and trace how the current HTTP-only restriction is applied. Done means plugin discovery is no longer limited to HTTP sources, with the plugin deciding whether it supports the source protocol; verify the behavior with the relevant NuGet SDK tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.