Hello community,
here is the log from the commit of package azure-cli-container for openSUSE:Factory checked in at 2019-10-31 18:15:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-container (Old)
and /work/SRC/openSUSE:Factory/.azure-cli-container.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-container"
Thu Oct 31 18:15:37 2019 rev:7 rq:742682 version:0.3.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-container/azure-cli-container.changes 2019-06-05 11:42:38.627048857 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-container.new.2990/azure-cli-container.changes 2019-10-31 18:15:38.906034933 +0100
@@ -1,0 +2,9 @@
+Thu Oct 24 12:09:40 UTC 2019 - John Paul Adrian Glaubitz
+
+- New upstream release
+ + Version 0.3.18
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
azure-cli-container-0.3.13.tar.gz
New:
----
azure-cli-container-0.3.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azure-cli-container.spec ++++++
--- /var/tmp/diff_new_pack.rPRCpQ/_old 2019-10-31 18:15:39.514035562 +0100
+++ /var/tmp/diff_new_pack.rPRCpQ/_new 2019-10-31 18:15:39.518035567 +0100
@@ -17,7 +17,7 @@
Name: azure-cli-container
-Version: 0.3.13
+Version: 0.3.18
Release: 0
Summary: Microsoft Azure CLI 'container' Command Module
License: MIT
@@ -37,7 +37,7 @@
Requires: python3-azure-mgmt-authorization >= 0.50.0
Requires: python3-azure-mgmt-containerinstance >= 1.4.0
Requires: python3-azure-mgmt-loganalytics >= 0.2.0
-Requires: python3-azure-mgmt-network >= 2.4.0
+Requires: python3-azure-mgmt-network >= 3.0.0
Requires: python3-azure-nspkg >= 3.0.0
Requires: python3-colorama
Requires: python3-websocket-client
++++++ azure-cli-container-0.3.13.tar.gz -> azure-cli-container-0.3.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/HISTORY.rst new/azure-cli-container-0.3.18/HISTORY.rst
--- old/azure-cli-container-0.3.13/HISTORY.rst 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/HISTORY.rst 2019-06-13 23:17:46.000000000 +0200
@@ -3,6 +3,26 @@
Release History
===============
+0.3.18
+++++++
+* Minor fixes.
+
+0.3.17
+++++++
+* Minor fixes.
+
+0.3.16
+++++++
+* Minor fixes.
+
+0.3.15
+++++++
+* `container start/restart`: Added `--no-wait` argument.
+
+0.3.14
+++++++
+* Minor fixes.
+
0.3.13
++++++
* Adding 'az container start' command
@@ -161,4 +181,4 @@
0.1.7 (2017-07-27)
++++++++++++++++++
-* Preview release.
+* Preview release.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/PKG-INFO new/azure-cli-container-0.3.18/PKG-INFO
--- old/azure-cli-container-0.3.13/PKG-INFO 2019-01-25 20:43:55.000000000 +0100
+++ new/azure-cli-container-0.3.18/PKG-INFO 2019-06-13 23:17:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-container
-Version: 0.3.13
+Version: 0.3.18
Summary: Microsoft Azure Command-Line Tools container Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -299,12 +299,31 @@
examples.
--verbose : Increase logging verbosity. Use --debug for full debug logs.
-
.. :changelog:
Release History
===============
+ 0.3.18
+ ++++++
+ * Minor fixes.
+
+ 0.3.17
+ ++++++
+ * Minor fixes.
+
+ 0.3.16
+ ++++++
+ * Minor fixes.
+
+ 0.3.15
+ ++++++
+ * `container start/restart`: Added `--no-wait` argument.
+
+ 0.3.14
+ ++++++
+ * Minor fixes.
+
0.3.13
++++++
* Adding 'az container start' command
@@ -464,7 +483,6 @@
++++++++++++++++++
* Preview release.
-
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/README.rst new/azure-cli-container-0.3.18/README.rst
--- old/azure-cli-container-0.3.13/README.rst 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/README.rst 2019-06-13 23:17:46.000000000 +0200
@@ -289,4 +289,4 @@
--output -o : Output format. Allowed values: json, jsonc, table, tsv. Default: json.
--query : JMESPath query string. See http://jmespath.org/ for more information and
examples.
- --verbose : Increase logging verbosity. Use --debug for full debug logs.
+ --verbose : Increase logging verbosity. Use --debug for full debug logs.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure/cli/command_modules/container/__init__.py new/azure-cli-container-0.3.18/azure/cli/command_modules/container/__init__.py
--- old/azure-cli-container-0.3.13/azure/cli/command_modules/container/__init__.py 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure/cli/command_modules/container/__init__.py 2019-06-13 23:17:46.000000000 +0200
@@ -12,10 +12,11 @@
def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
+ from azure.cli.core.profiles import ResourceType
custom_type = CliCommandType(operations_tmpl='azure.cli.command_modules.container.custom#{}')
super(ContainerCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=custom_type,
- min_profile='2017-03-10-profile')
+ resource_type=ResourceType.MGMT_CONTAINERINSTANCE)
def load_command_table(self, args):
from azure.cli.command_modules.container.commands import load_command_table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure/cli/command_modules/container/_help.py new/azure-cli-container-0.3.18/azure/cli/command_modules/container/_help.py
--- old/azure-cli-container-0.3.13/azure/cli/command_modules/container/_help.py 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure/cli/command_modules/container/_help.py 2019-06-13 23:17:46.000000000 +0200
@@ -20,7 +20,6 @@
text: az container create -g MyResourceGroup --name myapp --image myimage:latest --cpu 1 --memory 1
- name: Create a container in a container group that runs Windows, with 2 cores and 3.5Gb of memory.
text: az container create -g MyResourceGroup --name mywinapp --image winappimage:latest --os-type Windows --cpu 2 --memory 3.5
- text: az container create -g MyResourceGroup --name myapp --image myimage:latest --ip-address public --ports 8081 --protocol UDP
- name: Create a container in a container group with public IP address, ports and DNS name label.
text: az container create -g MyResourceGroup --name myapp --image myimage:latest --ports 80 443 --dns-name-label contoso
- name: Create a container in a container group that invokes a script upon start.
@@ -47,7 +46,7 @@
text: az container create -g MyResourceGroup --name myapp --image myimage:latest --assign-identity /subscriptions/mySubscrpitionId/resourcegroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID
- name: Create a container group with both system and user assigned identity.
text: az container create -g MyResourceGroup --name myapp --image myimage:latest --assign-identity [system] /subscriptions/mySubscrpitionId/resourcegroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID
- min_profile: latest
+ supported-profiles: latest
"""
helps['container delete'] = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure/cli/command_modules/container/commands.py new/azure-cli-container-0.3.18/azure/cli/command_modules/container/commands.py
--- old/azure-cli-container-0.3.13/azure/cli/command_modules/container/commands.py 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure/cli/command_modules/container/commands.py 2019-06-13 23:17:46.000000000 +0200
@@ -9,7 +9,7 @@
container_group_sdk = CliCommandType(
- operations_tmpl='azure.mgmt.containerinstance.operations.container_groups_operations#ContainerGroupsOperations.{}',
+ operations_tmpl='azure.mgmt.containerinstance.operations#ContainerGroupsOperations.{}',
client_factory=cf_container_groups
)
@@ -27,6 +27,6 @@
g.custom_command('attach', 'attach_to_container')
with self.command_group('container', container_group_sdk) as g:
- g.command('restart', 'restart')
+ g.command('restart', 'restart', supports_no_wait=True)
g.command('stop', 'stop')
- g.command('start', 'start')
+ g.command('start', 'start', supports_no_wait=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure/cli/command_modules/container/custom.py new/azure-cli-container-0.3.18/azure/cli/command_modules/container/custom.py
--- old/azure-cli-container-0.3.13/azure/cli/command_modules/container/custom.py 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure/cli/command_modules/container/custom.py 2019-06-13 23:17:46.000000000 +0200
@@ -377,8 +377,8 @@
try:
with open(file, 'r') as f:
- cg_defintion = yaml.load(f)
- except FileNotFoundError:
+ cg_defintion = yaml.safe_load(f)
+ except OSError: # FileNotFoundError introduced in Python 3
raise CLIError("No such file or directory: " + file)
except yaml.YAMLError as e:
raise CLIError("Error while parsing yaml file:\n\n" + str(e))
@@ -578,14 +578,16 @@
resource['properties'].pop('provisioningState', None)
# Correctly export the identity
- if 'identity' in resource and resource['identity'].type != ResourceIdentityType.none:
- resource['identity'] = resource['identity'].__dict__
- identity_entry = {'type': resource['identity']['type'].value}
- if resource['identity']['user_assigned_identities']:
- identity_entry['user_assigned_identities'] = {k: {} for k in resource['identity']['user_assigned_identities']}
- resource['identity'] = identity_entry
- else:
- resource.pop('identity', None)
+ try:
+ identity = resource['identity'].type
+ if identity != ResourceIdentityType.none:
+ resource['identity'] = resource['identity'].__dict__
+ identity_entry = {'type': resource['identity']['type'].value}
+ if resource['identity']['user_assigned_identities']:
+ identity_entry['user_assigned_identities'] = {k: {} for k in resource['identity']['user_assigned_identities']}
+ resource['identity'] = identity_entry
+ except (KeyError, AttributeError):
+ resource.pop('indentity', None)
# Remove container instance views
for i in range(len(resource['properties']['containers'])):
@@ -595,7 +597,7 @@
resource['apiVersion'] = container_group_client.api_version
with open(file, 'w+') as f:
- yaml.dump(resource, f, default_flow_style=False)
+ yaml.safe_dump(resource, f, default_flow_style=False)
def container_exec(cmd, resource_group_name, name, exec_command, container_name=None, terminal_row_size=20, terminal_col_size=80):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure_cli_container.egg-info/PKG-INFO new/azure-cli-container-0.3.18/azure_cli_container.egg-info/PKG-INFO
--- old/azure-cli-container-0.3.13/azure_cli_container.egg-info/PKG-INFO 2019-01-25 20:43:55.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure_cli_container.egg-info/PKG-INFO 2019-06-13 23:17:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-container
-Version: 0.3.13
+Version: 0.3.18
Summary: Microsoft Azure Command-Line Tools container Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -299,12 +299,31 @@
examples.
--verbose : Increase logging verbosity. Use --debug for full debug logs.
-
.. :changelog:
Release History
===============
+ 0.3.18
+ ++++++
+ * Minor fixes.
+
+ 0.3.17
+ ++++++
+ * Minor fixes.
+
+ 0.3.16
+ ++++++
+ * Minor fixes.
+
+ 0.3.15
+ ++++++
+ * `container start/restart`: Added `--no-wait` argument.
+
+ 0.3.14
+ ++++++
+ * Minor fixes.
+
0.3.13
++++++
* Adding 'az container start' command
@@ -464,7 +483,6 @@
++++++++++++++++++
* Preview release.
-
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/azure_cli_container.egg-info/requires.txt new/azure-cli-container-0.3.18/azure_cli_container.egg-info/requires.txt
--- old/azure-cli-container-0.3.13/azure_cli_container.egg-info/requires.txt 2019-01-25 20:43:55.000000000 +0100
+++ new/azure-cli-container-0.3.18/azure_cli_container.egg-info/requires.txt 2019-06-13 23:17:59.000000000 +0200
@@ -1,8 +1,8 @@
azure-mgmt-containerinstance==1.4.0
azure-mgmt-loganalytics==0.2.0
-azure-mgmt-network==2.4.0
+azure-mgmt-network==3.0.0
azure-mgmt-authorization==0.50.0
azure-cli-core
-pyyaml>=4.2b1
+pyyaml
colorama
websocket-client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-container-0.3.13/setup.py new/azure-cli-container-0.3.18/setup.py
--- old/azure-cli-container-0.3.13/setup.py 2019-01-25 20:43:40.000000000 +0100
+++ new/azure-cli-container-0.3.18/setup.py 2019-06-13 23:17:46.000000000 +0200
@@ -14,7 +14,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
-VERSION = "0.3.13"
+VERSION = "0.3.18"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
@@ -33,10 +33,10 @@
DEPENDENCIES = [
'azure-mgmt-containerinstance==1.4.0',
'azure-mgmt-loganalytics==0.2.0',
- 'azure-mgmt-network==2.4.0',
+ 'azure-mgmt-network==3.0.0',
'azure-mgmt-authorization==0.50.0',
'azure-cli-core',
- 'pyyaml>=4.2b1',
+ 'pyyaml',
'colorama',
'websocket-client'
]