install-scripts icon indicating copy to clipboard operation
install-scripts copied to clipboard

`-c STS` is almost meaningless when the latest major release is an LTS (e.g. .NET 8)

Open nodakai opened this issue 7 months ago • 5 comments

I believe that the -c STS option should consider both STS and LTS releases, rather than focusing exclusively on STS. Alternatively, there could be a different mode that selects the newer version between STS and LTS.

Currently, -c LTS (the default) installs SDK 8.0.100, while -c STS installs 7.0.404. It seems more practical to use -c 8.0 etc. and update the channel IDs once a year, if -c STS does not automatically choose the latest major release channel.

While the current approach might align with the distribution method of release files on Azure CDN, it's not particularly convenient for the script users.

nodakai avatar Nov 23 '23 05:11 nodakai

Hi @nodakai, Thank you for reporting this issue. Let's invite other people to discuss your reasoning.

@leecow & @baronfel please share your opinion on that. Probably we can improve documentation/review the existing script design.

YuliiaKovalova avatar Nov 28 '23 09:11 YuliiaKovalova

The desired outcome is reasonable, and I recall discussions early in .NET around STS (then 'Current') and LTS resolving to the same version every other release cycle. I don't have any objections to making the change.

leecow avatar Nov 28 '23 12:11 leecow

I'm ok with that change as well - my understanding is that this is more a question of how the STS channel is documented in the help and learn.ms.com docs for this tool, plus some changes to the automated processes that the release team uses to create the redirect scheme for us. Is that correct?

baronfel avatar Nov 29 '23 16:11 baronfel

I'm ok with that change as well - my understanding is that this is more a question of how the STS channel is documented in the help and learn.ms.com docs for this tool, plus some changes to the automated processes that the release team uses to create the redirect scheme for us. Is that correct?

You are right. And there is always a chance to download the latest version from the specified channel - it can fill the potential gap for the option absence.

YuliiaKovalova avatar Nov 30 '23 12:11 YuliiaKovalova

@baronfel, at the same time, the next SDK version is planned to be released as STS https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core#cadence:~:text=.-,NET,-release%20cadence So in a year STS -> .net 9, LTS -> .net 8 @rbhanda, do I miss anything here?

YuliiaKovalova avatar Dec 11 '23 10:12 YuliiaKovalova