Package: azdev
Microsoft Azure CLI Dev Tools (azdev)Theazdevtool is designed to aid new and experienced developers in contributing to Azure CLI command modules and extensions.Setting up your development environmentInstall Python 3.6+ fromhttp://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.Fork and clone the repository or repositories you wish to develop for.For Azure CLI:https://github.com/Azure/azure-cliFor Azure CLI Extensions:https://github.com/Azure/azure-cli-extensionsAny other repository that you might have access to that contains CLI extensions.Create a new virtual environment for Python in the root of your clone. You can do this by running:Python 3.6+ (all platforms):python -m venv envor:python3 -m venv envActivate the env virtual environment by running:Windows CMD.exe:env\scripts\activate.batWindows Powershell:env\scripts\activate.ps1OSX/Linux (bash):source env/bin/activateInstallazdevby running:pip install azdevComplete setup by running:azdev setupThis will launch the interactive setup process. To see non-interactive options runazdev setup -h.Reporting issues and feedbackIf you encounter any bugs with the tool please file an issue in theIssuessection of our GitHub repo.Contribute CodeThis project has adopted theMicrosoft Open Source Code of Conduct.For more information see theCode of Conduct FAQor contactopencode@microsoft.comwith any additional questions or comments.If you would like to become an active contributor to this project please
follow the instructions provided inMicrosoft Azure Projects Contribution Guidelines.LicenseAzure CLI Dev Tools (azdev)

Copyright (c) Microsoft Corporation
All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.::Release History0.1.64azdev extension cal-next-version: Fix module name when querying extension modules from index.0.1.63azdev: Update required version forazure-cli-diff-tool.0.1.62azdev extension cal-next-version: New command to calculate valid version for next extension module release.0.1.61azdev test: Add some examples.azdev style: Modify the execution order of the _update_table function.azdev linter: Bug fixes for_detected_tested_command, strictly limited to starting with test and ending with .py or .yaml0.1.60azdev statistics list-command-table: Handle exceptions when source code cannot be retrieved0.1.59azdev command-change meta-export: Normalize basic cmd types: str, bool, int, float0.1.58Fix cmdcov issue(#417): Any name of a parameter has been tested, the parameter should be considered as passing the parameter test coverage.0.1.57azdev command-change meta-diff: Remove duplicated meta-diff code and use azure-cli-diff-tool0.1.56Fix cmdcov issue(#410): Get config from github when get_cli_repo_path failed0.1.55azdev command-change meta-diff: Fix data/meta_change_whitelist.txt pkg building0.1.54azdev command-change meta-export/meta-diff: Add cmdtypeextraction, fix false positive in cmdPropUpdate and add whitelist in certain meta-changes (#401)0.1.53azdev command-change meta-export: Add rule link (#402)0.1.52Fix cmdcov issue(#396): Fix the regex which to get the command group0.1.51Fix cmdcov issue(#391): Add violation message to cmdcov linter rule and fix related issues0.1.50Fix cmdcov issue(#385): Add cmdcov to package data0.1.49Add Command Coverage Report for CLI modules (#323)Add Linter rule missing_command_coverage and missing_parameter_coverage  (#323)Add Command Coverage Report for CLI extensions (#383)0.1.48azdev command-change meta-export: Add option deprecation info and ignorecmdarg (#381)0.1.47azdev command-change meta-export: Load parameter from module loader (#378)0.1.46azdev command-change meta-diff: Add subgroups change detect (#374)0.1.45azdev command-change meta-diff: Refine no meta diff output (#372)0.1.44azdev command-change meta-export: Fix object dump failure (#370)0.1.43azdev statistics list-command-table: Fix unexpected indent (#368)0.1.42azdev command-change meta-export/meta-diff: Generate cli cmd meta data and the diffs between two meta data (#362)0.1.41azdev statistics list-command-table: Support stats of nested function (#363)0.1.40Fix pytest issues (#347)0.1.39Fix package issues (#345)0.1.38azdev statistics list-command-table: List Command table for CLI modules (#342)azdev statistics diff-command-tables: Diff the command table change (#343)0.1.37azdev verify license: Support license for CodeGen V2 (#334)azdev test: Revert integrate pytest-cov  (#327)0.1.36Remove colorama reference (#321)0.1.35Support Python 3.10 (#319)Replacemasterbranch bymainbranch (#315)Dropmocklibrary (#313)Add extension repo missing error (#309)0.1.34azdev linter: support to detect commmand groups which are missing in command_group_table (#308)0.1.33Bumppylintto 2.8.2 and move–ignoretopylintrcfile (#301)0.1.32Bumppylintto 2.8.0 (#295)0.1.31azdev style: Fixpylintby pinningastroidto 2.4.2 (#294)Fix_copy_vendored_sdkfor Track 2 SDK (#293)0.1.30Change azure-storage-blob dependency (#290)0.1.29azdev linter: Remove the prefix dashes in option length calculation (#284)azdev setup: Show error ifpipcommand fails (#281)Support Python 3.9 (#280)0.1.28[Linter] Fix minor display issue inazdev linter.0.1.27[Linter] “Show” command should useshow_commandorcustom_show_command.0.1.26Support PEP420 package0.1.25azdev test: new parameter –markUpdate the way invoking pytestazdev perf benchmark: refine outputSupport PEP420 package0.1.24[Linter] Argument must have an option whose length is less than 22.[Linter] Argument cannot contain “_”.0.1.23[Linter] Only violation of high severity rule would exit with 1.Minimal pytest version requires at least 5.0.0.0.1.22Hornor the configuration of pylint and flake8 in Azure/azure-cli and Azure/azure-cli-extensions.Rename test folder to make place for unittest of other commands.Enable test result coverage.0.1.21Fix isort package version to 4.3.21.azdev perf benchmark: support new command to calculate each command execution time.0.1.20azdev setup: Fix missing dependencies of azure-cli-testsdk0.1.19Downgrade parameter_should_not_end_in_resource_group’s severity to medium.Fix bug that azdev test could not work on Windows with Chinese system language.0.1.18Linter Rule Severity: Rules now have an associated severity level. Only high severity rules should be run in CI. All previous rules are annotated as HIGH severity.Note: HIGH severity rules are egregious and should generally be fixed, not excluded. LOW severity rules tend to be informational, and might raise false positives. Exclude them vialinter_exclusions.ymlin the CLI.azdev linter: Expose–min-severityto support idea of rule severity. New HIGH, MEDIUM and LOW severity rules have also been added.0.1.17azdev setup: Add option –deps-from to allow resolving dependencies from requirements.txt or setup.py. The default changes to requirements.txt.0.1.16azdev test: Add option –no-exit-first to disable pytest exit once failure is detected0.1.15sys.exit(0)when no tests need to run instead of raising CLIError0.1.14Refine the logic of testing against different profiles withProfileContextpytest version limit change to pytest>=4.4.0UseAzureDevOpsContextto apply incremental test strategyRefine the main flow of azdev test to be more compact and clean0.1.13azdev verify license: fix bug that license verification will omit files while checking extensions0.1.12azdev extension publish: fix issue when –yes if not providedazdev verify license: support CodeGen generated LicenseDrop Python 2 and Python 3.5 support0.1.11azdev extension build: remove –universal to respect setup.cfg0.1.10relax version limit of microsoft/Knack0.1.9azdev extension publish: add –storage-account-key and remove –storage-subscriptionazdev extension update-index: remove unnecessary warning that will fail this commandCI: usepip install -einstead in ADO to fix fix import bug0.1.8fix: azdev test cannot be used in python 3.8.1 or later0.1.7fix: azdev test cannot find core tests0.1.6Fix bug: azdev==0.1.5 help commands’ error0.1.5azdev extension add/remove:Add ability to supply wildcard (*) to install all available dev extensions.Add ability to remove all installed dev extensions.azdev setup:Add ability to install all extensions using–ext/-e *.Add ability to install CLI edge build with–cli/-c EDGE.azdev style/test/linter:Add special names CLI and EXT to allow running on just CLI modules or just extensions.
extensions which have changed based on a git diff.azdev linter:Added–include-whl-extensionsflag to permit running the linter on extensions installed using
theaz extension addcommand.azdev verify license:Command will not check any dev-installed CLI and extension repos. Previously, it only checked the CLI repo.New Command:azdev cli/extension generate-docsto generate sphinx documentation.0.1.4azdev linter: Fix issue with help example rule.azdev style: Omit namespace packages from core modules.azdev verify document-map: Updates to work correctly on Linux.0.1.3azdev linter: Fix issue where certain installations would fail onci_exclusions.ymlnot found.0.1.2azdev setup: Fix regression where azure.cli could not be run after installation.0.1.1azdev cli/extension create: Fix issue where supporting files were not included. Adjust generation logic.0.1.0Update for compatability with azure-cli 2.0.68’s new package structure.BREAKING CHANGE: Removedazdev cli update-setup. Package changes to azure-cli no longer require this.BREAKING CHANGE:azdev verify historyandazdev cli check-versionsno longer accept any arguments. Since there are
now far fewer modules, these were deemed unnecessary.0.0.6Added new commandsazdev cli createandazdev extension createto scaffold new modules/extensions.azdev setup: Tweaks to interactive experience.azdev test: Fix issue where using–profiledid not use the correct index.Changed the behavior to switch back to the original profile upon completion of tests.0.0.5Fix issue whereazdev cli check-versionsdid not accept the short form of a module name.Updateazdev cli check-versionsto allow modules as a positional argument, consistent with other azdev commands.Fix issue whereazdev test –discovercould result in a stack trace when a virtual environment exists within an extensions repo.0.0.4Fix critical bug inazdev setup.0.0.3Adds new commandsazdev extension buildandazdev extension publishto simplify extension publishing.Updates default exclusions forazdev linterwhen used on extensions.Adds a–ci-exclusionsflag toazdev linterto emulate CI mode when run locally.Fix issue whereazdev test –discovercould result in a stack trace when a virtual environment exists within a cloned repo.Tweaks thresholds forazdev per load-times.0.0.2Changes the behavior ofazdev testto, by default, run tests on everything to be consistent with commands likeazdev styleandazdev linter.Removesazdev verify versionand splits into two commandsazdev cli check-versionsandazdev cli update-setup.Various modifications to play nicely with azure-cli’s CI build system.Revampsazdev perf load-timesto reduce spurious failures.0.0.1Initial release