Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version specific feature #227

Open
usagi opened this issue May 20, 2020 · 2 comments
Open

version specific feature #227

usagi opened this issue May 20, 2020 · 2 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@usagi
Copy link

usagi commented May 20, 2020

Description of the new feature/enhancement

I want a version specific install feature like as the --version argument of Chocolatey.

  • eg. 1: winget install node --version 12.16.3 full specified version
  • eg. 2: winget install node --version 12 ; specified major version, minor and revision are auto
  • eg. 3: winget install node --version 03adacd473513da7adccf9f96123e28e098fd885 ; specified commit-ID
  • eg. 4: winget install node --version experimental-brabrabra ; specified branch or tag

Of course, these examples are ideal but I want eg1 at least.

Note: --version argument is already used to show version of this app. So, it will be require a solution for the argument patterns too.

Proposed technical implementation details (optional)

See also Chocolatey's examples: https://chocolatey.org/docs/commandsinstall#examples

// Cite: https://chocolatey.org/docs/commandsinstall#examples
choco install ruby --version 1.9.3.55100 -my
choco install ruby --version 2.0.0.59800 -my
choco install ruby --version 2.1.5 -my
@usagi usagi added the Issue-Feature This is a feature request for the Windows Package Manager client. label May 20, 2020
@usagi
Copy link
Author

usagi commented May 20, 2020

Note: Maybe related to: #163 #216 #120

@JohnMcPMS
Copy link
Member

Example 1 is already supported:
-v,--version Use the specified version; default is the latest version

Example 2 seems relatively easy, but doesn't work right now.

Example 3 isn't the kind of data we have, and Example 4 is future work covered by #147

@denelon denelon added this to the Package Manager Backlog milestone May 28, 2020
@denelon denelon modified the milestones: Package Manager Backlog, Package Manager v0.28.x Aug 24, 2020
@denelon denelon modified the milestones: Package Manager v0.28.x, Package Manager Backlog, Backlog - Windows Package Manager, v.Next - Windows Package Manager May 3, 2021
@denelon denelon removed this from the v.Next-Client milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

3 participants