Hello community,

here is the log from the commit of package azure-cli-cdn for openSUSE:Factory 
checked in at 2018-10-15 10:47:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-cdn (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-cdn.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-cdn"

Mon Oct 15 10:47:54 2018 rev:4 rq:641228 version:0.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-cdn/azure-cli-cdn.changes      
2018-05-13 16:01:31.702073721 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-cdn.new/azure-cli-cdn.changes 
2018-10-15 10:47:55.503102700 +0200
@@ -1,0 +2,9 @@
+Mon Sep 17 08:56:54 UTC 2018 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 0.1.1
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-cdn-0.0.14.tar.gz

New:
----
  azure-cli-cdn-0.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ azure-cli-cdn.spec ++++++
--- /var/tmp/diff_new_pack.5lKvzl/_old  2018-10-15 10:47:57.131100962 +0200
+++ /var/tmp/diff_new_pack.5lKvzl/_new  2018-10-15 10:47:57.135100957 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           azure-cli-cdn
-Version:        0.0.14
+Version:        0.1.1
 Release:        0
 Summary:        Microsoft Azure CLI 'Content Delivery Network (CDN)' Command 
Module
 License:        MIT
@@ -34,7 +34,7 @@
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
-Requires:       python3-azure-mgmt-cdn >= 1.0.0
+Requires:       python3-azure-mgmt-cdn >= 3.0.0
 Requires:       python3-azure-nspkg
 Conflicts:      azure-cli < 2.0.0
 

++++++ azure-cli-cdn-0.0.14.tar.gz -> azure-cli-cdn-0.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.0.14/HISTORY.rst 
new/azure-cli-cdn-0.1.1/HISTORY.rst
--- old/azure-cli-cdn-0.0.14/HISTORY.rst        2018-04-06 19:33:13.000000000 
+0200
+++ new/azure-cli-cdn-0.1.1/HISTORY.rst 2018-08-23 01:07:57.000000000 +0200
@@ -3,6 +3,18 @@
 Release History
 ===============
 
+0.1.1
++++++
+* Update azure-mgmt-cdn dependency to 3.0.0
+
+0.1.0
++++++
+* BREAKING CHANGE: 'show' commands log error message and fail with exit code 
of 3 upon a missing resource.
+
+0.0.15
+++++++
+* Minor fixes.
+
 0.0.14
 ++++++
 * Minor fixes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.0.14/PKG-INFO 
new/azure-cli-cdn-0.1.1/PKG-INFO
--- old/azure-cli-cdn-0.0.14/PKG-INFO   2018-04-06 19:33:27.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/PKG-INFO    2018-08-23 01:09:30.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: azure-cli-cdn
-Version: 0.0.14
+Version: 0.1.1
 Summary: Microsoft Azure Command-Line Tools Content Delivery Network (CDN) 
Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
 Author-email: [email protected]
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Microsoft Azure CLI 'Content Delivery Network (CDN)' Command 
Module
         ===================================================================
         
@@ -19,6 +18,18 @@
         Release History
         ===============
         
+        0.1.1
+        +++++
+        * Update azure-mgmt-cdn dependency to 3.0.0
+        
+        0.1.0
+        +++++
+        * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
+        
+        0.0.15
+        ++++++
+        * Minor fixes.
+        
         0.0.14
         ++++++
         * Minor fixes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_client_factory.py 
new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_client_factory.py
--- old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_client_factory.py   
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_client_factory.py    
2018-08-23 01:07:57.000000000 +0200
@@ -4,7 +4,31 @@
 # 
--------------------------------------------------------------------------------------------
 
 
-def cf_cdn(cli_ctx, _):
+def cf_cdn(cli_ctx, *kwargs):  # pylint: disable=unused-argument
     from azure.cli.core.commands.client_factory import get_mgmt_service_client
     from azure.mgmt.cdn import CdnManagementClient
     return get_mgmt_service_client(cli_ctx, CdnManagementClient)
+
+
+def cf_custom_domain(cli_ctx, _):
+    return cf_cdn(cli_ctx).custom_domains
+
+
+def cf_endpoints(cli_ctx, _):
+    return cf_cdn(cli_ctx).endpoints
+
+
+def cf_profiles(cli_ctx, _):
+    return cf_cdn(cli_ctx).profiles
+
+
+def cf_origins(cli_ctx, _):
+    return cf_cdn(cli_ctx).origins
+
+
+def cf_resource_usage(cli_ctx, _):
+    return cf_cdn(cli_ctx).resource_usage
+
+
+def cf_edge_nodes(cli_ctx, _):
+    return cf_cdn(cli_ctx).edge_nodes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_help.py 
new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_help.py
--- old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_help.py     
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_help.py      
2018-08-23 01:07:57.000000000 +0200
@@ -1,3 +1,4 @@
+# coding=utf-8
 # 
--------------------------------------------------------------------------------------------
 # Copyright (c) Microsoft Corporation. All rights reserved.
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
@@ -42,7 +43,7 @@
     examples:
         - name: Delete a CDN profile.
           text: >
-            az cdn profile create -g group -n profile
+            az cdn profile delete -g group -n profile
 """
 
 helps['cdn profile list'] = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_params.py 
new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_params.py
--- old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/_params.py   
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/_params.py    
2018-08-23 01:07:57.000000000 +0200
@@ -28,7 +28,7 @@
             msg = '%s takes 1, 2 or 3 values, %d given'
             raise argparse.ArgumentError(self, msg % (option_string, 
len(values)))
 
-        deep_created_origin = DeepCreatedOrigin('origin', values[0], 
http_port=80, https_port=443)
+        deep_created_origin = DeepCreatedOrigin(name='origin', 
host_name=values[0], http_port=80, https_port=443)
         if len(values) > 1:
             deep_created_origin.http_port = int(values[1])
         if len(values) > 2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/commands.py 
new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/commands.py
--- old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/commands.py  
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/commands.py   
2018-08-23 01:07:57.000000000 +0200
@@ -5,14 +5,15 @@
 
 from azure.cli.core.commands import CliCommandType
 
-from ._client_factory import cf_cdn
+from ._client_factory import (cf_cdn, cf_custom_domain, cf_endpoints, 
cf_profiles, cf_origins, cf_resource_usage,
+                              cf_edge_nodes)
 
 
 def load_command_table(self, _):
 
     def _not_found(message):
         def _inner_not_found(ex):
-            from azure.mgmt.cdn.models.error_response import 
ErrorResponseException
+            from azure.mgmt.cdn.models import ErrorResponseException
             from knack.util import CLIError
 
             if isinstance(ex, ErrorResponseException) \
@@ -36,41 +37,48 @@
 
     cdn_endpoints_sdk = CliCommandType(
         
operations_tmpl='azure.mgmt.cdn.operations.endpoints_operations#EndpointsOperations.{}',
-        client_factory=cf_cdn,
+        client_factory=cf_endpoints,
         exception_handler=_not_found(endpoint_not_found_msg)
     )
 
     cdn_profiles_sdk = CliCommandType(
         
operations_tmpl='azure.mgmt.cdn.operations.profiles_operations#ProfilesOperations.{}',
-        client_factory=cf_cdn,
+        client_factory=cf_profiles,
         exception_handler=_not_found(profile_not_found_msg)
     )
 
     cdn_domain_sdk = CliCommandType(
         
operations_tmpl='azure.mgmt.cdn.operations.custom_domains_operations#CustomDomainsOperations.{}',
-        client_factory=cf_cdn,
+        client_factory=cf_custom_domain,
         exception_handler=_not_found(cd_not_found_msg)
     )
 
     cdn_origin_sdk = CliCommandType(
         
operations_tmpl='azure.mgmt.cdn.operations.origins_operations#OriginsOperations.{}',
-        client_factory=cf_cdn,
+        client_factory=cf_origins,
         exception_handler=_not_found(origin_not_found_msg)
     )
 
     cdn_edge_sdk = CliCommandType(
         
operations_tmpl='azure.mgmt.cdn.operations.edge_nodes_operations#EdgeNodesOperations.{}',
-        client_factory=cf_cdn
+        client_factory=cf_edge_nodes
+    )
+
+    cdn_usage_sdk = CliCommandType(
+        
operations_tmpl='azure.mgmt.cdn.operations.resource_usage_operations#ResourceUsageOperations.{}',
+        client_factory=cf_resource_usage
     )
 
     with self.command_group('cdn', cdn_sdk) as g:
         g.command('name-exists', 'check_name_availability')
-        g.command('usage', 'list_resource_usage')
+
+    with self.command_group('cdn', cdn_usage_sdk) as g:
+        g.command('usage', 'list')
 
     with self.command_group('cdn endpoint', cdn_endpoints_sdk) as g:
         for name in ['start', 'stop', 'delete']:
             g.command(name, name)
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.command('list', 'list_by_profile')
         g.command('load', 'load_content')
         g.command('purge', 'purge_content')
@@ -82,7 +90,7 @@
                                  
doc_string_source='azure.mgmt.cdn.models#EndpointUpdateParameters')
 
     with self.command_group('cdn profile', cdn_profiles_sdk) as g:
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.command('usage', 'list_resource_usage')
         g.command('delete', 'delete')
         g.custom_command('list', 'list_profiles', client_factory=cf_cdn)
@@ -90,16 +98,16 @@
         g.generic_update_command('update', setter_name='update', 
custom_func_name='update_profile',
                                  
doc_string_source='azure.mgmt.cdn.models#ProfileUpdateParameters')
 
-    with self.command_group('cdn custom-domain', cdn_domain_sdk, 
client_factory=cf_cdn) as g:
-        g.command('show', 'get')
+    with self.command_group('cdn custom-domain', cdn_domain_sdk) as g:
+        g.show_command('show', 'get')
         g.command('delete', 'delete')
         g.command('list', 'list_by_endpoint')
-        g.custom_command('create', 'create_custom_domain')
+        g.custom_command('create', 'create_custom_domain', 
client_factory=cf_cdn)
         g.command('enable-https', 'enable_custom_https')
         g.command('disable-https', 'disable_custom_https')
 
     with self.command_group('cdn origin', cdn_origin_sdk) as g:
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.command('list', 'list_by_endpoint')
 
     with self.command_group('cdn edge-node', cdn_edge_sdk) as g:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/custom.py 
new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/custom.py
--- old/azure-cli-cdn-0.0.14/azure/cli/command_modules/cdn/custom.py    
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure/cli/command_modules/cdn/custom.py     
2018-08-23 01:07:57.000000000 +0200
@@ -80,8 +80,8 @@
     is_compression_enabled = False if is_compression_enabled is None else 
is_compression_enabled
     is_http_allowed = True if is_http_allowed is None else is_http_allowed
     is_https_allowed = True if is_https_allowed is None else is_https_allowed
-    endpoint = Endpoint(location,
-                        origins,
+    endpoint = Endpoint(location=location,
+                        origins=origins,
                         origin_host_header=origin_host_header,
                         origin_path=origin_path,
                         content_types_to_compress=content_types_to_compress,
@@ -118,7 +118,7 @@
                    sku=SkuName.standard_akamai.value,
                    location=None, tags=None):
     from azure.mgmt.cdn.models import (Profile, Sku)
-    profile = Profile(location, Sku(name=sku), tags=tags)
+    profile = Profile(location=location, sku=Sku(name=sku), tags=tags)
     return client.profiles.create(resource_group_name, name, profile)
 
 # endregion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.0.14/azure_cli_cdn.egg-info/PKG-INFO 
new/azure-cli-cdn-0.1.1/azure_cli_cdn.egg-info/PKG-INFO
--- old/azure-cli-cdn-0.0.14/azure_cli_cdn.egg-info/PKG-INFO    2018-04-06 
19:33:27.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure_cli_cdn.egg-info/PKG-INFO     2018-08-23 
01:09:30.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: azure-cli-cdn
-Version: 0.0.14
+Version: 0.1.1
 Summary: Microsoft Azure Command-Line Tools Content Delivery Network (CDN) 
Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
 Author-email: [email protected]
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Microsoft Azure CLI 'Content Delivery Network (CDN)' Command 
Module
         ===================================================================
         
@@ -19,6 +18,18 @@
         Release History
         ===============
         
+        0.1.1
+        +++++
+        * Update azure-mgmt-cdn dependency to 3.0.0
+        
+        0.1.0
+        +++++
+        * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
+        
+        0.0.15
+        ++++++
+        * Minor fixes.
+        
         0.0.14
         ++++++
         * Minor fixes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.0.14/azure_cli_cdn.egg-info/requires.txt 
new/azure-cli-cdn-0.1.1/azure_cli_cdn.egg-info/requires.txt
--- old/azure-cli-cdn-0.0.14/azure_cli_cdn.egg-info/requires.txt        
2018-04-06 19:33:27.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/azure_cli_cdn.egg-info/requires.txt 2018-08-23 
01:09:30.000000000 +0200
@@ -1,2 +1,2 @@
-azure-mgmt-cdn==1.0.0
+azure-mgmt-cdn==3.0.0
 azure-cli-core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.0.14/setup.py 
new/azure-cli-cdn-0.1.1/setup.py
--- old/azure-cli-cdn-0.0.14/setup.py   2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-cdn-0.1.1/setup.py    2018-08-23 01:07:57.000000000 +0200
@@ -16,7 +16,7 @@
     cmdclass = {}
 
 
-VERSION = "0.0.14"
+VERSION = "0.1.1"
 # The full list of classifiers is available at
 # https://pypi.python.org/pypi?%3Aaction=list_classifiers
 CLASSIFIERS = [
@@ -34,7 +34,7 @@
 ]
 
 DEPENDENCIES = [
-    'azure-mgmt-cdn==1.0.0',
+    'azure-mgmt-cdn==3.0.0',
     'azure-cli-core',
 ]
 


Reply via email to