Hello community, here is the log from the commit of package azure-cli for openSUSE:Factory checked in at 2018-02-14 09:29:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli (Old) and /work/SRC/openSUSE:Factory/.azure-cli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli" Wed Feb 14 09:29:05 2018 rev:2 rq:574792 version:2.0.26 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli/azure-cli.changes 2017-11-10 14:51:33.660743028 +0100 +++ /work/SRC/openSUSE:Factory/.azure-cli.new/azure-cli.changes 2018-02-14 09:29:13.424694295 +0100 @@ -1,0 +2,10 @@ +Thu Feb 8 15:32:59 UTC 2018 - [email protected] + +- New upstream release + + Version 2.0.26 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Install HISTORY.rst into doc directory +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cli-2.0.18.tar.gz New: ---- azure-cli-2.0.26.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli.spec ++++++ --- /var/tmp/diff_new_pack.XZHtfa/_old 2018-02-14 09:29:15.812607763 +0100 +++ /var/tmp/diff_new_pack.XZHtfa/_new 2018-02-14 09:29:15.816607618 +0100 @@ -1,7 +1,7 @@ # # spec file for package azure-cli # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: azure-cli -Version: 2.0.18 +Version: 2.0.26 Release: 0 Summary: Microsoft Azure CLI 2.0 License: MIT @@ -25,25 +26,25 @@ Source: https://files.pythonhosted.org/packages/source/a/azure-cli/azure-cli-%{version}.tar.gz Source1: LICENSE.txt Patch1: ac_use-python3-by-default.patch +BuildRequires: azure-cli-nspkg +BuildRequires: python3-azure-nspkg BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: unzip -BuildRequires: azure-cli-nspkg -BuildRequires: python3-azure-nspkg -Requires: python3-azure-nspkg Requires: azure-cli-acr Requires: azure-cli-acs +Requires: azure-cli-advisor Requires: azure-cli-appservice -Requires: azure-cli-batch Requires: azure-cli-backup +Requires: azure-cli-batch +Requires: azure-cli-batchai Requires: azure-cli-billing Requires: azure-cli-cdn Requires: azure-cli-cloud Requires: azure-cli-cognitiveservices -Requires: azure-cli-component -Requires: azure-cli-container Requires: azure-cli-configure Requires: azure-cli-consumption +Requires: azure-cli-container Requires: azure-cli-core Requires: azure-cli-cosmosdb Requires: azure-cli-dla @@ -62,11 +63,13 @@ Requires: azure-cli-profile Requires: azure-cli-rdbms Requires: azure-cli-redis +Requires: azure-cli-reservations Requires: azure-cli-resource Requires: azure-cli-role Requires: azure-cli-sql Requires: azure-cli-storage Requires: azure-cli-vm +Requires: python3-azure-nspkg Conflicts: azure-cli < 2.0.0 BuildArch: noarch @@ -92,11 +95,12 @@ %files %defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%doc HISTORY.rst LICENSE.txt README.rst %{_bindir}/az %config /etc/bash_completion.d/az.completion.sh %exclude /usr/bin/az.bat %exclude /usr/bin/az.completion.sh %{python3_sitelib}/azure/cli %{python3_sitelib}/azure_cli-*.egg-info + %changelog ++++++ azure-cli-2.0.18.tar.gz -> azure-cli-2.0.26.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/HISTORY.rst new/azure-cli-2.0.26/HISTORY.rst --- old/azure-cli-2.0.18/HISTORY.rst 2017-09-23 01:47:00.000000000 +0200 +++ new/azure-cli-2.0.26/HISTORY.rst 2018-01-26 17:12:23.000000000 +0100 @@ -2,6 +2,38 @@ Release History =============== + +2.0.26 +++++++ +* Minor fixes + +2.0.25 +++++++ +* Minor fixes + +2.0.24 +++++++ +* Minor fixes + +2.0.23 +++++++ +* Minor fixes + +2.0.22 +++++++ +* Remove `az component` commands. Use `az extension` instead. `az component` has been deprecated for several months now. + +2.0.21 +++++++ +* Minor fixes + +2.0.20 +++++++ + +2.0.19 (2017-10-09) ++++++++++++++++++++ +* no changes + 2.0.18 (2017-09-22) +++++++++++++++++++ * no changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/PKG-INFO new/azure-cli-2.0.26/PKG-INFO --- old/azure-cli-2.0.18/PKG-INFO 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/PKG-INFO 2018-01-26 17:12:26.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: azure-cli -Version: 2.0.18 +Version: 2.0.26 Summary: Microsoft Azure Command-Line Tools 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 2.0 ======================= @@ -118,6 +117,38 @@ Release History =============== + + 2.0.26 + ++++++ + * Minor fixes + + 2.0.25 + ++++++ + * Minor fixes + + 2.0.24 + ++++++ + * Minor fixes + + 2.0.23 + ++++++ + * Minor fixes + + 2.0.22 + ++++++ + * Remove `az component` commands. Use `az extension` instead. `az component` has been deprecated for several months now. + + 2.0.21 + ++++++ + * Minor fixes + + 2.0.20 + ++++++ + + 2.0.19 (2017-10-09) + +++++++++++++++++++ + * no changes + 2.0.18 (2017-09-22) +++++++++++++++++++ * no changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure/cli/__init__.py new/azure-cli-2.0.26/azure/cli/__init__.py --- old/azure-cli-2.0.18/azure/cli/__init__.py 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/azure/cli/__init__.py 2018-01-26 17:12:23.000000000 +0100 @@ -11,4 +11,4 @@ pkg_resources.declare_namespace(__name__) __author__ = "Microsoft Corporation <[email protected]>" -__version__ = "2.0.18" +__version__ = "2.0.26" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure/cli/__main__.py new/azure-cli-2.0.26/azure/cli/__main__.py --- old/azure-cli-2.0.18/azure/cli/__main__.py 2017-09-23 01:47:00.000000000 +0200 +++ new/azure-cli-2.0.26/azure/cli/__main__.py 2018-01-26 17:12:23.000000000 +0100 @@ -4,23 +4,30 @@ # -------------------------------------------------------------------------------------------- import sys -import os -import azure.cli.main +from knack.completion import ARGCOMPLETE_ENV_NAME +from knack.log import get_logger + +from azure.cli.core import get_default_cli + import azure.cli.core.telemetry as telemetry +logger = get_logger(__name__) + + +def cli_main(cli, args): + return cli.invoke(args) + + +az_cli = get_default_cli() + +telemetry.set_application(az_cli, ARGCOMPLETE_ENV_NAME) + try: telemetry.start() - args = sys.argv[1:] - # Check if we are in argcomplete mode - if so, we - # need to pick up our args from environment variables - if os.environ.get('_ARGCOMPLETE'): - comp_line = os.environ.get('COMP_LINE') - if comp_line: - args = comp_line.split()[1:] + exit_code = cli_main(az_cli, sys.argv[1:]) - exit_code = azure.cli.main.main(args) if exit_code and exit_code != 0: telemetry.set_failure() else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure/cli/main.py new/azure-cli-2.0.26/azure/cli/main.py --- old/azure-cli-2.0.18/azure/cli/main.py 2017-09-23 01:47:00.000000000 +0200 +++ new/azure-cli-2.0.26/azure/cli/main.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,52 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import os -import sys - -from azure.cli.core import configure_logging, get_az_logger -from azure.cli.core.application import APPLICATION, Configuration -from azure.cli.core._session import ACCOUNT, CONFIG, SESSION -from azure.cli.core.util import (show_version_info_exit, handle_exception) -from azure.cli.core._environment import get_config_dir -import azure.cli.core.telemetry as telemetry - - -def main(args, output=sys.stdout, logging_stream=None): - configure_logging(args, logging_stream) - - logger = get_az_logger(__name__) - logger.debug('Command arguments %s', args) - - if args and (args[0] == '--version' or args[0] == '-v'): - show_version_info_exit(output) - - azure_folder = get_config_dir() - if not os.path.exists(azure_folder): - os.makedirs(azure_folder) - ACCOUNT.load(os.path.join(azure_folder, 'azureProfile.json')) - CONFIG.load(os.path.join(azure_folder, 'az.json')) - SESSION.load(os.path.join(azure_folder, 'az.sess'), max_age=3600) - - APPLICATION.initialize(Configuration()) - - try: - cmd_result = APPLICATION.execute(args) - - # Commands can return a dictionary/list of results - # If they do, we print the results. - if cmd_result and cmd_result.result is not None: - from azure.cli.core._output import OutputProducer - formatter = OutputProducer.get_formatter(APPLICATION.configuration.output_format) - OutputProducer(formatter=formatter, file=output).out(cmd_result) - - except Exception as ex: # pylint: disable=broad-except - - # TODO: include additional details of the exception in telemetry - telemetry.set_exception(ex, 'outer-exception', 'Unexpected exception caught during application execution.') - telemetry.set_failure() - - error_code = handle_exception(ex) - return error_code diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure_cli.egg-info/PKG-INFO new/azure-cli-2.0.26/azure_cli.egg-info/PKG-INFO --- old/azure-cli-2.0.18/azure_cli.egg-info/PKG-INFO 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/azure_cli.egg-info/PKG-INFO 2018-01-26 17:12:26.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: azure-cli -Version: 2.0.18 +Version: 2.0.26 Summary: Microsoft Azure Command-Line Tools 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 2.0 ======================= @@ -118,6 +117,38 @@ Release History =============== + + 2.0.26 + ++++++ + * Minor fixes + + 2.0.25 + ++++++ + * Minor fixes + + 2.0.24 + ++++++ + * Minor fixes + + 2.0.23 + ++++++ + * Minor fixes + + 2.0.22 + ++++++ + * Remove `az component` commands. Use `az extension` instead. `az component` has been deprecated for several months now. + + 2.0.21 + ++++++ + * Minor fixes + + 2.0.20 + ++++++ + + 2.0.19 (2017-10-09) + +++++++++++++++++++ + * no changes + 2.0.18 (2017-09-22) +++++++++++++++++++ * no changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure_cli.egg-info/SOURCES.txt new/azure-cli-2.0.26/azure_cli.egg-info/SOURCES.txt --- old/azure-cli-2.0.18/azure_cli.egg-info/SOURCES.txt 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/azure_cli.egg-info/SOURCES.txt 2018-01-26 17:12:26.000000000 +0100 @@ -10,7 +10,6 @@ azure/__init__.py azure/cli/__init__.py azure/cli/__main__.py -azure/cli/main.py azure_cli.egg-info/PKG-INFO azure_cli.egg-info/SOURCES.txt azure_cli.egg-info/dependency_links.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/azure_cli.egg-info/requires.txt new/azure-cli-2.0.26/azure_cli.egg-info/requires.txt --- old/azure-cli-2.0.18/azure_cli.egg-info/requires.txt 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/azure_cli.egg-info/requires.txt 2018-01-26 17:12:26.000000000 +0100 @@ -1,13 +1,14 @@ azure-cli-acr azure-cli-acs +azure-cli-advisor azure-cli-appservice azure-cli-batch +azure-cli-batchai azure-cli-backup azure-cli-billing azure-cli-cdn azure-cli-cloud azure-cli-cognitiveservices -azure-cli-component azure-cli-container azure-cli-configure azure-cli-consumption @@ -29,10 +30,10 @@ azure-cli-profile azure-cli-rdbms azure-cli-redis +azure-cli-reservations azure-cli-resource azure-cli-role azure-cli-sql azure-cli-storage azure-cli-vm azure-cli-servicefabric -azure-cli-nspkg>=2.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-2.0.18/setup.py new/azure-cli-2.0.26/setup.py --- old/azure-cli-2.0.18/setup.py 2017-09-23 01:50:43.000000000 +0200 +++ new/azure-cli-2.0.26/setup.py 2018-01-26 17:12:23.000000000 +0100 @@ -15,7 +15,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.0.18" +VERSION = "2.0.26" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. try: @@ -51,14 +51,15 @@ DEPENDENCIES = [ 'azure-cli-acr', 'azure-cli-acs', + 'azure-cli-advisor', 'azure-cli-appservice', 'azure-cli-batch', + 'azure-cli-batchai', 'azure-cli-backup', 'azure-cli-billing', 'azure-cli-cdn', 'azure-cli-cloud', 'azure-cli-cognitiveservices', - 'azure-cli-component', 'azure-cli-container', 'azure-cli-configure', 'azure-cli-consumption', @@ -80,6 +81,7 @@ 'azure-cli-profile', 'azure-cli-rdbms', 'azure-cli-redis', + 'azure-cli-reservations', 'azure-cli-resource', 'azure-cli-role', 'azure-cli-sql',
