From 5fbfc872549d34fc7701ec7287416606f1b621491af3874819395d03975c089c Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 4 Aug 2021 06:03:49 +0000 Subject: [PATCH] Accepting request 910029 from home:glaubitz:branches:Cloud:Tools - Update to version 2.26.4 * Support for filtering by tag on capacity planning and SQL warehouse list operations in the Operations Insights service * Parameters ``defined-tag-equals``, ``freeform-tag-equals``, ``defined-tag-exists``, ``freeform-tag-exists`` are added for some commands under ``oci opsi database-insights`` * Support for creating cross-region autonomous data guards in the Database service * ``oci db autonomous-database create-cross-region-data-guard`` * ``oci db autonomous-database fail-over --peer-db-id`` * ``oci db autonomous-database switchover --peer-db-id`` * ``oci db autonomous-database update --peer-db-id`` * Support for the customer contacts feature on cloud exadata infrastructure in the Database service * ``oci db cloud-exa-infra create --customer-contacts`` * ``oci db cloud-exa-infra update --customer-contacts`` * Support for cost analysis custom tables in the Usage service * ``oci usage-api custom-table`` * Support non-default config file locations for ``oci session validate`` and ``oci session terminate`` * Support to add passphrase for session authentication (``oci session authenticate``) - from version 2.26.3 * Support for empty and dry-run options while deleting buckets in Object Storage service * ``oci os bucket delete --empty --dry-run`` * ``oci os bucket delete --empty`` * Support for schedules and tasks in Data Integration service * ``oci data-integration schedule`` * ``oci data-integration task`` * Database service * Support for getting available updates and updating histories for a VM cluster * ``oci db vm-cluster get-update --update-id --vm-cluster-id `` * ``oci db vm-cluster list-updates --vm-cluster-id OBS-URL: https://build.opensuse.org/request/show/910029 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=23 --- oc_relax-python-depends.patch | 33 ++++----- oci-cli-2.25.4.tar.gz | 3 - oci-cli-2.26.4.tar.gz | 3 + oci-cli.changes | 128 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 10 ++- 5 files changed, 148 insertions(+), 29 deletions(-) delete mode 100644 oci-cli-2.25.4.tar.gz create mode 100644 oci-cli-2.26.4.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 699e3a9..0bc9062 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,7 +1,7 @@ -diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt ---- oci-cli-2.25.4.orig/requirements.txt 2021-06-22 23:53:53.000000000 +0200 -+++ oci-cli-2.25.4/requirements.txt 2021-06-29 11:03:08.743404407 +0200 -@@ -2,41 +2,41 @@ +diff -Nru oci-cli-2.26.4.orig/requirements.txt oci-cli-2.26.4/requirements.txt +--- oci-cli-2.26.4.orig/requirements.txt 2021-07-27 20:09:09.000000000 +0200 ++++ oci-cli-2.26.4/requirements.txt 2021-08-03 15:54:35.684471717 +0200 +@@ -2,40 +2,39 @@ # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # you may need to use the --extra-index-url option instead. @@ -20,7 +20,7 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.40.1 +-oci==2.43.1 -packaging==20.2 -pluggy==0.13.0 -py==1.10.0 @@ -34,13 +34,12 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt +click>=6.7 +configparser>=4.0.2 +coverage>=4.5.2 -+cryptography>=3.3.2 +httpsig-cffi>=15.0.0 +Jinja2>=2.11.3 +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.40.1 ++oci>=2.43.1 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.10.0 @@ -53,9 +52,7 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt +python-dateutil>=2.5.3 pytz>=2016.10 -requests==2.21.0 --retrying==1.3.3 +requests>=2.21.0 -+retrying>=1.3.3 setuptools<45 -six==1.14.0 -sphinx==1.6.4 @@ -77,16 +74,16 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 +PyYAML>=5.4 -diff -Nru oci-cli-2.25.4.orig/setup.py oci-cli-2.25.4/setup.py ---- oci-cli-2.25.4.orig/setup.py 2021-06-22 23:53:53.000000000 +0200 -+++ oci-cli-2.25.4/setup.py 2021-06-29 11:03:26.806320907 +0200 -@@ -30,24 +30,24 @@ +diff -Nru oci-cli-2.26.4.orig/setup.py oci-cli-2.26.4/setup.py +--- oci-cli-2.26.4.orig/setup.py 2021-07-27 20:09:09.000000000 +0200 ++++ oci-cli-2.26.4/setup.py 2021-08-03 15:55:02.220778206 +0200 +@@ -30,23 +30,22 @@ readme = f.read() requires = [ -- 'oci==2.40.1', +- 'oci==2.43.1', - 'arrow==0.17.0', -+ 'oci>=2.40.1', ++ 'oci>=2.43.1', + 'arrow>=0.17.0', 'certifi', - 'click==6.7', @@ -95,21 +92,17 @@ diff -Nru oci-cli-2.25.4.orig/setup.py oci-cli-2.25.4/setup.py - 'jmespath==0.10.0', - 'python-dateutil>=2.5.3,<3.0.0', + 'click>=6.7', -+ 'configparser>=4.0.2', + 'cryptography>=3.2.1', + 'jmespath>=0.10.0', + 'python-dateutil>=2.5.3', 'pytz>=2016.10', -- 'retrying==1.3.3', - 'six==1.14.0', - 'terminaltables==3.1.0', - 'pyOpenSSL==19.1.0', -- 'PyYAML>=5.4,<6' -+ 'retrying>=1.3.3', + 'six>=1.14.0', + 'terminaltables>=3.1.0', + 'pyOpenSSL>=19.1.0', -+ 'PyYAML>=5.4' + 'PyYAML>=5.4,<6' ] extras = { diff --git a/oci-cli-2.25.4.tar.gz b/oci-cli-2.25.4.tar.gz deleted file mode 100644 index 3ad55b2..0000000 --- a/oci-cli-2.25.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0c3863528938ea856404fab217861de953b181b5db00cc69dab15e9f163c2c8 -size 1793538 diff --git a/oci-cli-2.26.4.tar.gz b/oci-cli-2.26.4.tar.gz new file mode 100644 index 0000000..c0ce116 --- /dev/null +++ b/oci-cli-2.26.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfae43864a75f6b69130fffdbbb5aea8fe7dfaf2c069a02eee30320697a9477b +size 1870156 diff --git a/oci-cli.changes b/oci-cli.changes index dae8467..1a5bb57 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,131 @@ +------------------------------------------------------------------- +Tue Aug 3 15:33:40 UTC 2021 - John Paul Adrian Glaubitz + +- Update to version 2.26.4 + * Support for filtering by tag on capacity planning and SQL warehouse + list operations in the Operations Insights service + * Parameters ``defined-tag-equals``, ``freeform-tag-equals``, ``defined-tag-exists``, + ``freeform-tag-exists`` are added for some commands under ``oci opsi database-insights`` + * Support for creating cross-region autonomous data guards in the Database service + * ``oci db autonomous-database create-cross-region-data-guard`` + * ``oci db autonomous-database fail-over --peer-db-id`` + * ``oci db autonomous-database switchover --peer-db-id`` + * ``oci db autonomous-database update --peer-db-id`` + * Support for the customer contacts feature on cloud exadata infrastructure + in the Database service + * ``oci db cloud-exa-infra create --customer-contacts`` + * ``oci db cloud-exa-infra update --customer-contacts`` + * Support for cost analysis custom tables in the Usage service + * ``oci usage-api custom-table`` + * Support non-default config file locations for ``oci session validate`` + and ``oci session terminate`` + * Support to add passphrase for session authentication (``oci session authenticate``) +- from version 2.26.3 + * Support for empty and dry-run options while deleting buckets in Object Storage service + * ``oci os bucket delete --empty --dry-run`` + * ``oci os bucket delete --empty`` + * Support for schedules and tasks in Data Integration service + * ``oci data-integration schedule`` + * ``oci data-integration task`` + * Database service + * Support for getting available updates and updating histories for a VM cluster + * ``oci db vm-cluster get-update --update-id --vm-cluster-id `` + * ``oci db vm-cluster list-updates --vm-cluster-id + --update-type `` + * ``oci db vm-cluster get-update-history --update-history-entry-id + --vm-cluster-id `` + * ``oci db vm-cluster list-update-histories --vm-cluster-id + --update-type `` + * Support for updating dataguard + * ``oci db data-guard-association update`` + * Support for downloading network validation report file for VM Cluster Networks + * ``oci db vm-cluster-network download-validation-report --exadata-infrastructure-id, + --file, --vm-cluster-network-id`` + * Support patch and upgrade of Grid Infrastructure (GI) and update of + DomU OS software for a VM cluster + * ``oci db vm-cluster update --update-id + --update-action `` +- from version 2.26.2 + * Support for AI Anomaly Detection service + * ``oci anomaly-detection`` + * Support for retrieving a DNS zone as a zone file in DNS service + * ``oci dns zone get-zone-content --file`` + * Support for Search domain type for DHCP options to support multi-level + search domain in Network Service. + * ``oci network dhcp-options create --domain-name-type`` + * ``oci network dhcp-options update --domain-name-type`` + * Support for searching Marketplace Listings + * ``oci marketplace listing-summary search-listings`` + * ``oci marketplace listing-summary search-listings-free-text`` + * ``oci marketplace listing-summary search-listings-structured`` + * Parameter --availability-domain is now optional in create VLAN in Network service. + * ``oci network vlan create--availability-domain`` +- from version 2.26.1 + * Support for Order Activation features in the Organizations Service + * oci organizations order activate + * oci organizations order get + * Support new OCE instance license type - Starter Edition in the OCE service. + The new license type is: STARTER + * ``oci oce oce-instance create --instance-license-type STARTER`` + * ``oci oce oce-instance update --instance-license-type STARTER`` + * Expanded DRG functionality in the Networking Service + * More than one VCN can be attached to a DRG + * Flexible routing inside DRG enables packet flow between any two attachments + * Routing policy to customize dynamic import/export of routes + * Operations Insights + * Support for resource principal authorization for enterprise manager bridge resource + * New lifecycle state "NEEDS_ATTENTION" to indicate issues with the bridge resource, + and new field "objectStorageBucketStatusDetails" to provide detail + * ``oci opsi host-insights list --lifecycle-state NEEDS_ATTENTION`` + * ``oci opsi enterprise-manager-bridges list --lifecycle-state NEEDS_ATTENTION`` + * ``oci opsi database-insights list --lifecycle-state NEEDS_ATTENTION`` + * Changed ``oci setup autocomplete`` to create a symlink pointing to current + CLI version oci_autocomplete.sh script + * Issue with environment based config throwing ``FileNotFoundError:`` for a non-required config +- from version 2.26.0 - 2021-06-29 + * Support for passing in private key content as a environment variable. A private key file + is not required if this variable is set + * Export ``OCI_CLI_KEY_CONTENT`` with the private key content enclosed with single quotes + * Support for the DevOps service + * ``oci devops`` + * Support for configuring network security groups for node pools in the container + engine for Kubernetes service + * ``oci ce node-pool create --nsg-ids`` + * ``oci ce node-pool update --nsg-ids`` + * Support for optionally specifying CPU core count and data storage size when creating + autonomous databases in the Database service + * ``oci db autonomous-database create --data-storage-size-in-gbs`` + * Support for metastore and initial data asset import/export in the Data Catalog service + * ``oci data-catalog metastore`` + * ``oci data-catalog data-asset import`` + * ``oci data-catalog data-asset synchronous-export`` + * [Breaking] ``DISPLAYNAME`` removed from --sort-by option + * Support for Email Domain in the Email Delivery service + * ``oci email domain change-compartment --compartment-id --email-domain-id`` + * ``oci email domain create --compartment-id --name`` + * ``oci email domain delete --email-domain-id`` + * ``oci email domain get --email-domain-id`` + * ``oci email domain list --compartment-id`` + * ``oci email domain update --email-domain-id`` + * Support for Domain Key Identified Mail in the Email Delivery service + * ``oci email dkim create --email-domain-id`` + * ``oci email dkim delete --dkim-id`` + * ``oci email dkim get --dkim-id`` + * ``oci email dkim list --email-domain-id`` + * ``oci email dkim update --dkim-id`` + * Support for new API to list work requests for Email Domain and DKIM + in the Email Delivery service + * ``oci email work-request get --work-request-id`` + * ``oci email work-request list --compartment-id`` + * ``oci email work-request-error-collection list --work-request-id`` + * ``oci email work-request-log list --work-request-id`` + * Support for ``--domain`` field in the response for ``oci email sender`` + in the Email Delivery service + * Support for changing the number of retries for a CLI command (``--max-retries``) +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Tue Jun 29 10:38:35 UTC 2021 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index 5178ff8..ffe4139 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -1,5 +1,5 @@ # -# spec file for package oci-cli +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -28,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 2.25.4 +Version: 2.26.4 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -47,11 +47,10 @@ BuildRequires: python3-click >= 6.7 BuildRequires: python3-cryptography >= 3.2.1 BuildRequires: python3-devel BuildRequires: python3-jmespath >= 0.9.4 -BuildRequires: python3-oci-sdk >= 2.40.1 +BuildRequires: python3-oci-sdk >= 2.43.1 BuildRequires: python3-pyOpenSSL >= 18.0.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 -BuildRequires: python3-retrying >= 1.3.3 BuildRequires: python3-setuptools BuildRequires: python3-six >= 1.14.0 BuildRequires: python3-terminaltables >= 3.1.0 @@ -85,11 +84,10 @@ Requires: python3-certifi Requires: python3-click >= 6.7 Requires: python3-cryptography >= 3.2.1 Requires: python3-jmespath >= 0.10.0 -Requires: python3-oci-sdk >= 2.40.1 +Requires: python3-oci-sdk >= 2.43.1 Requires: python3-pyOpenSSL >= 18.0.0 Requires: python3-python-dateutil >= 2.5.3 Requires: python3-pytz >= 2016.10 -Requires: python3-retrying >= 1.3.3 Requires: python3-six >= 1.14.0 Requires: python3-terminaltables >= 3.1.0