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

77 Коммитов

Автор SHA1 Сообщение Дата
Travis Prescott a40fcbdb90 Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAccountMergeAttempt2
# Conflicts:
#	azure-cli.pyproj
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/__init__.py
#	testall.bat
2016-04-08 16:23:49 -07:00
Travis Prescott d18b646d6a Update command_test_util and start on reworking network tests. 2016-04-07 10:35:25 -07:00
Travis Prescott a944c52784 Hide trivial __init__.py files by excluding them from the project file. 2016-04-07 09:54:50 -07:00
Travis Prescott 22a4a5bf2f Update project settings to include missed files and hide others. 2016-04-07 09:17:10 -07:00
Travis Prescott 4dd796bde7 Work on migrating my work to command module structure. 2016-04-06 16:59:40 -07:00
Travis Prescott 6b7724fedc Attempt to cleanup project file. Update testall.bat to catch all tests, not just those in the core package. 2016-04-06 16:34:06 -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
Travis Prescott 1438d124ad Fixes for conflicts with command module/package PR. 2016-04-06 15:42:37 -07:00
Travis Prescott b099098fb4 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands 2016-04-06 15:19:00 -07:00
Travis Prescott 3f3627b9fd Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAutoCommands
# Conflicts:
#	azure-cli.pyproj
#	src/azure/cli/tests/test_commands.py
2016-04-06 10:25:25 -07:00
Derek Bekoe 06b4bbbe72 Merge branch 'master' into acquisition-pip
# Conflicts:
#	setup.py
#	src/azure/cli/tests/test_commands.py
#	src/command_modules/azure-cli-profile/azure/cli/command_modules/profile/account.py
#	src/command_modules/azure-cli-profile/azure/cli/command_modules/profile/login.py
2016-04-06 10:12:47 -07:00
Travis Prescott a99e200d1e Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands 2016-04-06 10:09:47 -07:00
Yugang Wang 5d718e6cda Support login with live-id and creds sharing with azure-xplat-cli 2016-04-06 09:52:06 -07:00
Derek Bekoe c4851a87b9 Update .pyproj with references to new files 2016-04-05 13:00:20 -07:00
Travis Prescott 8773ccbc37 Address code review comments. Update storage VCR test defintions. 2016-04-04 09:05:45 -07:00
Travis Prescott 55e5496a49 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-04-01 16:43:58 -07:00
Travis Prescott c6456b1111 Fix all pylint errors. 2016-03-30 17:23:42 -07:00
Travis Prescott 84eb5760ae Merge branch 'StorageDataPlaneAutoCommand' of https://github.com/tjprescott/azure-cli into StorageAutoCommands
# Conflicts:
#	azure-cli.pyproj
#	src/azure/cli/commands/_auto_command.py
#	src/azure/cli/commands/storage.py
2016-03-30 15:25:37 -07:00
Travis Prescott 1c03816be2 Allow auto-commands to process extra command line arguments without messing up the SDK call. 2016-03-30 13:30:41 -07:00
Travis Prescott ea9279ac69 Test auto-command implementation for storage containers. 2016-03-29 14:45:03 -07:00
Travis Prescott f70c7825f3 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-03-29 08:30:21 -07:00
Johan Stenberg 365d513395 Fix up renamed artifacts in vs project file. 2016-03-28 15:08:59 -07:00
Johan Stenberg 9b1199b8db Merge from upstream (mainly help conflicts) 2016-03-28 15:00:18 -07:00
Johan Stenberg 16e94bc778 Fixed output, auto command tests (broken by refactoring)
Added tests for application, parser
Fixed minor issues in the code discovered by the tests
2016-03-28 14:51:46 -07:00
Travis Prescott 9e5ca4d80a Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommandsPhase2
# Conflicts:
#	azure-cli.pyproj
2016-03-28 14:28:56 -07:00
Travis Prescott 89ada05604 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-03-28 14:22:32 -07:00
Travis Prescott f4c06cd5eb Add "uncommon" parameters to batch 1 storage plane commands. 2016-03-28 14:17:56 -07:00
Johan Stenberg e4106b8707 - Removed now defunct 'unexpected parameters' parameter for all command handlers
- Fixed up storage account/key/connection string parameter combinations where they were accidentally set to always be required when they in fact are part of mutually exclusive parameter sets. We need to handle this better in the future
- Renamed 'options' to 'arguments' in our command table.
- Fixed up resource group alias (from --rg to -g)
- Refactored application/session/configuration/command loading. The command package is now responsible for loading submodules. Renamed session to configuration and made it responsible for knowing what hints to give to the command modules in order to load the right set of modules. Moved event registreation and raising from what was previously the session object to the application object.
- Moved transforming of returned SDK objects from Output to the Application module and made output only responsible for figuring out which formatter to use
2016-03-25 19:46:04 -07:00
Travis Prescott ee1d0ed85b Update _resolve_tags method. Add automated tests. 2016-03-25 09:06:30 -07:00
Johan Stenberg bd35da6b94 Merge from upstream 2016-03-24 13:14:19 -07:00
Johan Stenberg 0d60821e5c Add files to pyproj 2016-03-24 13:09:20 -07:00
Travis Prescott d2ede2fe73 Rollback interpreter and extra environment changes. 2016-03-24 10:14:31 -07:00
Travis Prescott d464c1dfec Update batch 2 commands. 2016-03-23 16:48:10 -07:00
Travis Prescott a63e6fae5f Remove cmd line arguments. 2016-03-23 11:48:47 -07:00
Travis Prescott be5ad5a255 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommands 2016-03-23 10:56:55 -07:00
Travis Prescott ded6bad7a2 Unit tests and refactoring for "resolve_api_version" method. 2016-03-23 10:55:34 -07:00
Travis Prescott 23f8f73567 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommandsPhase2 2016-03-22 21:10:01 -07:00
Travis Prescott 8728cafc28 Address code review comments. 2016-03-22 15:47:01 -07:00
Travis Prescott 2fe27f7985 Address code review comments. 2016-03-22 15:18:46 -07:00
Burt Bielicki 0992cc5411 update proj file 2016-03-21 15:41:38 -07:00
Burt Bielicki 673c2f2e6b Working help generation 2016-03-18 14:52:27 -07:00
Travis Prescott 2257b40b51 Replace manual commands with auto-commands. 2016-03-18 10:20:17 -07:00
Travis Prescott c9b6b11228 Split out 'resouce create' and 'resource set' commands. Lookup location for set. Wrap list indexing in try/catch. 2016-03-17 16:30:20 -07:00
Burt Bielicki 0a565a1899 merge master 2016-03-17 16:03:23 -07:00
Burt Bielicki 7bc62e0380 addressed code review feedback and fixed pylint 2016-03-17 16:00:03 -07:00
Travis Prescott c6ed63b462 Fix post-merge conflict. 2016-03-16 16:34:54 -07:00
Johan Stenberg f27e19f7c8 Merge branch 'master' into eventdispatch 2016-03-15 18:03:16 -07:00
Burt Bielicki f4b7eded16 update proj again 2016-03-15 17:01:25 -07:00
Burt Bielicki 8637fccad3 update proj 2016-03-15 17:00:49 -07:00
Burt Bielicki 4447ea2f08 make param help optional 2016-03-15 16:39:52 -07:00