microsoft / microsoft/winget-cli

Add ability to search/filter or group by publisher

Open
#5,857 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature PowerShell
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI, PowerShell Module

Description of the new feature / enhancement

Searching/filtering as well as grouping results by publisher seems to be a feature that may be worth investigating, particularly if there are in future similar named packages that are from different publishers.

By enabling this as an additional search filter it should speed up search results.

Proposed technical implementation details

In the CLI I'd expose this by means of an additional returnable property, off by default, unless requested by an additional cli switches --return-publisher, --sort-publisher & --group-publisher

When --return-publisher is called the results returned by winget should visually show a seperate publisher field in the returned data view & optionally could work with a --sort-publisher`

When --group-publisher is called the results returned by winget should visually group packages with seperated groups for each publisher

In the PowerShell Module, this should be an additional property that is not initially displayed but can easily be returned for additional manipulation via Select/Group/Sort/Where Object cmdlets

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

Start by inspecting the WinGet CLI result display and option handling, then compare how package properties are exposed by the PowerShell Module. Define the behavior of --return-publisher, --sort-publisher, and --group-publisher, including their interactions, and verify that publisher data is available for filtering and grouping in both interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.