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

az version of Edge builds should give a version number different to releases #25650

Open
bb-froggy opened this issue Mar 2, 2023 · 3 comments
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Core CLI core infrastructure customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request
Milestone

Comments

@bb-froggy
Copy link

Related command
az version

Is your feature request related to a problem? Please describe.
I currently see no possibility to find out whether I am using the normal az release or the Edge build from the command line. This makes it harder to analyze problems, which may or may not depend on whether it is an Edge build.

Describe the solution you'd like
When running az version, it should print a special version number for non-releases. For example, it might say 2.45.0-edge or 2.45.0.377 (where 377 is some kind of commit or build counter).

Describe alternatives you've considered
In Windows, I can look into "Programs and Features" how many Azure CLI installations exist. If it is more than one, chances are that one is the edge build. Other than that, I can only deduce it from behavior that I know is different in the Edge build.

Additional context

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Mar 2, 2023
@yonzhan yonzhan added Core CLI core infrastructure Azure CLI Team The command of the issue is owned by Azure CLI team feature-request labels Mar 2, 2023
@yonzhan yonzhan added this to the Backlog milestone Mar 2, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 2, 2023

@jiasli for awareness

@bebound
Copy link
Contributor

bebound commented Mar 3, 2023

On Linux, you can only install one CLI version.
On Windows, you can keep both official and edge builds only if their versions are the same.
But this is problematic, you may meet problems like #25607.

We recommend you keep one version on your server.

@bb-froggy
Copy link
Author

Okay, I am making sure that there is only one version at a time on a machine. But it would still be nice if az version would tell whether it is the regular release or something else.

For example, if some command fails at a customer, and I try to reproduce the failure, it would be good to know whether the customer used the regular Azure CLI release, so I know that the failure must be related to the customer environment only. If the customer used the Edge build, it might also be a consequence of some change in the Edge build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Core CLI core infrastructure customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request
Projects
None yet
Development

No branches or pull requests

4 participants