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

Install SDK respecting global.json configuration #476

Closed
mattinsp opened this issue Jun 12, 2024 · 7 comments
Closed

Install SDK respecting global.json configuration #476

mattinsp opened this issue Jun 12, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@mattinsp
Copy link

Is your feature request related to a problem? Please describe.

The dotnet CLI should allow installation of SDK versions respecting the configuration in global.json.

Describe the solution you'd like

dotnet sdk install <version> - version should be optional and omitting it should utilise the global.json file.

Additional context

dotnet-install.ps1. exists and allows a jsonfile to be set but this does not respect the "rollForward" configuration which significantly limits its use.

@marcpopMSFT marcpopMSFT transferred this issue from dotnet/sdk Jun 12, 2024
@marcpopMSFT
Copy link
Member

Moving since the request is related to the install scripts. We are looking into CLI commands for update/install but those will come in a future release.

@YuliiaKovalova
Copy link
Member

Hi @baronfel ,

Could you please to prioritize this work?
Thank you!

@mattinsp
Copy link
Author

Moving since the request is related to the install scripts. We are looking into CLI commands for update/install but those will come in a future release.

The problem and requested solution clearly indicate that this is about the dotnet CLI, why was this moved?

@YuliiaKovalova YuliiaKovalova added enhancement New feature or request and removed untriaged labels Jun 14, 2024
@YuliiaKovalova
Copy link
Member

Moving since the request is related to the install scripts. We are looking into CLI commands for update/install but those will come in a future release.

The problem and requested solution clearly indicate that this is about the dotnet CLI, why was this moved?

cc: @marcpopMSFT

@mattinsp
Copy link
Author

@YuliiaKovalova I believe #468 addresses this issues with the install scripts which is good to see, but this also needs implementation in the dotnet CLI of course.

@marcpopMSFT
Copy link
Member

I moved it as I took the additional context to be about supporting rollforward in the install scripts. It's true that there is also a suggestion to have this capability in the dotnet CLI which would live in the sdk repo but we have an issue tracking improving the acquisition already:
dotnet/sdk#14960

So I think since we have 14960 and 468, perhaps this issue can be closed and tracked there?

@YuliiaKovalova
Copy link
Member

Expected work from install-scripts side will be handled in scope of
#468

@YuliiaKovalova YuliiaKovalova closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants