microsoft / microsoft/winget-cli
Adding include-available option to winget export
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
To make the report more dynamic and contains more data is there a chance to add include-available option to the exported json file for example winget export -o c:\temp\winget.json --include-versions -- include-available the exported json file will contain something like this help admins and developers a like for automation
{
PackageIdentifier" : "Microsoft.VisualStudio.2022.Community",
"Version" : "17.11.1",
"Avialbalble": "17.11.2"
},
Proposed technical implementation details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the winget export command and its existing --include-versions option, then inspect how exported JSON is structured and how available package versions are obtained. Clarify the expected field name, behavior, and compatibility before identifying tests or a completion criterion for including available versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100