Skip to content

Conversation

@wangzelin007
Copy link
Member

@wangzelin007 wangzelin007 commented Jul 28, 2023


When two extensions have the same command, the following error will be reported:
Exception: Key: show already exists in containerapp. 2 extensions cannot have the same command!
Temporarily skip the containerapp-preview extension to aviod this error.
Which will cause the containerapp-preview extension to be unable to use the dynamic load function.
That is, when using the unique command of containerapp-preview, the extension cannot be automatically prompted to install.

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Jul 28, 2023

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd
Copy link

Hi @wangzelin007,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@azure-client-tools-bot-prd
Copy link

Hi @wangzelin007,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@yonzhan
Copy link
Collaborator

yonzhan commented Jul 28, 2023

CI

@kairu-ms
Copy link
Contributor

It's better to update it here

blocklist=("azure-cli-ml" "alias")

Copy link
Contributor

@Juliehzl Juliehzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not want to be a special case with such exclusion. Let's discuss for better solution next week.

@wangzelin007
Copy link
Member Author

wangzelin007 commented Jul 28, 2023

we do not want to be a special case with such exclusion. Let's discuss for better solution next week.

Since our pipeline for updating the extension command index has been affected, I will merge this pr first.

image

@wangzelin007 wangzelin007 merged commit 3df4a81 into Azure:main Jul 28, 2023
wangzelin007 added a commit that referenced this pull request Aug 9, 2023
wangzelin007 added a commit to wangzelin007/azure-cli-extensions that referenced this pull request Aug 9, 2023
wangzelin007 added a commit that referenced this pull request Aug 11, 2023
* Revert "{CI} Update the --dependent-file parameter to be an optional argument to avoid introducing a breaking change. (#6521)"

This reverts commit b442cf0.

* Revert "{CI} Fix verify ref docs (#6507)"

This reverts commit f12d922.

* Revert "{CI} Fix command tree broken issue (#6573)"

This reverts commit 3df4a81.

* revert linter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants