Hello community,

here is the log from the commit of package azure-cli-core for openSUSE:Factory 
checked in at 2020-10-02 17:32:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-core.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-core"

Fri Oct  2 17:32:26 2020 rev:18 rq:838784 version:2.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes    
2020-08-19 18:54:44.499780790 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-core.new.4249/azure-cli-core.changes  
2020-10-02 17:32:48.394577620 +0200
@@ -1,0 +2,28 @@
+Wed Sep 30 12:53:01 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.12.1
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+- Add patch to disable automatic check for updates (boo#1175289)
+  + acc_disable-update-check.patch
+
+-------------------------------------------------------------------
+Tue Sep 22 10:47:00 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release (bsc#1176784, bsc#1176785)
+  + Version 2.12.0
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
+Mon Aug 31 12:10:04 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.11.1
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
@@ -7 +35 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -16 +44 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -25 +53 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -34 +62 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -43 +71 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -52 +80 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -61 +89 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -71 +99 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -79 +107 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -88 +116 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -97 +125 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -106 +134 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -127 +155 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -141 +169 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package

Old:
----
  azure-cli-core-2.10.1.tar.gz

New:
----
  acc_disable-update-check.patch
  azure-cli-core-2.12.1.tar.gz

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

Other differences:
------------------
++++++ azure-cli-core.spec ++++++
--- /var/tmp/diff_new_pack.04pQZH/_old  2020-10-02 17:32:50.194578697 +0200
+++ /var/tmp/diff_new_pack.04pQZH/_new  2020-10-02 17:32:50.198578700 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           azure-cli-core
-Version:        2.10.1
+Version:        2.12.1
 Release:        0
 Summary:        Microsoft Azure CLI Core Module
 License:        MIT
@@ -25,6 +25,7 @@
 URL:            https://github.com/Azure/azure-cli
 Source:         
https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz
 Source1:        LICENSE.txt
+Patch0:         acc_disable-update-check.patch
 BuildRequires:  azure-cli-nspkg
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -32,7 +33,7 @@
 BuildRequires:  python3-mock
 BuildRequires:  python3-setuptools
 Requires:       azure-cli-nspkg
-Requires:       azure-cli-telemetry
+Requires:       azure-cli-telemetry >= 1.0.6
 Requires:       python3-PyJWT
 Requires:       python3-PyYAML < 6.0
 Requires:       python3-PyYAML >= 5.2
@@ -41,9 +42,9 @@
 Requires:       python3-argcomplete < 2.0
 Requires:       python3-argcomplete >= 1.8
 Requires:       python3-azure-mgmt-core < 2.0.0
-Requires:       python3-azure-mgmt-core >= 1.0.0
+Requires:       python3-azure-mgmt-core >= 1.2.0
 Requires:       python3-azure-mgmt-resource < 11.0.0
-Requires:       python3-azure-mgmt-resource >= 10.1.0
+Requires:       python3-azure-mgmt-resource >= 10.2.0
 Requires:       python3-azure-nspkg >= 3.0.0
 Requires:       python3-colorama >= 0.4.1
 Requires:       python3-humanfriendly < 9.0
@@ -79,6 +80,7 @@
 
 %prep
 %setup -q -n azure-cli-core-%{version}
+%patch0 -p1
 
 %build
 install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}

++++++ acc_disable-update-check.patch ++++++
diff -Nru azure-cli-core-2.12.1.orig/azure/cli/core/util.py 
azure-cli-core-2.12.1/azure/cli/core/util.py
--- azure-cli-core-2.12.1.orig/azure/cli/core/util.py   2020-09-28 
10:37:30.000000000 +0200
+++ azure-cli-core-2.12.1/azure/cli/core/util.py        2020-09-30 
14:51:49.700308773 +0200
@@ -331,37 +331,7 @@
 
 
 def show_updates_available(new_line_before=False, new_line_after=False):
-    from azure.cli.core._session import VERSIONS
-    import datetime
-
-    if VERSIONS[_VERSION_CHECK_TIME]:
-        version_check_time = 
datetime.datetime.strptime(VERSIONS[_VERSION_CHECK_TIME], '%Y-%m-%d 
%H:%M:%S.%f')
-        if datetime.datetime.now() < version_check_time + 
datetime.timedelta(days=7):
-            return
-
-    _, updates_available_components = get_az_version_string(use_cache=True)
-    if updates_available_components:
-        if new_line_before:
-            logger.warning("")
-        show_updates(updates_available_components)
-        if new_line_after:
-            logger.warning("")
-    VERSIONS[_VERSION_CHECK_TIME] = str(datetime.datetime.now())
-
-
-def show_updates(updates_available_components):
-    if updates_available_components is None:
-        logger.warning('Unable to check if your CLI is up-to-date. Check your 
internet connection.')
-    elif updates_available_components:  # pylint: 
disable=too-many-nested-blocks
-        if in_cloud_console():
-            warning_msg = 'You have %i updates available. They will be updated 
with the next build of Cloud Shell.'
-        else:
-            warning_msg = "You have %i updates available."
-            if CLI_PACKAGE_NAME in updates_available_components:
-                warning_msg = "{} Consider updating your CLI installation with 
'az upgrade'".format(warning_msg)
-        logger.warning(warning_msg, len(updates_available_components))
-    else:
-        print('Your CLI is up-to-date.')
+    return
 
 
 def get_json_object(json_string):
++++++ azure-cli-core-2.10.1.tar.gz -> azure-cli-core-2.12.1.tar.gz ++++++
++++ 2672 lines of diff (skipped)


Reply via email to