azure-cli-diff-tool 0.0.1__tar.gz → 0.0.2__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.
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/PKG-INFO +10 -6
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/README.rst +5 -5
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/__init__.py +4 -4
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/azure_cli_diff_tool.egg-info/PKG-INFO +10 -6
- azure-cli-diff-tool-0.0.2/azure_cli_diff_tool.egg-info/SOURCES.txt +14 -0
- azure-cli-diff-tool-0.0.2/azure_cli_diff_tool.egg-info/top_level.txt +1 -0
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/setup.py +2 -2
- azure-cli-diff-tool-0.0.1/azure_cli_diff_tool.egg-info/SOURCES.txt +0 -14
- azure-cli-diff-tool-0.0.1/azure_cli_diff_tool.egg-info/top_level.txt +0 -1
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/_const.py +0 -0
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/data/blob_config.ini +0 -0
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/data/meta_change_whitelist.txt +0 -0
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/meta_change.py +0 -0
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/meta_change_detect.py +0 -0
- {azure-cli-diff-tool-0.0.1/azureCliDiffTool → azure-cli-diff-tool-0.0.2/azure_cli_diff_tool}/utils.py +0 -0
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/azure_cli_diff_tool.egg-info/dependency_links.txt +0 -0
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/azure_cli_diff_tool.egg-info/requires.txt +0 -0
- {azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/setup.cfg +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azure-cli-diff-tool
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: A tool for cli metadata management
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
Author-email: azpycli@microsoft.com
|
|
7
7
|
License: MIT
|
|
8
8
|
|
|
9
|
-
Microsoft Azure CLI Diff Tools (
|
|
10
|
-
|
|
9
|
+
Microsoft Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
10
|
+
=======================================================
|
|
11
11
|
|
|
12
|
-
The ``
|
|
12
|
+
The ``azure-cli-diff-tool`` is designed to aid azure-cli users in diffing metadata files to see its updates through historical versions for Azure CLI command modules and extensions.
|
|
13
13
|
|
|
14
14
|
Setting up your environment
|
|
15
15
|
+++++++++++++++++++++++++++++++++++++++
|
|
@@ -52,7 +52,7 @@ Setting up your environment
|
|
|
52
52
|
|
|
53
53
|
source env/bin/activate
|
|
54
54
|
|
|
55
|
-
5. Install ``
|
|
55
|
+
5. Install ``azure-cli-diff-tool`` by running:
|
|
56
56
|
|
|
57
57
|
::
|
|
58
58
|
|
|
@@ -78,7 +78,7 @@ License
|
|
|
78
78
|
|
|
79
79
|
::
|
|
80
80
|
|
|
81
|
-
Azure CLI Diff Tools (
|
|
81
|
+
Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
82
82
|
|
|
83
83
|
Copyright (c) Microsoft Corporation
|
|
84
84
|
All rights reserved.
|
|
@@ -96,6 +96,10 @@ License
|
|
|
96
96
|
|
|
97
97
|
Release History
|
|
98
98
|
===============
|
|
99
|
+
0.0.2
|
|
100
|
+
++++++
|
|
101
|
+
* Change time consuming into info log level
|
|
102
|
+
* Adjust pkg name according to https://peps.python.org/pep-0008/#package-and-module-names
|
|
99
103
|
|
|
100
104
|
0.0.1
|
|
101
105
|
++++++
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Microsoft Azure CLI Diff Tools (
|
|
2
|
-
|
|
1
|
+
Microsoft Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
2
|
+
=======================================================
|
|
3
3
|
|
|
4
|
-
The ``
|
|
4
|
+
The ``azure-cli-diff-tool`` is designed to aid azure-cli users in diffing metadata files to see its updates through historical versions for Azure CLI command modules and extensions.
|
|
5
5
|
|
|
6
6
|
Setting up your environment
|
|
7
7
|
+++++++++++++++++++++++++++++++++++++++
|
|
@@ -44,7 +44,7 @@ Setting up your environment
|
|
|
44
44
|
|
|
45
45
|
source env/bin/activate
|
|
46
46
|
|
|
47
|
-
5. Install ``
|
|
47
|
+
5. Install ``azure-cli-diff-tool`` by running:
|
|
48
48
|
|
|
49
49
|
::
|
|
50
50
|
|
|
@@ -70,7 +70,7 @@ License
|
|
|
70
70
|
|
|
71
71
|
::
|
|
72
72
|
|
|
73
|
-
Azure CLI Diff Tools (
|
|
73
|
+
Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
74
74
|
|
|
75
75
|
Copyright (c) Microsoft Corporation
|
|
76
76
|
All rights reserved.
|
|
@@ -18,7 +18,7 @@ from .utils import get_blob_config, load_blob_config_file, get_target_version_mo
|
|
|
18
18
|
extract_module_name_from_meta_file, export_meta_changes_to_csv, export_meta_changes_to_json, \
|
|
19
19
|
export_meta_changes_to_dict
|
|
20
20
|
|
|
21
|
-
__VERSION__ = '0.0.
|
|
21
|
+
__VERSION__ = '0.0.2'
|
|
22
22
|
|
|
23
23
|
logger = logging.getLogger(__name__)
|
|
24
24
|
|
|
@@ -84,7 +84,7 @@ def version_diff(base_version, diff_version, only_break=False, version_diff_file
|
|
|
84
84
|
else:
|
|
85
85
|
base_version_module_list = get_target_version_modules(blob_url, path_prefix, index_file, base_version, use_cache)
|
|
86
86
|
download_base_end = time.time()
|
|
87
|
-
|
|
87
|
+
logger.info("base version {} meta files download using {} sec".format(base_version,
|
|
88
88
|
download_base_end - download_base_start))
|
|
89
89
|
if target_module:
|
|
90
90
|
get_target_version_module(blob_url, path_prefix, diff_version,
|
|
@@ -92,7 +92,7 @@ def version_diff(base_version, diff_version, only_break=False, version_diff_file
|
|
|
92
92
|
else:
|
|
93
93
|
get_target_version_modules(blob_url, path_prefix, index_file, diff_version, use_cache)
|
|
94
94
|
download_target_end = time.time()
|
|
95
|
-
|
|
95
|
+
logger.info("diff version {} meta files download using {} sec".format(diff_version,
|
|
96
96
|
download_target_end - download_base_end))
|
|
97
97
|
version_diffs = []
|
|
98
98
|
for _, base_meta_file_full_path, base_meta_file in base_version_module_list:
|
|
@@ -129,7 +129,7 @@ def version_diff(base_version, diff_version, only_break=False, version_diff_file
|
|
|
129
129
|
obj.update(mod_obj)
|
|
130
130
|
version_diffs.append(obj)
|
|
131
131
|
meta_change_end = time.time()
|
|
132
|
-
|
|
132
|
+
logger.info("meta file diffs using {} sec".format(meta_change_end - download_target_end))
|
|
133
133
|
if output_type == "dict":
|
|
134
134
|
return export_meta_changes_to_dict(version_diffs, version_diff_file)
|
|
135
135
|
return export_meta_changes_to_csv(version_diffs, version_diff_file)
|
{azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/azure_cli_diff_tool.egg-info/PKG-INFO
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azure-cli-diff-tool
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: A tool for cli metadata management
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
Author-email: azpycli@microsoft.com
|
|
7
7
|
License: MIT
|
|
8
8
|
|
|
9
|
-
Microsoft Azure CLI Diff Tools (
|
|
10
|
-
|
|
9
|
+
Microsoft Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
10
|
+
=======================================================
|
|
11
11
|
|
|
12
|
-
The ``
|
|
12
|
+
The ``azure-cli-diff-tool`` is designed to aid azure-cli users in diffing metadata files to see its updates through historical versions for Azure CLI command modules and extensions.
|
|
13
13
|
|
|
14
14
|
Setting up your environment
|
|
15
15
|
+++++++++++++++++++++++++++++++++++++++
|
|
@@ -52,7 +52,7 @@ Setting up your environment
|
|
|
52
52
|
|
|
53
53
|
source env/bin/activate
|
|
54
54
|
|
|
55
|
-
5. Install ``
|
|
55
|
+
5. Install ``azure-cli-diff-tool`` by running:
|
|
56
56
|
|
|
57
57
|
::
|
|
58
58
|
|
|
@@ -78,7 +78,7 @@ License
|
|
|
78
78
|
|
|
79
79
|
::
|
|
80
80
|
|
|
81
|
-
Azure CLI Diff Tools (
|
|
81
|
+
Azure CLI Diff Tools (azure-cli-diff-tool)
|
|
82
82
|
|
|
83
83
|
Copyright (c) Microsoft Corporation
|
|
84
84
|
All rights reserved.
|
|
@@ -96,6 +96,10 @@ License
|
|
|
96
96
|
|
|
97
97
|
Release History
|
|
98
98
|
===============
|
|
99
|
+
0.0.2
|
|
100
|
+
++++++
|
|
101
|
+
* Change time consuming into info log level
|
|
102
|
+
* Adjust pkg name according to https://peps.python.org/pep-0008/#package-and-module-names
|
|
99
103
|
|
|
100
104
|
0.0.1
|
|
101
105
|
++++++
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
README.rst
|
|
2
|
+
setup.py
|
|
3
|
+
azure_cli_diff_tool/__init__.py
|
|
4
|
+
azure_cli_diff_tool/_const.py
|
|
5
|
+
azure_cli_diff_tool/meta_change.py
|
|
6
|
+
azure_cli_diff_tool/meta_change_detect.py
|
|
7
|
+
azure_cli_diff_tool/utils.py
|
|
8
|
+
azure_cli_diff_tool.egg-info/PKG-INFO
|
|
9
|
+
azure_cli_diff_tool.egg-info/SOURCES.txt
|
|
10
|
+
azure_cli_diff_tool.egg-info/dependency_links.txt
|
|
11
|
+
azure_cli_diff_tool.egg-info/requires.txt
|
|
12
|
+
azure_cli_diff_tool.egg-info/top_level.txt
|
|
13
|
+
azure_cli_diff_tool/data/blob_config.ini
|
|
14
|
+
azure_cli_diff_tool/data/meta_change_whitelist.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
azure_cli_diff_tool
|
|
@@ -12,7 +12,7 @@ import re
|
|
|
12
12
|
from setuptools import setup, find_packages
|
|
13
13
|
|
|
14
14
|
diff_tool_path = os.path.dirname(os.path.realpath(__file__))
|
|
15
|
-
with open(os.path.join(diff_tool_path, '
|
|
15
|
+
with open(os.path.join(diff_tool_path, 'azure_cli_diff_tool', '__init__.py'), 'r') as version_file:
|
|
16
16
|
__VERSION__ = re.search(r'^__VERSION__\s*=\s*[\'"]([^\'"]*)[\'"]',
|
|
17
17
|
version_file.read(), re.MULTILINE).group(1)
|
|
18
18
|
|
|
@@ -32,6 +32,6 @@ setup(name="azure-cli-diff-tool",
|
|
|
32
32
|
include_package_data=True,
|
|
33
33
|
install_requires=["deepdiff", "requests"],
|
|
34
34
|
package_data={
|
|
35
|
-
"
|
|
35
|
+
"azure_cli_diff_tool": ["data/*"]
|
|
36
36
|
}
|
|
37
37
|
)
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
README.rst
|
|
2
|
-
setup.py
|
|
3
|
-
azureCliDiffTool/__init__.py
|
|
4
|
-
azureCliDiffTool/_const.py
|
|
5
|
-
azureCliDiffTool/meta_change.py
|
|
6
|
-
azureCliDiffTool/meta_change_detect.py
|
|
7
|
-
azureCliDiffTool/utils.py
|
|
8
|
-
azureCliDiffTool/data/blob_config.ini
|
|
9
|
-
azureCliDiffTool/data/meta_change_whitelist.txt
|
|
10
|
-
azure_cli_diff_tool.egg-info/PKG-INFO
|
|
11
|
-
azure_cli_diff_tool.egg-info/SOURCES.txt
|
|
12
|
-
azure_cli_diff_tool.egg-info/dependency_links.txt
|
|
13
|
-
azure_cli_diff_tool.egg-info/requires.txt
|
|
14
|
-
azure_cli_diff_tool.egg-info/top_level.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
azureCliDiffTool
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azure-cli-diff-tool-0.0.1 → azure-cli-diff-tool-0.0.2}/azure_cli_diff_tool.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|