Hello community, here is the log from the commit of package azure-cli-billing for openSUSE:Factory checked in at 2018-05-13 16:01:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli-billing (Old) and /work/SRC/openSUSE:Factory/.azure-cli-billing.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-billing" Sun May 13 16:01:21 2018 rev:3 rq:600036 version:0.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli-billing/azure-cli-billing.changes 2018-02-14 09:30:00.027005561 +0100 +++ /work/SRC/openSUSE:Factory/.azure-cli-billing.new/azure-cli-billing.changes 2018-05-13 16:01:21.930430237 +0200 @@ -1,0 +2,8 @@ +Tue Apr 17 14:22:24 UTC 2018 - adrian.glaub...@suse.com + +- New upstream release + + Version 0.1.8 +- Move LICENSE.txt from %doc to %license section +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cli-billing-0.1.7.tar.gz New: ---- azure-cli-billing-0.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli-billing.spec ++++++ --- /var/tmp/diff_new_pack.PwAuly/_old 2018-05-13 16:01:22.762399883 +0200 +++ /var/tmp/diff_new_pack.PwAuly/_new 2018-05-13 16:01:22.766399737 +0200 @@ -17,7 +17,7 @@ Name: azure-cli-billing -Version: 0.1.7 +Version: 0.1.8 Release: 0 Summary: Microsoft Azure CLI 'billing' Command Module License: MIT @@ -32,8 +32,9 @@ BuildRequires: python3-setuptools BuildRequires: unzip Requires: azure-cli-command-modules-nspkg +Requires: azure-cli-core Requires: azure-cli-nspkg -Requires: python3-azure-mgmt-billing >= 0.1.0 +Requires: python3-azure-mgmt-billing >= 0.2.0 Requires: python3-azure-nspkg Conflicts: azure-cli < 2.0.0 @@ -63,7 +64,8 @@ %files %defattr(-,root,root,-) -%doc HISTORY.rst LICENSE.txt README.rst +%doc HISTORY.rst README.rst +%license LICENSE.txt %{python3_sitelib}/azure/cli/command_modules/billing %{python3_sitelib}/azure_cli_billing-*.egg-info ++++++ azure-cli-billing-0.1.7.tar.gz -> azure-cli-billing-0.1.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/HISTORY.rst new/azure-cli-billing-0.1.8/HISTORY.rst --- old/azure-cli-billing-0.1.7/HISTORY.rst 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/HISTORY.rst 2018-04-06 19:33:13.000000000 +0200 @@ -3,6 +3,11 @@ Release History =============== +0.1.8 +++++++ +* Add enrollment account commands +* `sdist` is now compatible with wheel 0.31.0 + 0.1.7 ++++++ * Update for CLI core changes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/PKG-INFO new/azure-cli-billing-0.1.8/PKG-INFO --- old/azure-cli-billing-0.1.7/PKG-INFO 2018-01-05 22:12:04.000000000 +0100 +++ new/azure-cli-billing-0.1.8/PKG-INFO 2018-04-06 19:33:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: azure-cli-billing -Version: 0.1.7 +Version: 0.1.8 Summary: Microsoft Azure Command-Line Tools Billing Command Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation @@ -21,6 +21,11 @@ Release History =============== + 0.1.8 + ++++++ + * Add enrollment account commands + * `sdist` is now compatible with wheel 0.31.0 + 0.1.7 ++++++ * Update for CLI core changes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_client_factory.py new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_client_factory.py --- old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_client_factory.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_client_factory.py 2018-04-06 19:33:13.000000000 +0200 @@ -16,3 +16,7 @@ def billing_periods_mgmt_client_factory(cli_ctx, kwargs): return cf_billing(cli_ctx, **kwargs).billing_periods + + +def enrollment_accounts_mgmt_client_factory(cli_ctx, kwargs): + return cf_billing(cli_ctx, **kwargs).enrollment_accounts diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_help.py new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_help.py --- old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_help.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_help.py 2018-04-06 19:33:13.000000000 +0200 @@ -19,3 +19,8 @@ type: group short-summary: Get billing periods for a subscription. """ + +helps['billing enrollment-account'] = """ + type: group + short-summary: Get enrollment accounts. +""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_params.py new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_params.py --- old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/_params.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/_params.py 2018-04-06 19:33:13.000000000 +0200 @@ -14,3 +14,6 @@ with self.argument_context('billing period show') as c: c.argument('billing_period_name', options_list=['--name', '-n'], help='name of the billing period') + + with self.argument_context('billing enrollment-account show') as c: + c.argument('name', options_list=['--name', '-n'], help='name of the enrollment account') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/commands.py new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/commands.py --- old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/commands.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/commands.py 2018-04-06 19:33:13.000000000 +0200 @@ -7,7 +7,9 @@ from azure.cli.core.commands import CliCommandType from azure.cli.command_modules.billing._client_factory import ( - invoices_mgmt_client_factory, billing_periods_mgmt_client_factory) + invoices_mgmt_client_factory, + billing_periods_mgmt_client_factory, + enrollment_accounts_mgmt_client_factory) from ._exception_handler import billing_exception_handler @@ -24,10 +26,20 @@ exception_handler=billing_exception_handler ) + enrollment_account_util = CliCommandType( + operations_tmpl='azure.mgmt.billing.operations.enrollment_accounts_operations#EnrollmentAccountsOperations.{}', + client_factory=enrollment_accounts_mgmt_client_factory, + exception_handler=billing_exception_handler + ) + with self.command_group('billing invoice', billing_invoice_util, client_factory=invoices_mgmt_client_factory) as g: g.custom_command('list', 'cli_billing_list_invoices') g.custom_command('show', 'cli_billing_get_invoice') with self.command_group('billing period', billing_period_util, client_factory=billing_periods_mgmt_client_factory) as g: - g.custom_command('list', 'cli_billing_list_periods') + g.command('list', 'list') + g.command('show', 'get') + + with self.command_group('billing enrollment-account', enrollment_account_util, client_factory=enrollment_accounts_mgmt_client_factory) as g: + g.command('list', 'list') g.command('show', 'get') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/custom.py new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/custom.py --- old/azure-cli-billing-0.1.7/azure/cli/command_modules/billing/custom.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure/cli/command_modules/billing/custom.py 2018-04-06 19:33:13.000000000 +0200 @@ -6,8 +6,7 @@ def cli_billing_list_invoices(client, generate_url=False): """List all available invoices of the subscription""" - invoices = client.list(expand='downloadUrl' if generate_url else None) - return list(invoices) + return client.list(expand='downloadUrl' if generate_url else None) def cli_billing_get_invoice(client, name=None): @@ -15,8 +14,3 @@ if name: return client.get(name) return client.get_latest() - - -def cli_billing_list_periods(client): - """List all available billing periods of the subscription""" - return list(client.list()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure_cli_billing.egg-info/PKG-INFO new/azure-cli-billing-0.1.8/azure_cli_billing.egg-info/PKG-INFO --- old/azure-cli-billing-0.1.7/azure_cli_billing.egg-info/PKG-INFO 2018-01-05 22:12:04.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure_cli_billing.egg-info/PKG-INFO 2018-04-06 19:33:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: azure-cli-billing -Version: 0.1.7 +Version: 0.1.8 Summary: Microsoft Azure Command-Line Tools Billing Command Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation @@ -21,6 +21,11 @@ Release History =============== + 0.1.8 + ++++++ + * Add enrollment account commands + * `sdist` is now compatible with wheel 0.31.0 + 0.1.7 ++++++ * Update for CLI core changes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/azure_cli_billing.egg-info/requires.txt new/azure-cli-billing-0.1.8/azure_cli_billing.egg-info/requires.txt --- old/azure-cli-billing-0.1.7/azure_cli_billing.egg-info/requires.txt 2018-01-05 22:12:04.000000000 +0100 +++ new/azure-cli-billing-0.1.8/azure_cli_billing.egg-info/requires.txt 2018-04-06 19:33:51.000000000 +0200 @@ -1,2 +1,2 @@ -azure-mgmt-billing==0.1.0 +azure-mgmt-billing==0.2.0 azure-cli-core diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-billing-0.1.7/setup.py new/azure-cli-billing-0.1.8/setup.py --- old/azure-cli-billing-0.1.7/setup.py 2018-01-05 22:11:35.000000000 +0100 +++ new/azure-cli-billing-0.1.8/setup.py 2018-04-06 19:33:13.000000000 +0200 @@ -16,7 +16,7 @@ cmdclass = {} -VERSION = "0.1.7" +VERSION = "0.1.8" # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers CLASSIFIERS = [ @@ -33,7 +33,7 @@ ] DEPENDENCIES = [ - 'azure-mgmt-billing==0.1.0', + 'azure-mgmt-billing==0.2.0', 'azure-cli-core' ]