Hello community,
here is the log from the commit of package azure-cli-feedback for
openSUSE:Factory checked in at 2018-02-14 09:30:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-feedback (Old)
and /work/SRC/openSUSE:Factory/.azure-cli-feedback.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-feedback"
Wed Feb 14 09:30:55 2018 rev:2 rq:574812 version:2.0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-feedback/azure-cli-feedback.changes
2017-11-10 14:53:51.367763008 +0100
+++
/work/SRC/openSUSE:Factory/.azure-cli-feedback.new/azure-cli-feedback.changes
2018-02-14 09:30:57.044939436 +0100
@@ -1,0 +2,9 @@
+Thu Feb 8 11:56:53 UTC 2018 - [email protected]
+
+- New upstream release
+ + Version 2.0.8
+ + For detailed information about changes see the
+ HISTORY.rst file provided with this package
+- Install HISTORY.rst into doc directory
+
+-------------------------------------------------------------------
Old:
----
azure-cli-feedback-2.0.6.tar.gz
New:
----
azure-cli-feedback-2.0.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azure-cli-feedback.spec ++++++
--- /var/tmp/diff_new_pack.PcNwY4/_old 2018-02-14 09:30:57.756913637 +0100
+++ /var/tmp/diff_new_pack.PcNwY4/_new 2018-02-14 09:30:57.784912622 +0100
@@ -1,7 +1,7 @@
#
# spec file for package azure-cli-feedback
#
-# 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-feedback
-Version: 2.0.6
+Version: 2.0.8
Release: 0
Summary: Microsoft Azure CLI 'feedback' Command Module
License: MIT
@@ -24,17 +25,17 @@
Url: https://github.com/Azure/azure-cli
Source:
https://files.pythonhosted.org/packages/source/a/azure-cli-feedback/azure-cli-feedback-%{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: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: unzip
Requires: azure-cli-command-modules-nspkg
+Requires: azure-cli-core
Requires: azure-cli-nspkg
-Requires: python3-azure-nspkg
Requires: python3-applicationinsights
-Requires: azure-cli-core
+Requires: python3-azure-nspkg
Conflicts: azure-cli < 2.0.0
BuildArch: noarch
@@ -63,7 +64,8 @@
%files
%defattr(-,root,root,-)
-%doc LICENSE.txt README.rst
+%doc HISTORY.rst LICENSE.txt README.rst
%{python3_sitelib}/azure/cli/command_modules/feedback
%{python3_sitelib}/azure_cli_feedback-*.egg-info
+
%changelog
++++++ azure-cli-feedback-2.0.6.tar.gz -> azure-cli-feedback-2.0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-feedback-2.0.6/HISTORY.rst
new/azure-cli-feedback-2.0.8/HISTORY.rst
--- old/azure-cli-feedback-2.0.6/HISTORY.rst 2017-07-07 18:20:11.000000000
+0200
+++ new/azure-cli-feedback-2.0.8/HISTORY.rst 2018-01-12 18:25:22.000000000
+0100
@@ -2,8 +2,17 @@
Release History
===============
-2.0.6 (2017-07-07)
-++++++++++++++++++
+
+2.0.8
++++++
+* Minor fixes.
+
+2.0.7
+++++++
+* Update for CLI core changes.
+
+2.0.6
++++++
* minor fixes
2.0.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-feedback-2.0.6/PKG-INFO
new/azure-cli-feedback-2.0.8/PKG-INFO
--- old/azure-cli-feedback-2.0.6/PKG-INFO 2017-07-07 18:20:12.000000000
+0200
+++ new/azure-cli-feedback-2.0.8/PKG-INFO 2018-01-12 18:25:33.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-feedback
-Version: 2.0.6
+Version: 2.0.8
Summary: Microsoft Azure Command-Line Tools Feedback Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -19,8 +19,17 @@
Release History
===============
- 2.0.6 (2017-07-07)
- ++++++++++++++++++
+
+ 2.0.8
+ +++++
+ * Minor fixes.
+
+ 2.0.7
+ ++++++
+ * Update for CLI core changes.
+
+ 2.0.6
+ +++++
* minor fixes
2.0.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/__init__.py
new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/__init__.py
--- old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/__init__.py
2017-07-07 18:19:23.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/__init__.py
2018-01-12 18:25:22.000000000 +0100
@@ -3,12 +3,25 @@
# Licensed under the MIT License. See License.txt in the project root for
license information.
#
--------------------------------------------------------------------------------------------
+from azure.cli.core import AzCommandsLoader
+from azure.cli.core.commands import CliCommandType
+
import azure.cli.command_modules.feedback._help # pylint:
disable=unused-import
-def load_params(_):
- pass
+class FeedbackCommandsLoader(AzCommandsLoader):
+
+ def __init__(self, cli_ctx=None):
+ super(FeedbackCommandsLoader, self).__init__(cli_ctx=cli_ctx)
+
+ def load_command_table(self, args):
+
+ custom_feedback =
CliCommandType(operations_tmpl='azure.cli.command_modules.feedback.custom#{}')
+
+ with self.command_group('', custom_feedback) as g:
+ g.command('feedback', 'handle_feedback')
+
+ return self.command_table
-def load_commands():
- import azure.cli.command_modules.feedback.commands # pylint:
disable=redefined-outer-name, unused-variable
+COMMAND_LOADER_CLS = FeedbackCommandsLoader
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/_help.py
new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/_help.py
--- old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/_help.py
2017-07-07 18:19:23.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/_help.py
2018-01-12 18:25:22.000000000 +0100
@@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for
license information.
#
--------------------------------------------------------------------------------------------
-from azure.cli.core.help_files import helps
+from knack.help_files import helps
helps['feedback'] = """
type: command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/commands.py
new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/commands.py
--- old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/commands.py
2017-07-07 18:19:23.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/commands.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#
--------------------------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-#
--------------------------------------------------------------------------------------------
-
-from azure.cli.core.commands import cli_command
-
-cli_command(__name__, 'feedback',
'azure.cli.command_modules.feedback.custom#handle_feedback')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/custom.py
new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/custom.py
--- old/azure-cli-feedback-2.0.6/azure/cli/command_modules/feedback/custom.py
2017-07-07 18:19:23.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure/cli/command_modules/feedback/custom.py
2018-01-12 18:25:22.000000000 +0100
@@ -6,13 +6,15 @@
from __future__ import print_function
import sys
+from knack.log import get_logger
+from knack.prompting import prompt, NoTTYException
+from knack.util import CLIError
+
from azure.cli.core import __version__ as core_version
-from azure.cli.core.util import CLIError
-from azure.cli.core.prompting import prompt, NoTTYException
-import azure.cli.core.azlogging as azlogging
+from azure.cli.core.util import COMPONENT_PREFIX,
get_installed_cli_distributions
+logger = get_logger(__name__)
-logger = azlogging.get_az_logger(__name__)
MESSAGES = {
'intro': 'We appreciate your feedback! This survey is only two questions
and should take less '
@@ -31,9 +33,8 @@
INSTRUMENTATION_KEY = '02b91c82-6729-4241-befc-e6d02ca4fbba'
EVENT_NAME = 'FeedbackEvent'
-COMPONENT_PREFIX = 'azure-cli-'
-
+# pylint: disable=inconsistent-return-statements
def _prompt_net_promoter_score():
while True:
try:
@@ -46,8 +47,7 @@
def _get_version_info():
- from pip import get_installed_distributions
- installed_dists = get_installed_distributions(local_only=True)
+ installed_dists = get_installed_cli_distributions()
component_version_info = sorted([{'name':
dist.key.replace(COMPONENT_PREFIX, ''),
'version': dist.version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/PKG-INFO
new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/PKG-INFO
--- old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/PKG-INFO
2017-07-07 18:20:12.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/PKG-INFO
2018-01-12 18:25:32.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-feedback
-Version: 2.0.6
+Version: 2.0.8
Summary: Microsoft Azure Command-Line Tools Feedback Command Module
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -19,8 +19,17 @@
Release History
===============
- 2.0.6 (2017-07-07)
- ++++++++++++++++++
+
+ 2.0.8
+ +++++
+ * Minor fixes.
+
+ 2.0.7
+ ++++++
+ * Update for CLI core changes.
+
+ 2.0.6
+ +++++
* minor fixes
2.0.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/SOURCES.txt
new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/SOURCES.txt
--- old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/SOURCES.txt
2017-07-07 18:20:12.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/SOURCES.txt
2018-01-12 18:25:33.000000000 +0100
@@ -8,7 +8,6 @@
azure/cli/command_modules/__init__.py
azure/cli/command_modules/feedback/__init__.py
azure/cli/command_modules/feedback/_help.py
-azure/cli/command_modules/feedback/commands.py
azure/cli/command_modules/feedback/custom.py
azure_cli_feedback.egg-info/PKG-INFO
azure_cli_feedback.egg-info/SOURCES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/requires.txt
new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/requires.txt
--- old/azure-cli-feedback-2.0.6/azure_cli_feedback.egg-info/requires.txt
2017-07-07 18:20:12.000000000 +0200
+++ new/azure-cli-feedback-2.0.8/azure_cli_feedback.egg-info/requires.txt
2018-01-12 18:25:32.000000000 +0100
@@ -1,3 +1,2 @@
applicationinsights
azure-cli-core
-azure-cli-command-modules-nspkg>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-feedback-2.0.6/setup.py
new/azure-cli-feedback-2.0.8/setup.py
--- old/azure-cli-feedback-2.0.6/setup.py 2017-07-07 18:20:12.000000000
+0200
+++ new/azure-cli-feedback-2.0.8/setup.py 2018-01-12 18:25:22.000000000
+0100
@@ -15,7 +15,7 @@
cmdclass = {}
-VERSION = "2.0.6"
+VERSION = "2.0.8"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',