-
So, I just have started committing to the package list, and one thing bothers me slightly: release channels and package IDs. Most packages that I have seen append channel name to the package name itself, thus having separate folders for different channels. However, PowerShell Preview is named So, I have two questions right now:
I have also seen in microsoft/winget-cli#147 that VS Code Insiders, apparently, previously had a separate folder, but at some point between 09/30/2020 and 03/30/2021 (could not find the exact PR) its ID was modified and it was moved inside the GA folder. So, yeah, how should I deal with release channels? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We haven't really implemented channels the way we were originally thinking yet. The current thinking with packages like Visual Studio Code is that they are a separate package that can safely live "side by side". With channels the idea is that it would be for packages that cannot live "side by side" like Docker Desktop. We don't want to incorrectly upgrade a stable package on top of another channel or vice versa. That implies the notion of channel being "inside" the same manifest for those packages. |
Beta Was this translation helpful? Give feedback.
We haven't really implemented channels the way we were originally thinking yet. The current thinking with packages like Visual Studio Code is that they are a separate package that can safely live "side by side".
With channels the idea is that it would be for packages that cannot live "side by side" like Docker Desktop. We don't want to incorrectly upgrade a stable package on top of another channel or vice versa. That implies the notion of channel being "inside" the same manifest for those packages.