Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.95k forks source link

[Feature] - Change winget Package Identifier #25429

Open Trenly opened 1 year ago

Trenly commented 1 year ago

In the Winget repository, it is possible to nest folders to create a cleaner structure for searching and finding packages. Currently, the Package identifier of Microsoft.AzureCli is being used. It would be easier for users to find azure tools if the Package identifier were changed to Microsoft.Azure.Cli

yonzhan commented 1 year ago

@bebound for awareness

bebound commented 1 year ago
  1. This a breaking change. If there is no big issue, I'd like to keep using the current one.
  2. What does this mean? It would be easier for users to find azure tools if the Package identifier were changed to Microsoft.Azure.Cli winget search azure/azurecli works.
Trenly commented 1 year ago
  1. This a breaking change. If there is no big issue, I'd like to keep using the current one.

Technically, it is no big issue. I don't see it as a breaking change for upgrades, since the new Identifier would be picked up automatically, but I do understand that some users may have hardcoded the package identifier into scripts or documentation.

  1. What does this mean? It would be easier for users to find azure tools if the Package identifier were changed to Microsoft.Azure.Cli winget search azure/azurecli works.

There are users who browse the winget-pkgs repository or query against it using the GitHub API in order to find packages. In the folder "Microsoft" there are more than 80 folders. Changing the identifier would move it down one level into the "Microsoft/Azure" folder, which is a better logical grouping for it.

bebound commented 1 year ago

Thank for the explanation. I can see you point, but it's not strong enough to change the identifier.