Граф коммитов

366 Коммитов

Автор SHA1 Сообщение Дата
Troy Dai 3a74c95462
Replace dependencies of LiveTest with LiveScenarioTest
After moving to the devtools, the original LiveTest stop working because
of the missing cmd function. The newly created LiveScenarioTest will
take over its place. The LiveTest will be eventually removed from the
devtools package since the live_only decorator is sufficent.
2017-06-21 22:52:54 -07:00
Derek Bekoe 0ffb6b2c62 📝 Add profile authoring to help system docs (#3777) 2017-06-19 20:29:01 -07:00
Ian McCowan ce2cb0e0b8 📝 Update document of scenario base tests (#3753) 2017-06-19 10:34:33 -07:00
Troy Dai cdad00772f
Update const values in testsdk 2017-06-17 19:56:40 -07:00
Troy Dai ec9f58a902 Update document: recording_vcr_tests.md (#3652) 2017-06-12 07:25:19 -07:00
Suhail Dawood 286191cee7 Fix path for virtual environment activation (#3642) 2017-06-09 10:00:59 -07:00
Panda Wang 40c111b3da CLI commands for azure billing and consumption (#3402) 2017-05-25 14:03:24 -07:00
Derek Bekoe c8de8e1065 Fix doc source map and add CI task to verify (#3361) 2017-05-17 10:52:53 -07:00
Derek Bekoe 85d95913a0 Remove references to CLI being in preview (#3273) 2017-05-09 12:03:04 -07:00
Mohammad Derakhshani e587f23906 [DocDB] Package rename (#3267)
* folder restructured

 * azure-cli-documentdb/azure/cli/command_modules/documentdb changed to
   azure-cli-cosmosdb/azure/cli/command_modules/cosmosdb/

* documentdb renamed

* documentdb blacklisted, rename added

* review comments addressed

* pylint fixed, help fixed

* doc_source_map updated

* fixed a style issue

* fixed test
2017-05-09 09:57:02 -07:00
Derek Bekoe 3e18e4a3df Add link to blog in ‘az interactive —help’ (#3252) 2017-05-08 15:31:00 -07:00
Sarthak Narang 890155527a Removing az container module (#3156)
* Removing az container module

* Reverting formatting change.
2017-05-03 15:38:27 -07:00
Qinen.Zhu 35ddb1d088 Fix typo with ref doc generation script (#2930) 2017-04-19 18:29:48 -07:00
Qinen.Zhu 04d0dbd634 Fix build error (#2916) 2017-04-19 08:37:31 -07:00
Payam Hekmat 92ffc68528 Fix Markdown formatting in a couple of doc files (#2822)
* Fix markdown formatting in `configuring_your_machine.md`

* Fix markdown formatting in `recording_vcr_tests`
2017-04-11 09:54:33 -07:00
Derek Bekoe 8dda58ca3c Add clearer guidelines on modifying changelog (#2739)
* Add clearer guidelines on modifying changelog

* A few smaller changes

* another small format change

* Code review changes
2017-04-05 11:54:22 -07:00
Derek Bekoe 0522acaefe Fix doc references to azure.cli.commands (#2740)
* Fix doc references to azure.cli.commands

This module has moved to azure.cli.core.commands

* Fix PyLint
2017-04-05 11:53:42 -07:00
Derek Bekoe ec2149e88b Update test docs for running individual test and all tests in mod (#2763)
* Update test docs for running individual test and all tests in mod

* Made feedback changes
2017-04-04 16:45:38 -07:00
Troy Dai 458176df90 Add scenario tests documentation (#2555) 2017-03-20 09:17:17 -07:00
Derek Bekoe 6de1d03603 Update example command module template (#2501)
* Update example command module template

Now, it can be installed directly and works with latest code in master.
‘pip install -e .’

* Address code review feedback
2017-03-15 11:28:30 -07:00
Travis Prescott d614a1a734 Update module authoring readme. (#2043)
Based on user feedback, added links to supporting documentation necessary for authoring command modules (the actual commands themselves, help and tests)
2017-02-10 16:05:30 -08:00
Derek Bekoe b6d037f2d4 Handle cloud switching in more user friendly way + remove context (#1989)
* Improvements to context/cloud commands

- Log info on the current active cloud to --debug.
- Add known clouds to config file as well.
- Show logger messages when switching cloud.
- Handle cloud switching in more user friendly way.
- Set cloud with CLI commands or AZURE_CLOUD_NAME env var.
- New commands ’az cloud set —name <NAME>’ and `az cloud update`
- Remove context.
- Remove configuration support for each context.
- Remove context options from ‘az configure’.
- Remove azure-cli-context command module.
- Blacklist the ‘context’ module to prevent it from being loaded.

* - Remove --default-subscription
- Account commands should be aware of current cloud

* Minor changes

- change method name
- catch additional exception

* Change error to warning
2017-02-08 15:30:07 -08:00
Allen Clark 4de83705db Update authoring_help.md (#1947) 2017-02-01 08:30:22 -08:00
erich-wang 40439f1e50 fix build error and update doc source map (#1831)
* fix build error and update doc source map

* update doc build script to support git info at command level
2017-01-24 08:43:10 -08:00
Derek Bekoe 8e1d2aa2e1 Add Python 3.6 to CI (#1821)
* Add Python 3.6 to CI

* Workaround for https://github.com/kevin1024/vcrpy/issues/293
- Do not run pylint on 3.6 as pylint doesn’t support 3.6 yet
- Add Python 3.6 to package classifiers
2017-01-23 19:24:10 -08:00
Derek Bekoe f2746798a8 Support Force & Confirm (#1783)
- When registering a command, add `confirmation=True` to enable user confirmation. Also supports a string message or callable.
- Add a —force flag for commands that support this feature.
- Integrated with configuration system so it can be enabled/disabled by setting AZURE_CORE_DISABLE_CONFIRM_PROMPT

Added for the following commands:
az group delete
az vm delete
az network dns zone delete
2017-01-20 11:34:51 -08:00
Derek Bekoe fd8e6d46d5 Packaged release & Component release docs/setup (#1721)
* Packaged release & Component release docs/setup

- Provide instructions on installing with brew
- Update docs on Homebrew packaging (how to update etc.)
- Remove the azure-cli-2 formula here as it’s in the homebrew repo now
- New packaged Docker image that builds from source and apply patches
- New Debian (apt-get) build instructions that build from source and apply patches
- Releasing components instructions
- Documentation on creating packaged releases
- Debian build automation

* Debian build script uses tmp directories so it is idempotent
2017-01-13 10:36:31 -08:00
Derek Bekoe 3a683c9a56 Remove redundant requirements.txt files (#1700)
Dependencies are defined in the setup.py file for each command module. That’s all that’s required.

The requirements.txt files in the command modules are never used.
- They are not required for dev_setup
- They do not get packaged when a command module is built
- Some of them hadn’t been updated for some time.
2017-01-10 10:56:18 -08:00
Vishrut Shah f8e0d10369 [Docs] Correcting unittest location in docs (#1642) 2017-01-04 15:46:07 -08:00
Derek Bekoe 4d1abf122d [Docs] Update and improve readability of install instructions (#1584)
* Update and improve readability of install instructions

- Create common install issues doc
- Move developer set up
- Create Linux install prereq doc
- Additional component instructions
- Nightly instructions on README

- Remove pypi version shield
The PyPI version of azure-cli is not significant.

* lowercase install troubleshooting
2016-12-15 16:13:22 -08:00
Derek Bekoe 5160c2bb4a Update preview install guide (#1556)
- sudo no longer required as global install not default
2016-12-14 15:29:26 -08:00
Yugang Wang 362e098288 update readme text which still uses 'az resource group' (#1525) 2016-12-09 13:13:10 -08:00
Allen Clark 01b0e4ae6b More doc quality (#1493)
* admin cmd prompt

Use the admin cmd prompt in to install the CLI (pip) on Windows

* punctuation

* Revert "admin cmd prompt"

This reverts commit ac57b1415a8d682ff223b00aa064bd92fdccff0c.

* Add plan group

* Web app group and command descriptions

* component group and command summaries

* Fix appservice plan group

* Consistent use of "Commands to ..." for groups

* Use long-summary

* Fix long-summary

* Fix caps & punctuation in login examples.

* language

* Fix account command summaries

* parens

* clarify that these are storage contexts

* group summaries

* typo

* Revert "clarify that these are storage contexts"

This reverts commit c82edd4f29c10e9d6639b6da87db6c35f6e84dbe.

* Fix iot device group

* Update _help.py

* redis commands

* Fix

* authoring help

* Doc quality

* missing command help

* availabilty set create/update

* az account

* vm wait

* vm extension list

* Fix quote

* az acs

* Fix bad quote

* Fix acs commands

* more bad quotes

* single quote
2016-12-08 12:56:09 -08:00
Travis Prescott 9232662f21 Add `--ids` to the command authoring guide (#1376)
* Add `--ids` to the command authoring guide

* Code review feedback.
2016-11-19 22:12:28 -08:00
Derek Bekoe 4fde5fdca2 Fix Document CI error due to command params not being loaded. (#1334)
- Fix error running azhelpgen.py
-- To load the full command table with all parameter values, we iterate over the command table running -h on each command.
2016-11-15 15:26:37 -08:00
Troy Dai 487f0196fc Update license header comments block for PEP8 (#1333)
* Remove UTF-8 BOM

* Update comment blocks for license headers
2016-11-15 14:24:07 -08:00
Derek Bekoe d7dec55bea Faster command module loading & tab completion performance (#1059)
* Faster command module loading & tab completion performance

* Fix tests

* Generic update support
2016-11-09 14:28:33 -08:00
Yugang Wang 5d72655000 webapp: rename component from webapp to appservice (#1260) 2016-11-07 15:09:03 -08:00
Travis Prescott fd5cfec77b Add generic update guidance to command authoring guide (#1230) 2016-11-04 08:15:13 -07:00
Travis Prescott ec61c50255 Change generated.py files to commands.py (#1226)
* Change generated references to commands.

* Update help docs.
2016-11-03 16:11:35 -07:00
Troy Dai 69e6628e0f Update VS Code debugging setting and instructions (#1208)
* Update VS Code debugging setting and instructions

* Update debug_in_vs_code.md

Fix typo in doc
2016-11-02 13:39:20 -07:00
Derek Bekoe 507d4a188a Shorten '--additional-component' param to '--add' for 'az component update' command (#1204) 2016-11-02 09:21:38 -07:00
Sarthak Narang 1325f4aa12 Renaming VSTS module to Container (#1193) *breaking change*
BC: Changing devops module to vsts module.
2016-11-01 17:00:52 -07:00
Travis Prescott f83233dbc3 [Test] Update test authoring guidelines (#1199)
Update guidelines for VCR test authoring.
2016-11-01 12:25:29 -07:00
Jun Han 0baa84e160 [Document CI] Fix failure of doc generation due to devops module renamed to vsts (#1167)
* [Document CI]fix devops module renamed to vsts

* Fix path

* Revert ci test
2016-10-26 08:42:23 -07:00
erich-wang 8a78bb1085 add new groups in doc source map (#1120) 2016-10-24 09:39:21 -07:00
Jason R. Shaver 3ecdea02f1 Update preview_install_guide.md 2016-10-17 11:27:56 -07:00
Jason R. Shaver 192241b017 Delete preview_instructions.md (#1083) 2016-10-13 16:27:11 -07:00
Derek Bekoe 71b6424753 Move VCR test to test_utils package (#1026)
* Move VCR test to test_utils package

* removing offending issue?

* Reintroduce the tests that causes issues before
2016-10-05 12:06:21 -07:00
Derek Bekoe a3dc53e413 Use Azure Blob Storage for nightly builds (#1017)
* Nightly build script that publishes to storage account for high availability + README

* Change doc to say 'az component list' to list components
2016-10-04 10:37:47 -07:00
Jun Han 003ca5249a Fix #1022: Document CI is Broken (#1023)
* test

* fix

* fix2

* fix3

* Revert back appveyor.yml
2016-10-03 10:10:48 -07:00
Jason R. Shaver a7c371e9fe First draft of xplat migration guide (#960)
* First draft of xplat migration guide
2016-09-29 10:26:46 -07:00
Derek Bekoe da813edf98 Update docs that have stale information (#1004)
- Install links have changed
- AZURE_CLI_PRIVATE_PYPI_URL and AZURE_CLI_PRIVATE_PYPI_HOST no longer used
- 'az component install' -> 'az component update'
2016-09-27 15:29:51 -07:00
Derek Bekoe de8744a9bf Doc on how to package for Debian (#991) 2016-09-27 14:01:54 -07:00
Derek Bekoe f7876934fc Debian packaging (apt-get) with updated README with instructions (#979)
* Debian directories for Debian (apt-get) package & update README

- Packaging instructions (how to create the .deb file) will come later.

* Change link to the key
2016-09-26 10:50:15 -07:00
Jason R. Shaver 2789412bc1 Added animation to readme (#967) 2016-09-23 13:40:41 -07:00
Jason R. Shaver 951895d1af Added Azure to Az command table (#955)
* Added Azure to Az command table
2016-09-23 09:37:48 -07:00
erich-wang 42319b9c20 sync help doc generation with core code (#950)
* sync help doc generation with core code

* update group name from webapp to appservice
2016-09-22 13:13:35 -07:00
Derek Bekoe 278bfb07d9 Update versions of packages for release (#929)
* Clean up setup.py files and descriptions, Update versions of packages for release

* Version 0.1.0b4 for all modules
2016-09-20 16:31:48 -07:00
Derek Bekoe 617c5a2ce0 Reference correct az.completion.sh script to enable tab completion (#876) 2016-09-14 09:04:43 -07:00
Jun Han eb04256ea5 [Document CI] Fix pip install and namespace change (#847)
* [Document CI] Fix pip install

* [Document CI] Fix namespace change
2016-09-09 09:54:19 -07:00
Derek Bekoe f6b59ec862 Create azure-cli-core package that command modules depend on (#828)
This is a breaking change to command modules and how they import cli modules!
- Don't depend on azure.cli in telemetry code
- Don't depend on azure.cli for version
- Move ACCOUNT, CONFIG and SESSION to azure.cli.core (+3 squashed commits)
Squashed commits:
- Fix dev setup after azure-cli-core as module dep.
- Install command modules after core is installed (+7 squashed commits)
- Command modules should depend on azure-cli-core
- Fix install script to work with new packages
- Nightly build script modifications
- Load module and fallback to all if doesn't work
- Fix Dockerfile
- No modules found, no problem
- Modify package_verify to work with new package structure
- modify .travis.yml file for CI builds to work again
- fix dev_setup
- import modules differently
- Move stuff
2016-09-08 17:05:22 -07:00
erich-wang e457c17cdd should not use str.decode because doc CI uses Python 3 (#841) 2016-09-08 10:04:10 -07:00
Burt Bielicki 5cec7c917d Add group ordering system so Global Arguments is at the bottom again. (#832)
Unblock doc generation script so --ids show in the output and unicode characters don't fail the sphinx build.
2016-09-07 16:07:11 -07:00
erich-wang 97559a1cf6 add metadata commitid for doc help files (#822) 2016-09-06 12:13:13 -07:00
erich-wang c1b76cf983 add help doc mapping for iot module (#805) 2016-09-01 08:18:55 -07:00
Derek Bekoe a7a823496f Fixes #772 (#779) 2016-08-29 12:33:36 -07:00
Derek Bekoe 154c701c95 Change simple_output_query to be table_transformer (#771) 2016-08-26 16:06:29 -07:00
erich-wang e7e8ce74b7 add document source for each group (#712)
* add document source for each group

* add doc source using dedicated doc source map
2016-08-18 15:40:15 -07:00
Travis Prescott dcb3de8b48 Update test authoring help doc. (#698) 2016-08-16 09:20:16 -07:00
Jason R. Shaver dde4dc008a Made Docker WIP components more clear 2016-08-09 11:17:44 -07:00
Burt Bielicki e760485e33 Help authoring doc with examples and recommended authoring guidelines. (#600) 2016-08-03 16:16:27 -07:00
Derek Bekoe 9d24dcc86d Remove references to InsecurePlatformWarning as fixed in PR #541 (#606) 2016-08-03 13:57:46 -07:00
Jason R. Shaver 2dd70ee442 Updated install with with new build 2016-08-03 12:51:52 -07:00
Jason R. Shaver 9258a86c00 Updated install guide (#557)
* Updated install guide

* Updated version number
2016-07-28 16:08:24 -07:00
Derek Bekoe a2b19e8624 Verify license headers (and share code with add license headers) (#552)
* Verify license headers (and share code with add license headers)

* Add missing license headers
2016-07-28 10:15:46 -07:00
erich-wang c7b9eb6b07 add sphinx extension to support markups: cligroup, clicommand, cliarg, cliexample (#550) 2016-07-27 16:29:00 -07:00
Burt Bielicki 157db18c19 Add tagging to VM and WebApp, refactor to eliminate nested templates (#538)
* Add tagging to VM and WebApp, refactor to eliminate nested templates

* Add copyright headers to generated files.  Also add a script that can auto-add the copyright to all *.py files.  Update the generate smart create script to add headers so we don't have to run the auto-add script after regenerating.
2016-07-21 15:30:55 -07:00
Derek Bekoe 5173fd1167 Add LICENSES and update README (#537)
* Fix up README & add LICENSE

* move our scripts

* Add license headers

* modify setup.py with license in classifiers

* Change license from TBD to MIT

* Use contoso.com instead of test.com for url used in test and modify preview instructions

* Add license header to new file recently added
2016-07-21 11:26:41 -07:00
Burt Bielicki a7493b0597 Use Sphinx to generate help output file (#524) 2016-07-18 12:19:04 -07:00
Derek Bekoe 76e2886823 Move Docker setup instructions from configuring_your_machine.md to RE… (#509)
* Move Docker setup instructions from configuring_your_machine.md to README.rst

* Add source to command to activate the env
2016-07-07 10:56:56 -07:00
Jason R. Shaver ff1d7e6b7d Updated installation instructions (rebased) (#500)
* Update README.rst

* Rename preview_curl_install_examples.md to preview_install_guide.md

* Update preview_install_guide.md
2016-07-05 16:11:58 -07:00
Derek Bekoe cf0e43d090 Add 'feedback' module to install script & update docs (#478) 2016-07-05 10:13:46 -07:00
Derek Bekoe e1d9aef522 Command Module Authoring docs (#463)
* Command Module Authoring docs

* Include the structure on the command modules in the main readme file
2016-07-05 10:12:18 -07:00
Derek Bekoe 0c4091b8f1 Include new command module package in Windows install doc (#444) 2016-06-22 16:36:40 -07:00
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -07:00
Johan Stenberg (MSFT) 5089720daa Merge pull request #393 from JasonRShaver/patch-2
Updated script with current defaults
2016-06-09 16:46:44 -07:00
Jason R. Shaver bcdfa9c841 Updated script with current defaults 2016-06-09 16:31:33 -07:00
Jason R. Shaver d6bb638903 Update instructions with BASH on Windows support 2016-06-09 16:25:44 -07:00
Derek Bekoe 9c820b9e78 Be clearer with message 2016-06-02 11:01:07 -07:00
Derek Bekoe 82d109a265 Mention Permission error in doc 2016-06-02 10:49:44 -07:00
Derek Bekoe 51a6ca7db1 Create doc for how to test installs & Install examples 2016-06-02 09:45:36 -07:00
Travis Prescott c788a1c046 Role/Role Assignment tests. 2016-05-25 17:00:19 -07:00
Travis Prescott 9680395b3a Small commit to make TravisCI acknowledge PR exists... ? 2016-05-17 08:54:33 -07:00
Jason R. Shaver 4574d1a0e9 Added docs targeting internal preview customers (#260)
* added first draft of preview instructions

* added first draft of preview instructions

* added first draft of preview instructions

* added first draft of preview instructions

* Updated preview instructions.

* Create preview_demo_scripts.md

* Update preview_instructions.md

* Moved troubleshooting to a link back to the readme

* Update preview_demo_scripts.md
2016-05-16 16:18:46 -07:00
Derek Bekoe 3c8cf2f18c Update recording_vcr_tests.md 2016-05-06 16:40:54 -07:00
Travis Prescott 1f73d5ddff Added info on print_ method. 2016-04-29 09:44:35 -07:00
Travis Prescott 131204f065 Update test authoring help doc. 2016-04-28 14:56:53 -07:00
Travis Prescott 7c96231871 Address code review comments. 2016-04-08 16:18:02 -07:00
Travis Prescott 6ddfccaa5a Code review fixes. 2016-04-08 14:42:50 -07:00
Travis Prescott 4cb0c18182 Create recording_vcr_tests.md 2016-04-07 16:08:42 -07:00
Travis Prescott 7ae61a9a56 Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAccountMergeAttempt2
# Conflicts:
#	src/azure/cli/tests/command_specs/__init__.py
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.test_vm_usage_list_westus.yaml
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.vm_usage_list_westus.yaml
#	src/azure/cli/tests/test_commands.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/__init__.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/command_specs.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/recordings/test_network_usage_list.yaml
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/command_specs.py
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/recordings/test_resource_group_list.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_check.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_list.yaml
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/__init__.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_usage_list_westus.yaml
2016-04-06 16:19:05 -07:00
Derek Bekoe adf6ed0f70 Modify documentation on configuring dev machine. 2016-04-06 15:18:47 -07:00
Travis Prescott 128802ea79 Clarify steps to re-record VCR tests. 2016-03-30 08:17:41 -07:00
Travis Prescott 08f1871fdd Supress prompts based on presence of --buffer rather than -q/--quiet 2016-03-28 10:33:07 -07:00
Travis Prescott 088bf7b3f3 Fix directions for running unit tests.
Add discussion for usage of -q.
2016-03-28 09:16:41 -07:00
Travis Prescott b047560970 Clarify step for logging in to Docker. 2016-03-17 09:18:54 -07:00
Travis Prescott 60d4623e72 Remove embedded link to secure notebook. 2016-03-17 08:44:56 -07:00
Travis Prescott 502a4e7446 Add Docker initial setup step. 2016-03-16 15:34:45 -07:00
Travis Prescott 42a29944f1 Added Docker setup instructions. 2016-03-16 13:26:54 -07:00
Travis Prescott 1f4fc51346 Clarify step to run unit tests from Windows CL. 2016-03-10 14:58:14 -08:00
Travis Prescott f9c1e73e77 Specify step 7 as OSX/Ubunut only. 2016-03-10 14:32:44 -08:00
Travis Prescott 1659d82ec4 Add link to PTVS. Add unit test directions for Visual Studio. Format cleanup. 2016-03-10 14:23:06 -08:00
Travis Prescott 149d88db69 Update documentation for initial configuration for Windows environment. Fixed minor bugs in GitHub's markdown format. 2016-03-10 12:39:23 -08:00
Mayuri Diwan 40eda7f8c7 Updating to include all requirements and hook-up tab completion 2016-03-08 14:38:38 -08:00
Johan Stenberg feec1b1a4d Change casing of doc folder 2016-02-27 11:13:11 -08:00