-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Jonathanhe/workload network #3910
Jonathanhe/workload network #3910
Conversation
…etwork-dns-server
…thanhe-msft/azure-cli-extensions into jonathanhe/workload-network
vmware |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change one argument that I commented on, then this can be moved out of draft.
I'm not sure how several of these -id
arguments should be handled. I'll have to differ to the CLI team reviewer. The guidelines recommend:
ID Arguments:
Arguments that end in -id should be GUIDs.
Arguments that expect ARM IDs should omit -id but call out that an ARM ID is allowed in the help text. These are often used as part of the "name or ID" convention (i.e: --storage-account can often accept a storage account name OR ARM ID).
https://github.com/Azure/azure-cli/blob/dev/doc/command_guidelines.md#argument-naming-conventions
Since these strings are not GUIDs, should the -id
suffix's be removed?
@zhoxing-ms, can you please review? See my earlier questions about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change one argument that I commented on, then this can be moved out of draft.
I'm not sure how several of these
-id
arguments should be handled. I'll have to differ to the CLI team reviewer. The guidelines recommend:ID Arguments:
Arguments that end in -id should be GUIDs.
Arguments that expect ARM IDs should omit -id but call out that an ARM ID is allowed in the help text. These are often used as part of the "name or ID" convention (i.e: --storage-account can often accept a storage account name OR ARM ID).
https://github.com/Azure/azure-cli/blob/dev/doc/command_guidelines.md#argument-naming-conventionsSince these strings are not GUIDs, should the
-id
suffix's be removed?
That's a good point! If they are not GUIDs, please remove the suffix of -id
, otherwise users will be confused about the input value
@jonathanhe-msft Could you please fix those CI issues? |
@zhoxing-ms All CI issues have been fixed |
It looks good overall, but I have one small question: The file recording the release note is usually |
Please, let's not change that. A CHANGELOG.md is commonly used in Python long descriptions too. It reads better on Github. azure-cli-extensions/src/vmware/setup.py Lines 15 to 23 in ae1689b
|
@jonathanhe-msft @cataggar In fact, we can modify the file name referenced in with open1('HISTORY.md', 'r', encoding='utf-8') as f:
HISTORY = f.read() For readability, we can only change the file name to |
* rename to HISTORY.md #3910 (comment) * publish vmware 3.2.0
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)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 PR is merged into master branch, a new PR will be created to update
src/index.json
automatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json
.