Hello community, here is the log from the commit of package azure-cli-lab for openSUSE:Factory checked in at 2019-10-31 18:16:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli-lab (Old) and /work/SRC/openSUSE:Factory/.azure-cli-lab.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-lab" Thu Oct 31 18:16:28 2019 rev:7 rq:742699 version:0.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli-lab/azure-cli-lab.changes 2019-06-05 11:44:03.623027508 +0200 +++ /work/SRC/openSUSE:Factory/.azure-cli-lab.new.2990/azure-cli-lab.changes 2019-10-31 18:16:29.594087406 +0100 @@ -1,0 +2,9 @@ +Thu Oct 24 12:10:55 UTC 2019 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 0.1.8 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cli-lab-0.1.5.tar.gz New: ---- azure-cli-lab-0.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli-lab.spec ++++++ --- /var/tmp/diff_new_pack.WmToY7/_old 2019-10-31 18:16:30.406088246 +0100 +++ /var/tmp/diff_new_pack.WmToY7/_new 2019-10-31 18:16:30.406088246 +0100 @@ -17,7 +17,7 @@ Name: azure-cli-lab -Version: 0.1.5 +Version: 0.1.8 Release: 0 Summary: Microsoft Azure CLI 'DevTestLabs' Command Module License: MIT @@ -33,7 +33,7 @@ Requires: azure-cli-command-modules-nspkg Requires: azure-cli-core Requires: azure-cli-nspkg -Requires: python3-azure-graphrbac >= 0.53.0 +Requires: python3-azure-graphrbac >= 0.60.0 Requires: python3-azure-mgmt-devtestlabs >= 2.2.0 Requires: python3-azure-nspkg >= 3.0.0 Conflicts: azure-cli < 2.0.0 ++++++ azure-cli-lab-0.1.5.tar.gz -> azure-cli-lab-0.1.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/HISTORY.rst new/azure-cli-lab-0.1.8/HISTORY.rst --- old/azure-cli-lab-0.1.5/HISTORY.rst 2019-01-11 05:42:07.000000000 +0100 +++ new/azure-cli-lab-0.1.8/HISTORY.rst 2019-06-13 23:17:46.000000000 +0200 @@ -2,6 +2,19 @@ Release History =============== + +0.1.8 ++++++ +* Minor fixes + +0.1.7 ++++++ +* Fixed error: 'ObjectsOperations' object has no attribute 'get_current_user' + +0.1.6 ++++++ +* Minor fixes + 0.1.5 +++++ * Minor fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/PKG-INFO new/azure-cli-lab-0.1.8/PKG-INFO --- old/azure-cli-lab-0.1.5/PKG-INFO 2019-01-11 05:42:49.000000000 +0100 +++ new/azure-cli-lab-0.1.8/PKG-INFO 2019-06-13 23:18:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: azure-cli-lab -Version: 0.1.5 +Version: 0.1.8 Summary: Microsoft Azure Command-Line Tools DevTestLabs Command Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation @@ -14,6 +14,19 @@ Release History =============== + + 0.1.8 + +++++ + * Minor fixes + + 0.1.7 + +++++ + * Fixed error: 'ObjectsOperations' object has no attribute 'get_current_user' + + 0.1.6 + +++++ + * Minor fixes + 0.1.5 +++++ * Minor fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/__init__.py new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/__init__.py --- old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/__init__.py 2019-01-11 05:42:07.000000000 +0100 +++ new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/__init__.py 2019-06-13 23:17:46.000000000 +0200 @@ -12,9 +12,10 @@ def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType + from azure.cli.core.profiles import ResourceType lab_custom = CliCommandType(operations_tmpl='azure.cli.command_modules.lab.custom#{}') super(DevTestLabCommandsLoader, self).__init__(cli_ctx=cli_ctx, custom_command_type=lab_custom, - min_profile='2017-03-10-profile') + resource_type=ResourceType.MGMT_DEVTESTLABS) def load_command_table(self, args): from azure.cli.command_modules.lab.commands import load_command_table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/commands.py new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/commands.py --- old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/commands.py 2019-01-11 05:42:07.000000000 +0100 +++ new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/commands.py 2019-06-13 23:17:46.000000000 +0200 @@ -24,59 +24,59 @@ def load_command_table(self, _): virtual_machine_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.virtual_machines_operations#VirtualMachinesOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#VirtualMachinesOperations.{}', client_factory=get_devtestlabs_virtual_machine_operation ) lab_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.labs_operations#LabsOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#LabsOperations.{}', client_factory=get_devtestlabs_lab_operation ) custom_image_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.custom_images_operations#CustomImagesOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#CustomImagesOperations.{}', client_factory=get_devtestlabs_custom_image_operation ) gallery_image_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.gallery_images_operations#GalleryImagesOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#GalleryImagesOperations.{}', client_factory=get_devtestlabs_gallery_image_operation ) artifact_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.artifacts_operations#ArtifactsOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#ArtifactsOperations.{}', client_factory=get_devtestlabs_artifact_operation ) artifact_source_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.artifact_sources_operations#ArtifactSourcesOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#ArtifactSourcesOperations.{}', client_factory=get_devtestlabs_artifact_source_operation ) virtual_network_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.virtual_networks_operations#VirtualNetworksOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#VirtualNetworksOperations.{}', client_factory=get_devtestlabs_virtual_network_operation ) formula_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.formulas_operations#FormulasOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#FormulasOperations.{}', client_factory=get_devtestlabs_formula_operation ) secret_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.secrets_operations#SecretsOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#SecretsOperations.{}', client_factory=get_devtestlabs_secret_operation, validator=validate_user_name ) environment_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.environments_operations#EnvironmentsOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#EnvironmentsOperations.{}', client_factory=get_devtestlabs_environment_operation, validator=validate_user_name ) arm_template_operations = CliCommandType( - operations_tmpl='azure.mgmt.devtestlabs.operations.arm_templates_operations#ArmTemplatesOperations.{}', + operations_tmpl='azure.mgmt.devtestlabs.operations#ArmTemplatesOperations.{}', client_factory=get_devtestlabs_arm_template_operation ) @@ -150,3 +150,6 @@ g.command('list', 'list', table_transformer=transform_arm_template_list) g.custom_show_command('show', 'show_arm_template', table_transformer=transform_arm_template, client_factory=get_devtestlabs_arm_template_operation) + + with self.command_group('lab', is_preview=True): + pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/validators.py new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/validators.py --- old/azure-cli-lab-0.1.5/azure/cli/command_modules/lab/validators.py 2019-01-11 05:42:07.000000000 +0100 +++ new/azure-cli-lab-0.1.8/azure/cli/command_modules/lab/validators.py 2019-06-13 23:17:46.000000000 +0200 @@ -538,7 +538,7 @@ def _get_current_user_object_id(graph_client): from msrestazure.azure_exceptions import CloudError try: - current_user = graph_client.objects.get_current_user() + current_user = graph_client.signed_in_user.get() if current_user and current_user.object_id: # pylint:disable=no-member return current_user.object_id # pylint:disable=no-member except CloudError: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/azure_cli_lab.egg-info/PKG-INFO new/azure-cli-lab-0.1.8/azure_cli_lab.egg-info/PKG-INFO --- old/azure-cli-lab-0.1.5/azure_cli_lab.egg-info/PKG-INFO 2019-01-11 05:42:49.000000000 +0100 +++ new/azure-cli-lab-0.1.8/azure_cli_lab.egg-info/PKG-INFO 2019-06-13 23:18:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: azure-cli-lab -Version: 0.1.5 +Version: 0.1.8 Summary: Microsoft Azure Command-Line Tools DevTestLabs Command Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation @@ -14,6 +14,19 @@ Release History =============== + + 0.1.8 + +++++ + * Minor fixes + + 0.1.7 + +++++ + * Fixed error: 'ObjectsOperations' object has no attribute 'get_current_user' + + 0.1.6 + +++++ + * Minor fixes + 0.1.5 +++++ * Minor fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/azure_cli_lab.egg-info/requires.txt new/azure-cli-lab-0.1.8/azure_cli_lab.egg-info/requires.txt --- old/azure-cli-lab-0.1.5/azure_cli_lab.egg-info/requires.txt 2019-01-11 05:42:49.000000000 +0100 +++ new/azure-cli-lab-0.1.8/azure_cli_lab.egg-info/requires.txt 2019-06-13 23:18:08.000000000 +0200 @@ -1,3 +1,3 @@ azure-cli-core -azure-graphrbac==0.53.0 +azure-graphrbac==0.60.0 azure-mgmt-devtestlabs==2.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-lab-0.1.5/setup.py new/azure-cli-lab-0.1.8/setup.py --- old/azure-cli-lab-0.1.5/setup.py 2019-01-11 05:42:07.000000000 +0100 +++ new/azure-cli-lab-0.1.8/setup.py 2019-06-13 23:17:46.000000000 +0200 @@ -12,7 +12,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "0.1.5" +VERSION = "0.1.8" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -29,7 +29,7 @@ DEPENDENCIES = [ 'azure-cli-core', - 'azure-graphrbac==0.53.0', + 'azure-graphrbac==0.60.0', 'azure-mgmt-devtestlabs==2.2.0' ]
