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

Handle dashes in extension names better #4839

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Conversation

derekbekoe
Copy link
Member

e.g. image_copy_extension now becomes image-copy-extension as it should be.

Previously we were using the name from the .whl file directly but that filename converts - to _ which is not what we want.
https://www.python.org/dev/peps/pep-0427/#file-name-convention

This change should be backwards compatible.

@derekbekoe derekbekoe added the Extensions `az extension` commands or extension infrastructure label Nov 6, 2017
@derekbekoe derekbekoe added this to the Sprint 26- Connect() milestone Nov 6, 2017
@azuresdkci
Copy link
Contributor

View a preview at https://prompt.ws/r/Azure/azure-cli/4839
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

@derekbekoe derekbekoe requested a review from troydai November 6, 2017 23:00
@derekbekoe
Copy link
Member Author

Linked to Azure/azure-cli-extensions#18

@troydai troydai merged commit 1439b5c into Azure:dev Nov 8, 2017
@derekbekoe derekbekoe deleted the ext-dashes branch November 8, 2017 18:23
LukaszStem pushed a commit to LukaszStem/azure-cli that referenced this pull request Nov 9, 2017
vmss: support basic tier of vms (Azure#4847)

Azure IoT CA functionality (Azure#4804)

* Adds support for X.509 Certificates in IoT Hub.

* Modifies release notes and changes help link.

* Cleans up .gitignore, and HISTORY.rst. Passes a single factory in commands.py. Moves test utilities. Adds a file completer.

* Updates style after rebase based on additional linter restrictions.

Reserved Instance cli public PR (Azure#4838)

Handle dashes in extension names better (Azure#4839)

Fix `az aks get-credentials` on Windows (Azure#4762)

* Fix `az aks get-credentials` on Windows

* Move k8s file merge logic to helper function

appservice: support assign managed service identity to webapp/functionapp (Azure#4837)

Extension examples small improvement (Azure#4852)

Fixing appservice list-locations (Azure#4846)

Add extension name to telemetry and UA header (Azure#4854)

Fix Azure#4825. (Azure#4853)

Extensions `az extension add` --yes param as flag (Azure#4858)

Fix issue Azure#2752. (Azure#4859)
@haroldrandom haroldrandom added the Extensions `az extension` commands or extension infrastructure label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extensions `az extension` commands or extension infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants