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

Update logic for how workload version is displayed #40005

Closed
dsplaisted opened this issue Apr 4, 2024 · 0 comments
Closed

Update logic for how workload version is displayed #40005

dsplaisted opened this issue Apr 4, 2024 · 0 comments
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@dsplaisted
Copy link
Member

The workload version can be displayed via dotnet workload version, and is also displayed in dotnet workload --info.

  • If in a context with a workload set version specified in global.json, the version from global.json should be displayed. If that workload set version isn't currently installed, dotnet workload --version should still display it wiithout erroring.
  • If a workload set is in use, its version should be displayed
  • If not using a workload set, or if the update mode is set to workload sets but no workload set is installed, then display a version based on a hash of the workload manifest versions, which looks something like 8.0.300-manifests.ab95c30

Also, we should update dotnet workload --info to display the workload config settings (currently just the update mode).

FYI @baronfel @marcpopMSFT @Forgind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant