Hello community,

here is the log from the commit of package azure-cli-sql for openSUSE:Factory 
checked in at 2019-05-22 11:02:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-sql (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-sql.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-sql"

Wed May 22 11:02:38 2019 rev:5 rq:696863 version:2.1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-sql/azure-cli-sql.changes      
2018-10-15 10:46:03.651222206 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-sql.new.5148/azure-cli-sql.changes    
2019-05-22 11:02:44.242645727 +0200
@@ -1,0 +2,16 @@
+Tue Apr 16 18:42:59 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.1.9
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Bump minimum version for Python Azure SDK namespace
+  packages to 3.0.0 in BuildRequires and Requires
+- Remove python3-devel package from BuildRequires
+- Remove unzip package from BuildRequires
+- Run fdupes to hardlink duplicate files
+  + Add fdupes to BuildRequires
+  + Add %fdupes invocation to %install
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-sql-2.1.3.tar.gz

New:
----
  azure-cli-sql-2.1.9.tar.gz

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

Other differences:
------------------
++++++ azure-cli-sql.spec ++++++
--- /var/tmp/diff_new_pack.sxafSZ/_old  2019-05-22 11:02:46.810644255 +0200
+++ /var/tmp/diff_new_pack.sxafSZ/_new  2019-05-22 11:02:46.814644253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package azure-cli-sql
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           azure-cli-sql
-Version:        2.1.3
+Version:        2.1.9
 Release:        0
 Summary:        Microsoft Azure CLI 'SQL' Command Module
 License:        MIT
@@ -27,16 +27,15 @@
 Source1:        LICENSE.txt
 BuildRequires:  azure-cli-command-modules-nspkg
 BuildRequires:  azure-cli-nspkg
-BuildRequires:  python3-azure-nspkg
-BuildRequires:  python3-devel
+BuildRequires:  fdupes
+BuildRequires:  python3-azure-nspkg >= 3.0.0
 BuildRequires:  python3-setuptools
-BuildRequires:  unzip
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
-Requires:       python3-azure-mgmt-sql >= 0.9.1
-Requires:       python3-azure-mgmt-storage >= 2.0.0
-Requires:       python3-azure-nspkg
+Requires:       python3-azure-mgmt-sql >= 0.11.0
+Requires:       python3-azure-mgmt-storage >= 3.1.1
+Requires:       python3-azure-nspkg >= 3.0.0
 Requires:       python3-six
 Conflicts:      azure-cli < 2.0.0
 
@@ -57,6 +56,7 @@
 
 %install
 python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-lib=%{python3_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__init__.*
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__pycache__
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.*

++++++ azure-cli-sql-2.1.3.tar.gz -> azure-cli-sql-2.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sql-2.1.3/HISTORY.rst 
new/azure-cli-sql-2.1.9/HISTORY.rst
--- old/azure-cli-sql-2.1.3/HISTORY.rst 2018-08-23 01:07:57.000000000 +0200
+++ new/azure-cli-sql-2.1.9/HISTORY.rst 2019-02-12 03:05:13.000000000 +0100
@@ -2,6 +2,29 @@
 
 Release History
 ===============
+2.1.9
++++++
+* Minor fixes
+
+2.1.8
++++++
+* Minor fixes
+
+2.1.7
++++++
+* Updating dependencies
+
+2.1.6
++++++
+* Support for custom collation on managed instance.
+
+2.1.5
++++++
+* Fixed az sql failover-group create and az sql failover-group update to work 
with Manual failover policy.
+
+2.1.4
++++++
+* Minor fixes
 
 2.1.3
 +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sql-2.1.3/PKG-INFO 
new/azure-cli-sql-2.1.9/PKG-INFO
--- old/azure-cli-sql-2.1.3/PKG-INFO    2018-08-23 01:09:12.000000000 +0200
+++ new/azure-cli-sql-2.1.9/PKG-INFO    2019-02-12 03:05:38.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-sql
-Version: 2.1.3
+Version: 2.1.9
 Summary: Microsoft Azure Command-Line Tools SQL Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -15,6 +15,29 @@
         
         Release History
         ===============
+        2.1.9
+        +++++
+        * Minor fixes
+        
+        2.1.8
+        +++++
+        * Minor fixes
+        
+        2.1.7
+        +++++
+        * Updating dependencies
+        
+        2.1.6
+        +++++
+        * Support for custom collation on managed instance.
+        
+        2.1.5
+        +++++
+        * Fixed az sql failover-group create and az sql failover-group update 
to work with Manual failover policy.
+        
+        2.1.4
+        +++++
+        * Minor fixes
         
         2.1.3
         +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/_help.py 
new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/_help.py
--- old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/_help.py      
2018-08-23 01:07:57.000000000 +0200
+++ new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/_help.py      
2019-02-12 03:05:13.000000000 +0100
@@ -3,6 +3,7 @@
 # Copyright (c) Microsoft Corporation. All rights reserved.
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
+# pylint: disable=line-too-long, too-many-lines
 
 from knack.help_files import helps
 
@@ -80,10 +81,19 @@
     type: command
     short-summary: Update a database.
     examples:
+        - name: Update a database to Standard edition, S0 performance level 
(10 DTU) by specifying DTU capacity. Note that GeneralPurpose allows a wider 
range of max size than Standard edition.
+          text: az sql db update -g mygroup -s myserver -n mydb --edition 
Standard --capacity 10 --max-size 250GB
+        - name: Update a database to Standard edition, S1 performance level 
(20 DTU) by specifying performance level name. Note that GeneralPurpose allows 
a wider range of max size than Standard edition.
+          text: az sql db update -g mygroup -s myserver -n mydb --edition 
Standard --service-objective S1 --max-size 250GB
+        - name: Update a database to GeneralPurpose edition, 4 vcores with 
Gen5 hardware
+          text: az sql db update -g mygroup -s myserver -n mydb --edition 
GeneralPurpose --capacity 4 --family Gen5
+        - name: Update database with increased max size
+          text: az sql db update -g mygroup -s myserver -n mydb --max-size 
500GB
         - name: Update database with zone redundancy enabled
-          text: az sql db update -g mygroup -s myserver -n mypool -z
+          text: az sql db update -g mygroup -s myserver -n mydb -z
         - name: Update database with zone redundancy explicitly disabled
-          text: az sql db update -g mygroup -s myserver -n mypool -z false
+          text: az sql db update -g mygroup -s myserver -n mydb -z false
+
     """
 helps['sql db audit-policy'] = """
     type: group
@@ -133,7 +143,7 @@
     type: command
     examples:
         - name: Cancel an operation.
-          text: az sql db op cancel -g mygroup -s myserver -d mydb -n 
d2896db1-2ba8-4c84-bac1-387c430cce40
+          text: az sql db op cancel -g mygroup -s myserver -d mydb -n 
d2896mydb-2ba8-4c84-bac1-387c430cce40
     """
 helps['sql db replica'] = """
     type: group
@@ -175,12 +185,12 @@
             az sql db export -s myserver -n mydatabase -g mygroup -p password 
-u login \\
                 --storage-key 
"?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=mysignature&sv=2015-07-08" \\
                 --storage-key-type SharedAccessKey \\
-                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/mybacpac.bacpac
+                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/myBacpac.bacpac
         - name: Export bacpac using a storage account key.
           text: |
             az sql db export -s myserver -n mydatabase -g mygroup -p password 
-u login \\
                 --storage-key MYKEY== --storage-key-type StorageAccessKey \\
-                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/mybacpac.bacpac
+                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/myBacpac.bacpac
     """
 helps['sql db import'] = """
     type: command
@@ -195,12 +205,12 @@
             az sql db import -s myserver -n mydatabase -g mygroup -p password 
-u login \\
                 --storage-key 
"?sr=b&sp=rw&se=2018-01-01T00%3A00%3A00Z&sig=mysignature&sv=2015-07-08" \\
                 --storage-key-type SharedAccessKey \\
-                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/mybacpac.bacpac
+                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/myBacpac.bacpac
         - name: Import bacpac into an existing database using a storage 
account key.
           text: |
             az sql db import -s myserver -n mydatabase -g mygroup -p password 
-u login --storage-key MYKEY== \\
                 --storage-key-type StorageAccessKey \\
-                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/mybacpac.bacpac
+                --storage-uri 
https://mystorageaccount.blob.core.windows.net/bacpacs/myBacpac.bacpac
     """
 helps['sql db restore'] = """
     type: command
@@ -320,7 +330,7 @@
     type: command
     examples:
         - name: Cancel an operation.
-          text: az sql elastic-pool op cancel -g mygroup -s myserver -ep 
myelasticpool -n d2896db1-2ba8-4c84-bac1-387c430cce40
+          text: az sql elastic-pool op cancel -g mygroup -s myserver 
--elastic-pool myelasticpool -n d2896mydb-2ba8-4c84-bac1-387c430cce40
     """
 helps['sql failover-group'] = """
     type: group
@@ -458,10 +468,12 @@
     examples:
         - name: Create a vnet rule by providing the subnet id.
           text: |
-            az sql server vnet-rule create \\
-              --subnet 
/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/Microsoft.Network/virtualNetworks/{VNETName}/subnets/{SubnetName}
+            az sql server vnet-rule create --server MyAzureSqlServer --name 
MyVNetRule \\
+              -g MyResourceGroup --subnet 
/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/Microsoft.Network/virtualNetworks/{VNETName}/subnets/{SubnetName}
         - name: Create a vnet rule by providing the vnet and subnet name. The 
subnet id is created by taking the resource group name and subscription id of 
the SQL server.
-          text: az sql server vnet-rule create --subnet subnetName --vnet-name 
vnetName
+          text: |
+            az sql server vnet-rule create --server MyAzureSqlServer --name 
MyVNetRule \\
+                -g MyResourceGroup --subnet subnetName --vnet-name vnetName
     """
 helps['sql mi'] = """
     type: group
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/_params.py 
new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/_params.py
--- old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/_params.py    
2018-08-23 01:07:57.000000000 +0200
+++ new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/_params.py    
2019-02-12 03:05:13.000000000 +0100
@@ -1073,6 +1073,9 @@
                    options_list=['--capacity', '-c'],
                    help='The capacity of the managed instance in vcores.')
 
+        c.argument('collation',
+                   help='The collation of the managed instance.')
+
     with self.argument_context('sql mi create') as c:
         # Create args that will be used to build up the ManagedInstance object
         create_args_for_complex_type(
@@ -1082,7 +1085,8 @@
                 'license_type',
                 'virtual_network_subnet_id',
                 'vcores',
-                'storage_size_in_gb'
+                'storage_size_in_gb',
+                'collation'
             ])
 
         # Create args that will be used to build up the Managed Instance's Sku 
object
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/custom.py 
new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/custom.py
--- old/azure-cli-sql-2.1.3/azure/cli/command_modules/sql/custom.py     
2018-08-23 01:07:57.000000000 +0200
+++ new/azure-cli-sql-2.1.9/azure/cli/command_modules/sql/custom.py     
2019-02-12 03:05:13.000000000 +0100
@@ -2155,6 +2155,9 @@
     # Convert grace period from hours to minutes
     grace_period = int(grace_period) * 60
 
+    if failover_policy == FailoverPolicyType.manual.value:
+        grace_period = None
+
     if add_db is None:
         add_db = []
 
@@ -2196,13 +2199,14 @@
     if failover_policy is not None:
         instance.read_write_endpoint.failover_policy = failover_policy
 
+    if instance.read_write_endpoint.failover_policy == 
FailoverPolicyType.manual.value:
+        grace_period = None
+        
instance.read_write_endpoint.failover_with_data_loss_grace_period_minutes = 
grace_period
+
     if grace_period is not None:
         grace_period = int(grace_period) * 60
         
instance.read_write_endpoint.failover_with_data_loss_grace_period_minutes = 
grace_period
 
-    if instance.read_write_endpoint.failover_policy == 'Manual':
-        grace_period = None
-
     if add_db is None:
         add_db = []
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sql-2.1.3/azure_cli_sql.egg-info/PKG-INFO 
new/azure-cli-sql-2.1.9/azure_cli_sql.egg-info/PKG-INFO
--- old/azure-cli-sql-2.1.3/azure_cli_sql.egg-info/PKG-INFO     2018-08-23 
01:09:12.000000000 +0200
+++ new/azure-cli-sql-2.1.9/azure_cli_sql.egg-info/PKG-INFO     2019-02-12 
03:05:38.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-sql
-Version: 2.1.3
+Version: 2.1.9
 Summary: Microsoft Azure Command-Line Tools SQL Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -15,6 +15,29 @@
         
         Release History
         ===============
+        2.1.9
+        +++++
+        * Minor fixes
+        
+        2.1.8
+        +++++
+        * Minor fixes
+        
+        2.1.7
+        +++++
+        * Updating dependencies
+        
+        2.1.6
+        +++++
+        * Support for custom collation on managed instance.
+        
+        2.1.5
+        +++++
+        * Fixed az sql failover-group create and az sql failover-group update 
to work with Manual failover policy.
+        
+        2.1.4
+        +++++
+        * Minor fixes
         
         2.1.3
         +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sql-2.1.3/azure_cli_sql.egg-info/requires.txt 
new/azure-cli-sql-2.1.9/azure_cli_sql.egg-info/requires.txt
--- old/azure-cli-sql-2.1.3/azure_cli_sql.egg-info/requires.txt 2018-08-23 
01:09:12.000000000 +0200
+++ new/azure-cli-sql-2.1.9/azure_cli_sql.egg-info/requires.txt 2019-02-12 
03:05:38.000000000 +0100
@@ -1,4 +1,4 @@
 azure-cli-core
-azure-mgmt-sql==0.9.1
-azure-mgmt-storage==2.0.0rc4
+azure-mgmt-sql==0.11.0
+azure-mgmt-storage==3.1.1
 six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sql-2.1.3/setup.py 
new/azure-cli-sql-2.1.9/setup.py
--- old/azure-cli-sql-2.1.3/setup.py    2018-08-23 01:07:58.000000000 +0200
+++ new/azure-cli-sql-2.1.9/setup.py    2019-02-12 03:05:13.000000000 +0100
@@ -12,7 +12,7 @@
     logger.warn("Wheel is not available, disabling bdist_wheel hook")
     cmdclass = {}
 
-VERSION = "2.1.3"
+VERSION = "2.1.9"
 
 CLASSIFIERS = [
     'Development Status :: 4 - Beta',
@@ -30,8 +30,8 @@
 
 DEPENDENCIES = [
     'azure-cli-core',
-    'azure-mgmt-sql==0.9.1',
-    'azure-mgmt-storage==2.0.0rc4',
+    'azure-mgmt-sql==0.11.0',
+    'azure-mgmt-storage==3.1.1',
     'six'
 ]
 


Reply via email to