Hello community,
here is the log from the commit of package azure-cli-component for
openSUSE:Factory checked in at 2019-05-22 10:59:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-component (Old)
and /work/SRC/openSUSE:Factory/.azure-cli-component.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-component"
Wed May 22 10:59:21 2019 rev:2 rq:696824 version:2.0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-component/azure-cli-component.changes
2017-11-10 14:53:06.433388059 +0100
+++
/work/SRC/openSUSE:Factory/.azure-cli-component.new.5148/azure-cli-component.changes
2019-05-22 10:59:25.118813951 +0200
@@ -1,0 +2,15 @@
+Wed Apr 17 07:14:06 UTC 2019 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 2.0.8
+ + 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
+
+-------------------------------------------------------------------
Old:
----
azure-cli-component-2.0.7.tar.gz
New:
----
azure-cli-component-2.0.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azure-cli-component.spec ++++++
--- /var/tmp/diff_new_pack.4I63aO/_old 2019-05-22 10:59:25.786813086 +0200
+++ /var/tmp/diff_new_pack.4I63aO/_new 2019-05-22 10:59:25.790813081 +0200
@@ -1,7 +1,7 @@
#
# spec file for package azure-cli-component
#
-# Copyright (c) 2017 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
@@ -12,11 +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-component
-Version: 2.0.7
+Version: 2.0.8
Release: 0
Summary: Microsoft Azure CLI 'component' Command Module
License: MIT
@@ -24,16 +25,15 @@
Url: https://github.com/Azure/azure-cli
Source:
https://files.pythonhosted.org/packages/source/a/azure-cli-component/azure-cli-component-%{version}.tar.gz
Source1: LICENSE.txt
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: unzip
BuildRequires: azure-cli-command-modules-nspkg
BuildRequires: azure-cli-nspkg
-BuildRequires: python3-azure-nspkg
+BuildRequires: fdupes
+BuildRequires: python3-azure-nspkg >= 3.0.0
+BuildRequires: python3-setuptools
Requires: azure-cli-command-modules-nspkg
-Requires: azure-cli-nspkg
-Requires: python3-azure-nspkg
Requires: azure-cli-core
+Requires: azure-cli-nspkg
+Requires: python3-azure-nspkg >= 3.0.0
Requires: python3-pip
Conflicts: azure-cli < 2.0.0
@@ -54,6 +54,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__.*
@@ -66,4 +67,5 @@
%doc LICENSE.txt README.rst
%{python3_sitelib}/azure/cli/command_modules/component
%{python3_sitelib}/azure_cli_component-*.egg-info
+
%changelog
++++++ azure-cli-component-2.0.7.tar.gz -> azure-cli-component-2.0.8.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-component-2.0.7/HISTORY.rst
new/azure-cli-component-2.0.8/HISTORY.rst
--- old/azure-cli-component-2.0.7/HISTORY.rst 2017-08-11 19:00:20.000000000
+0200
+++ new/azure-cli-component-2.0.8/HISTORY.rst 2017-10-24 04:27:32.000000000
+0200
@@ -3,6 +3,10 @@
Release History
===============
+2.0.8
++++++
+* minor fixes
+
2.0.7 (2017-08-11)
++++++++++++++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-component-2.0.7/PKG-INFO
new/azure-cli-component-2.0.8/PKG-INFO
--- old/azure-cli-component-2.0.7/PKG-INFO 2017-08-11 19:00:20.000000000
+0200
+++ new/azure-cli-component-2.0.8/PKG-INFO 2017-10-24 04:27:45.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-component
-Version: 2.0.7
+Version: 2.0.8
Summary: Microsoft Azure Command-Line Tools Component Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -20,6 +20,10 @@
Release History
===============
+ 2.0.8
+ +++++
+ * minor fixes
+
2.0.7 (2017-08-11)
++++++++++++++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-component-2.0.7/azure/cli/command_modules/component/custom.py
new/azure-cli-component-2.0.8/azure/cli/command_modules/component/custom.py
--- old/azure-cli-component-2.0.7/azure/cli/command_modules/component/custom.py
2017-08-11 18:59:25.000000000 +0200
+++ new/azure-cli-component-2.0.8/azure/cli/command_modules/component/custom.py
2017-10-24 04:27:32.000000000 +0200
@@ -9,6 +9,7 @@
from azure.cli.core.util import CLIError
from azure.cli.core._config import az_config
import azure.cli.core.azlogging as azlogging
+from azure.cli.core.prompting import prompt_y_n, NoTTYException
logger = azlogging.get_az_logger(__name__)
@@ -18,19 +19,18 @@
def _deprecate_warning():
logger.warning("The 'component' commands will be deprecated in the
future.")
-
-
-def _verify_not_dev():
- from azure.cli.core import __version__ as core_version
- dev_version = core_version.endswith('+dev')
- if dev_version:
- raise CLIError('This operation is not available in the developer
version of the CLI.')
+ logger.warning("az component and subcommands may not work unless the CLI
is installed with pip.")
+ try:
+ ans = prompt_y_n("Are you sure you want to continue?", default='n')
+ if not ans:
+ raise CLIError('Operation cancelled.')
+ except NoTTYException:
+ pass
def list_components():
""" List the installed components """
_deprecate_warning()
- _verify_not_dev()
import pip
return sorted([{'name': dist.key.replace(COMPONENT_PREFIX, ''), 'version':
dist.version}
for dist in pip.get_installed_distributions(local_only=True)
@@ -59,7 +59,6 @@
def list_available_components():
""" List publicly available components that can be installed """
_deprecate_warning()
- _verify_not_dev()
import pip
available_components = []
installed_component_names = [dist.key.replace(COMPONENT_PREFIX, '') for
dist in
@@ -81,7 +80,6 @@
def remove(component_name):
""" Remove a component """
_deprecate_warning()
- _verify_not_dev()
if component_name in ['nspkg', 'core']:
raise CLIError("This component cannot be removed, it is required for
the CLI to function.")
import pip
@@ -174,7 +172,6 @@
allow_third_party=False):
""" Update the CLI and all installed components """
_deprecate_warning()
- _verify_not_dev()
import pip
# Update the CLI itself
package_list = [CLI_PACKAGE_NAME]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-component-2.0.7/azure_cli_component.egg-info/PKG-INFO
new/azure-cli-component-2.0.8/azure_cli_component.egg-info/PKG-INFO
--- old/azure-cli-component-2.0.7/azure_cli_component.egg-info/PKG-INFO
2017-08-11 19:00:20.000000000 +0200
+++ new/azure-cli-component-2.0.8/azure_cli_component.egg-info/PKG-INFO
2017-10-24 04:27:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-component
-Version: 2.0.7
+Version: 2.0.8
Summary: Microsoft Azure Command-Line Tools Component Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -20,6 +20,10 @@
Release History
===============
+ 2.0.8
+ +++++
+ * minor fixes
+
2.0.7 (2017-08-11)
++++++++++++++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-component-2.0.7/azure_cli_component.egg-info/requires.txt
new/azure-cli-component-2.0.8/azure_cli_component.egg-info/requires.txt
--- old/azure-cli-component-2.0.7/azure_cli_component.egg-info/requires.txt
2017-08-11 19:00:20.000000000 +0200
+++ new/azure-cli-component-2.0.8/azure_cli_component.egg-info/requires.txt
2017-10-24 04:27:45.000000000 +0200
@@ -1,3 +1,2 @@
azure-cli-core
pip
-azure-cli-command-modules-nspkg>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-component-2.0.7/setup.py
new/azure-cli-component-2.0.8/setup.py
--- old/azure-cli-component-2.0.7/setup.py 2017-08-11 19:00:20.000000000
+0200
+++ new/azure-cli-component-2.0.8/setup.py 2017-10-24 04:27:32.000000000
+0200
@@ -14,7 +14,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
-VERSION = "2.0.7"
+VERSION = "2.0.8"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',