azdev 0.1.78__tar.gz → 0.1.80__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {azdev-0.1.78 → azdev-0.1.80}/HISTORY.rst +10 -0
- {azdev-0.1.78/azdev.egg-info → azdev-0.1.80}/PKG-INFO +11 -1
- {azdev-0.1.78 → azdev-0.1.80}/azdev/__init__.py +1 -1
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/cmdcov.py +7 -3
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/component.js +26 -23
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/testtool/pytest_runner.py +2 -1
- {azdev-0.1.78 → azdev-0.1.80}/azdev/params.py +1 -1
- {azdev-0.1.78 → azdev-0.1.80/azdev.egg-info}/PKG-INFO +11 -1
- {azdev-0.1.78 → azdev-0.1.80}/LICENSE +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/MANIFEST.in +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/README.md +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/README.rst +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/__main__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/commands.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/completer.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/config/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/config/cli.flake8 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/config/cli_pylintrc +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/config/ext.flake8 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/config/ext_pylintrc +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/help.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/HISTORY.rst +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/README.rst +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/_client_factory.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/_help.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/_params.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/_validators.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/azext_metadata.json +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/blank__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/commands.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/custom.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/module__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/pkg_declare__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/setup.cfg +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/setup.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/mod_templates/test_service_scenario.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/_macros.j2 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/component.css +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/favicon.ico +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/index.j2 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/index2.j2 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/cmdcov/module.j2 +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/code_gen.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/command_change/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/command_change/custom.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/command_change/util.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/constant.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/extensions/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/extensions/util.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/extensions/version_upgrade.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/help/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/help/refdoc/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/help/refdoc/conf.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/legal.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/linter.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/pylint_checkers/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/pylint_checkers/show_command.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rule_decorators.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/ci_exclusions.yml +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/command_coverage_rules.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/command_group_rules.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/command_rules.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/help_rules.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/linter_exclusions.yml +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/rules/parameter_rules.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/linter/util.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/performance.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/pypi.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/python_sdk.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/regex.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/resource.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/secret.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/setup.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/statistics/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/statistics/util.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/style.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/testtool/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/testtool/incremental_strategy.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/operations/testtool/profile_context.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/transformers.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/__init__.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/command.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/config.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/const.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/display.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/git_util.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/path.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/pypi.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/testing.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev/utilities/tools.py +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev.egg-info/SOURCES.txt +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev.egg-info/dependency_links.txt +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev.egg-info/entry_points.txt +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev.egg-info/requires.txt +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/azdev.egg-info/top_level.txt +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/pyproject.toml +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/setup.cfg +0 -0
- {azdev-0.1.78 → azdev-0.1.80}/setup.py +0 -0
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Release History
|
|
4
4
|
===============
|
|
5
|
+
0.1.80
|
|
6
|
+
++++++
|
|
7
|
+
* `azdev cmdcov`: Support both extension short name and long name
|
|
8
|
+
* `azdev cmdcov`: Fix sorting issues
|
|
9
|
+
* `azdev test`: Fix executable inconsistence in `subprocess` of windows platform
|
|
10
|
+
|
|
11
|
+
0.1.79
|
|
12
|
+
++++++
|
|
13
|
+
* Fix profile options
|
|
14
|
+
|
|
5
15
|
0.1.78
|
|
6
16
|
++++++
|
|
7
17
|
* Mitigate shell injection risk from user input.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azdev
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.80
|
|
4
4
|
Summary: Microsoft Azure CLI Developer Tools
|
|
5
5
|
Home-page: https://github.com/Azure/azure-cli-dev-tools
|
|
6
6
|
Author: Microsoft Corporation
|
|
@@ -148,6 +148,16 @@ License
|
|
|
148
148
|
|
|
149
149
|
Release History
|
|
150
150
|
===============
|
|
151
|
+
0.1.80
|
|
152
|
+
++++++
|
|
153
|
+
* `azdev cmdcov`: Support both extension short name and long name
|
|
154
|
+
* `azdev cmdcov`: Fix sorting issues
|
|
155
|
+
* `azdev test`: Fix executable inconsistence in `subprocess` of windows platform
|
|
156
|
+
|
|
157
|
+
0.1.79
|
|
158
|
+
++++++
|
|
159
|
+
* Fix profile options
|
|
160
|
+
|
|
151
161
|
0.1.78
|
|
152
162
|
++++++
|
|
153
163
|
* Mitigate shell injection risk from user input.
|
|
@@ -116,12 +116,16 @@ class CmdcovManager:
|
|
|
116
116
|
print("\033[31m" + "Get all commands".center(self.width, self.fillchar) + "\033[0m")
|
|
117
117
|
time.sleep(0.1)
|
|
118
118
|
for _, y in tqdm(self.loaded_help.items()):
|
|
119
|
+
module = None
|
|
119
120
|
if hasattr(y, 'command_source') and y.command_source in self.selected_mod_names:
|
|
120
121
|
module = y.command_source
|
|
121
122
|
elif hasattr(y, 'command_source') and hasattr(y.command_source, 'extension_name'):
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
ext_name = y.command_source.extension_name
|
|
124
|
+
full_ext_name = 'azext_' + ext_name.replace('-', '_')
|
|
125
|
+
if ext_name in self.selected_mod_names:
|
|
126
|
+
module = ext_name
|
|
127
|
+
elif full_ext_name in self.selected_mod_names:
|
|
128
|
+
module = full_ext_name
|
|
125
129
|
else:
|
|
126
130
|
continue
|
|
127
131
|
if (not y.deprecate_info) and module:
|
|
@@ -31,19 +31,19 @@ function sortStrDesc(a, b)
|
|
|
31
31
|
}
|
|
32
32
|
function sortTextAS(a, b)
|
|
33
33
|
{
|
|
34
|
-
if (a==='Not applicable'){
|
|
35
|
-
a = -1
|
|
36
|
-
} else if (a===''){
|
|
37
|
-
a = 100
|
|
34
|
+
if (a === 'Not applicable' || a === 'N/A') {
|
|
35
|
+
a = -1;
|
|
36
|
+
} else if (a === '') {
|
|
37
|
+
a = 100;
|
|
38
38
|
} else {
|
|
39
|
-
a = parseFloat(a.substr(0,a.length-1))
|
|
39
|
+
a = parseFloat(a.substr(0, a.length - 1));
|
|
40
40
|
}
|
|
41
|
-
if (b==='N/A'){
|
|
42
|
-
b = -1
|
|
43
|
-
} else if (b===''){
|
|
44
|
-
b = 100
|
|
41
|
+
if (b === 'Not applicable' || b === 'N/A') {
|
|
42
|
+
b = -1;
|
|
43
|
+
} else if (b === '') {
|
|
44
|
+
b = 100;
|
|
45
45
|
} else {
|
|
46
|
-
b = parseFloat(b.substr(0,b.length-1))
|
|
46
|
+
b = parseFloat(b.substr(0, b.length - 1));
|
|
47
47
|
}
|
|
48
48
|
if (a < b) {
|
|
49
49
|
return -1;
|
|
@@ -51,22 +51,23 @@ function sortTextAS(a, b)
|
|
|
51
51
|
if (a > b) {
|
|
52
52
|
return 1;
|
|
53
53
|
}
|
|
54
|
+
return 0; // In case a and b are equal
|
|
54
55
|
}
|
|
55
56
|
function sortTextDesc(a, b)
|
|
56
57
|
{
|
|
57
|
-
if (a==='N/A'){
|
|
58
|
-
a = -1
|
|
59
|
-
} else if (a===''){
|
|
60
|
-
a = 100
|
|
61
|
-
}
|
|
62
|
-
a = parseFloat(a.substr(0,a.length-1))
|
|
63
|
-
}
|
|
64
|
-
if (b==='N/A'){
|
|
65
|
-
b = -1
|
|
66
|
-
} else if (b===''){
|
|
67
|
-
b = 100
|
|
68
|
-
}
|
|
69
|
-
b = parseFloat(b.substr(0,b.length-1))
|
|
58
|
+
if (a === 'Not applicable' || a === 'N/A') {
|
|
59
|
+
a = -1;
|
|
60
|
+
} else if (a === '') {
|
|
61
|
+
a = 100;
|
|
62
|
+
} else {
|
|
63
|
+
a = parseFloat(a.substr(0, a.length - 1));
|
|
64
|
+
}
|
|
65
|
+
if (b === 'Not applicable' || b === 'N/A') {
|
|
66
|
+
b = -1;
|
|
67
|
+
} else if (b === '') {
|
|
68
|
+
b = 100;
|
|
69
|
+
} else {
|
|
70
|
+
b = parseFloat(b.substr(0, b.length - 1));
|
|
70
71
|
}
|
|
71
72
|
if (a < b) {
|
|
72
73
|
return 1;
|
|
@@ -74,8 +75,10 @@ function sortTextDesc(a, b)
|
|
|
74
75
|
if (a > b) {
|
|
75
76
|
return -1;
|
|
76
77
|
}
|
|
78
|
+
return 0; // In case a and b are equal
|
|
77
79
|
}
|
|
78
80
|
|
|
81
|
+
|
|
79
82
|
function SortTable(obj){
|
|
80
83
|
var column=obj.id
|
|
81
84
|
var tdModule=document.getElementsByName("td-module");
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
# -----------------------------------------------------------------------------
|
|
6
6
|
|
|
7
7
|
import os
|
|
8
|
+
import sys
|
|
8
9
|
|
|
9
10
|
from knack.log import get_logger
|
|
10
11
|
|
|
@@ -35,7 +36,7 @@ def get_test_runner(parallel, log_path, last_failed, no_exit_first, mark):
|
|
|
35
36
|
arguments.append('--lf')
|
|
36
37
|
if pytest_args:
|
|
37
38
|
arguments += pytest_args
|
|
38
|
-
cmd = '
|
|
39
|
+
cmd = sys.executable + ' -m pytest {}'.format(' '.join(arguments))
|
|
39
40
|
logger.info('Running: %s', cmd)
|
|
40
41
|
return call(cmd)
|
|
41
42
|
|
|
@@ -50,7 +50,7 @@ def load_arguments(self, _):
|
|
|
50
50
|
help="Space-separated list of tests to run. Can specify module or extension names, test filenames, class name or individual method names. "
|
|
51
51
|
"Omit to check all or use 'CLI' or 'EXT' to check only CLI modules or extensions respectively.",
|
|
52
52
|
completer=get_test_completion)
|
|
53
|
-
c.argument('profile', options_list='--profile', choices=['latest', '2017-03-09-profile', '2018-03-01-hybrid', '2019-03-01-hybrid', '2020-09-01-
|
|
53
|
+
c.argument('profile', options_list='--profile', choices=['latest', '2017-03-09-profile', '2018-03-01-hybrid', '2019-03-01-hybrid', '2020-09-01-hybrid'], help='Run automation against a specific profile. If omit, the tests will run against current profile.')
|
|
54
54
|
c.argument('pytest_args', nargs=argparse.REMAINDER, options_list=['--pytest-args', '-a'], help='Denotes the remaining args will be passed to pytest.')
|
|
55
55
|
c.argument('last_failed', options_list='--lf', action='store_true', help='Re-run the last tests that failed.')
|
|
56
56
|
c.argument('no_exit_first', options_list='--no-exitfirst', action='store_true', help='Do not exit on first error or failed test')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azdev
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.80
|
|
4
4
|
Summary: Microsoft Azure CLI Developer Tools
|
|
5
5
|
Home-page: https://github.com/Azure/azure-cli-dev-tools
|
|
6
6
|
Author: Microsoft Corporation
|
|
@@ -148,6 +148,16 @@ License
|
|
|
148
148
|
|
|
149
149
|
Release History
|
|
150
150
|
===============
|
|
151
|
+
0.1.80
|
|
152
|
+
++++++
|
|
153
|
+
* `azdev cmdcov`: Support both extension short name and long name
|
|
154
|
+
* `azdev cmdcov`: Fix sorting issues
|
|
155
|
+
* `azdev test`: Fix executable inconsistence in `subprocess` of windows platform
|
|
156
|
+
|
|
157
|
+
0.1.79
|
|
158
|
+
++++++
|
|
159
|
+
* Fix profile options
|
|
160
|
+
|
|
151
161
|
0.1.78
|
|
152
162
|
++++++
|
|
153
163
|
* Mitigate shell injection risk from user input.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|