microsoft / microsoft/winget-cli

Add MaximumOSVersion and/or SupportedOSVersions to manifest

Open
#2,209 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description of the new feature / enhancement

The manifest currently allows for a MinimumOSVersion to distinguish apps which cannot be installed on older versions of the OS. However, there are also some packages (see microsoft/winget-pkgs#62490) which cannot be installed on newer versions of the OS such as Windows 11. This compatibility issue should be able to be placed in the manifest

Proposed technical implementation details
  1. Implement a field in the manifest for fully defining OS version support
  2. Do something with that information
  • Hide the packages which are unsupported?
  • Mark the versions with a special character as suggested in #2134 ?
  • Display a warning that installing this package on a newer OS may not work, or the program may need to be run in compatibility mode?
  • Anything to keep users informed

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 reviewing how the manifest currently represents and uses MinimumOSVersion. Read microsoft/winget-pkgs#62490 and issue #2134 for the compatibility cases and proposed approaches. Done would require agreeing on a complete supported-OS field and a defined user-facing behavior for unsupported packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.