✨ Add support for Winget package manager integration - #5101
Closed
andy778 wants to merge 1 commit into
Closed
Conversation
andy778
requested review from
justaugustus and
spencerschrock
and removed request for
a team
June 21, 2026 10:55
Signed-off-by: Andy B <andy778@users.noreply.github.com>
andy778
force-pushed
the
feature/winget-package-manager
branch
from
June 21, 2026 11:10
767a170 to
8e5b1a4
Compare
Author
|
Yes typo from my side should be #5100 |
pombredanne
reviewed
Jun 30, 2026
|
|
||
| // Gets the GitHub repository URL for the winget package. | ||
| // Reads manifests directly from the microsoft/winget-pkgs GitHub repository. | ||
| // Note: https://api.winget.run/v2 was considered but appears unmaintained |
There was a problem hiding this comment.
And this is not an official index either FWIW.
Author
There was a problem hiding this comment.
Should I refactor this PR, or is there any interest in this and I should drop it?
There was a problem hiding this comment.
I was just stating that you found that winget.run index unmaintained, but this is also not official. You are using the git repo at https://github.com/microsoft/winget-pkgs which is the way AFAIK
|
This pull request has been marked stale because it has been open for 10 days with no activity |
|
@andy778 can you reopen? |
This was referenced Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
New feature — adds support for the Windows Package Manager (winget) as an input source.
What is the current behavior?
Users who want to assess a winget package must manually look up the source repository and pass it via --repo. There is no --winget flag equivalent to the existing --npm, --pypi, --rubygems, and --nuget flags.
What is the new behavior (if this is a feature change)?
A new --winget flag accepts a winget package identifier and resolves the source repository automatically by reading the package manifest from microsoft/winget-pkgs, then runs Scorecard against it.
scorecard --winget="Notepad++.Notepad++"What is the new behavior (if this is a feature change)?
Which issue(s) this PR fixes
Fixes #5100
Special notes for your reviewer
Does this PR introduce a user-facing change?
Add
--wingetflag to resolve and score a package by its winget package identifier (e.g.scorecard --winget="Notepad++.Notepad++").