From 02077fa1bc48fc9abe8afe71a5be25a73b9c5dfaedcfed1b2d0acdd4e9418f61 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 15 Oct 2020 11:34:53 +0000 Subject: [PATCH] Accepting request 841902 from home:glaubitz:branches:Cloud:Tools - Update to version 2.14.0 * Support for API definitions in the API Gateway service * ``oci api-gateway api --help`` * Support for pattern-based Logical Entities, namespace-bound Custom Properties, and faceted search in the Data Catalog service * ``oci data-catalog pattern`` * ``oci data-catalog data-asset add-data-selector-patterns`` * ``oci data-catalog entity list-aggregated-physical`` * ``oci data-catalog namespace`` * ``oci data-catalog custom-property`` * ``oci data-catalog type associate-custom-properties`` * ``oci data-catalog search query`` * Support for Autonomous Data Guard for Autonomous Infrastructure * ``oci autonomous-container-database-dataguard`` * ``oci autonomous-database-dataguard`` * Support for creating a Data Guard association on an existing standby database home in the Database service. * ``oci db data-guard-association create from-existing-db-system --peer-db-home-id`` * ``oci db data-guard-association create from-existing-vm-cluster --peer-db-home-id`` * Support for list database homes by version. * ``oci db db-home list --db-version`` * Support for upgrading Cloud VM Cluster Grid Infrastructure * ``oci db cloud-vm-cluster update [options]`` * Help messages for Logging Ingestion Service * Support for updating saved search logs for Logging Service * ``oci logging log-saved-search`` * ``oci logging log-included-search`` * [Breaking] Required param ``is-quick-start`` is deleted from ``oci logging log-saved-search create/update`` - from version 2.13.0 OBS-URL: https://build.opensuse.org/request/show/841902 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=14 --- oc_relax-python-depends.patch | 26 ++++---- oci-cli.changes | 120 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 6 +- v2.12.10.tar.gz | 3 - v2.14.0.tar.gz | 3 + 5 files changed, 138 insertions(+), 20 deletions(-) delete mode 100644 v2.12.10.tar.gz create mode 100644 v2.14.0.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index f57f2a4..4d2f4bc 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,6 +1,6 @@ -diff -Nru oci-cli-2.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt ---- oci-cli-2.12.10.orig/requirements.txt 2020-09-08 23:07:04.000000000 +0200 -+++ oci-cli-2.12.10/requirements.txt 2020-09-09 15:05:11.806942865 +0200 +diff -Nru oci-cli-2.14.0.orig/requirements.txt oci-cli-2.14.0/requirements.txt +--- oci-cli-2.14.0.orig/requirements.txt 2020-10-14 00:49:30.000000000 +0200 ++++ oci-cli-2.14.0/requirements.txt 2020-10-15 13:16:01.485756025 +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.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.21.3 +-oci==2.23.0 -packaging==20.2 -pluggy==0.4.0 -py==1.4.33 @@ -30,7 +30,6 @@ diff -Nru oci-cli-2.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt -pyparsing==2.2.0 -pytest==3.2.3 -pytest-cov==2.5.1 --python-dateutil>=2.5.3,<3.0.0 +click>=6.7 +coverage>=4.5.2 +cryptography>=2.8 @@ -39,7 +38,7 @@ diff -Nru oci-cli-2.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.21.3 ++oci>=2.23.0 +packaging>=20.2 +pluggy>=0.4.0 +py>=1.4.33 @@ -49,7 +48,7 @@ diff -Nru oci-cli-2.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt +pyparsing>=2.2.0 +pytest>=3.2.3 +pytest-cov>=2.5.1 -+python-dateutil>=2.5.3 + python-dateutil>=2.5.3,<3.0.0 pytz>=2016.10 -requests==2.21.0 -retrying==1.3.3 @@ -75,27 +74,26 @@ diff -Nru oci-cli-2.12.10.orig/requirements.txt oci-cli-2.12.10/requirements.txt +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 +PyYAML>=5.1.2 -diff -Nru oci-cli-2.12.10.orig/setup.py oci-cli-2.12.10/setup.py ---- oci-cli-2.12.10.orig/setup.py 2020-09-08 23:07:04.000000000 +0200 -+++ oci-cli-2.12.10/setup.py 2020-09-09 15:05:23.306985550 +0200 +diff -Nru oci-cli-2.14.0.orig/setup.py oci-cli-2.14.0/setup.py +--- oci-cli-2.14.0.orig/setup.py 2020-10-14 00:49:30.000000000 +0200 ++++ oci-cli-2.14.0/setup.py 2020-10-15 13:16:10.445901281 +0200 @@ -30,24 +30,23 @@ readme = f.read() requires = [ -- 'oci==2.21.3', +- 'oci==2.23.0', - 'arrow==0.14.7', -+ 'oci>=2.21.3', ++ 'oci>=2.23.0', + 'arrow>=0.14.7', 'certifi', - 'click==6.7', - 'configparser==4.0.2', - 'cryptography==2.8', - 'jmespath==0.10.0', -- 'python-dateutil>=2.5.3,<3.0.0', + 'click>=6.7', + 'cryptography>=2.8', + 'jmespath>=0.10.0', -+ 'python-dateutil>=2.5.3', + 'python-dateutil>=2.5.3,<3.0.0', 'pytz>=2016.10', - 'retrying==1.3.3', - 'six==1.14.0', diff --git a/oci-cli.changes b/oci-cli.changes index ff17906..4e1cc77 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,123 @@ +------------------------------------------------------------------- +Thu Oct 15 11:21:26 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.14.0 + * Support for API definitions in the API Gateway service + * ``oci api-gateway api --help`` + * Support for pattern-based Logical Entities, namespace-bound Custom Properties, + and faceted search in the Data Catalog service + * ``oci data-catalog pattern`` + * ``oci data-catalog data-asset add-data-selector-patterns`` + * ``oci data-catalog entity list-aggregated-physical`` + * ``oci data-catalog namespace`` + * ``oci data-catalog custom-property`` + * ``oci data-catalog type associate-custom-properties`` + * ``oci data-catalog search query`` + * Support for Autonomous Data Guard for Autonomous Infrastructure + * ``oci autonomous-container-database-dataguard`` + * ``oci autonomous-database-dataguard`` + * Support for creating a Data Guard association on an existing standby + database home in the Database service. + * ``oci db data-guard-association create from-existing-db-system --peer-db-home-id`` + * ``oci db data-guard-association create from-existing-vm-cluster --peer-db-home-id`` + * Support for list database homes by version. + * ``oci db db-home list --db-version`` + * Support for upgrading Cloud VM Cluster Grid Infrastructure + * ``oci db cloud-vm-cluster update [options]`` + * Help messages for Logging Ingestion Service + * Support for updating saved search logs for Logging Service + * ``oci logging log-saved-search`` + * ``oci logging log-included-search`` + * [Breaking] Required param ``is-quick-start`` is deleted from ``oci logging + log-saved-search create/update`` +- from version 2.13.0 + * Support for the following features in the Database service + * Rotating keys on autonomous container databases and autonomous databases + * ``oci db autonomous-container-database rotate-key`` + * ``oci db autonomous-database rotate-key`` + * Managing Cloud Exadata Infrastructure resources + * ``oci db cloud-exa-infra`` + * Managing Cloud VM Cluster resources + * ``oci db cloud-vm-cluster`` + * Support for the following features in the Data Integration Service + * Application list patch changes (``oci data-integration application list-patch-changes``) + * Application references (``oci data-integration reference``) + * Publishing Data Integration tasks to OCI Dataflow service + * ``oci data-integration external-publication`` + * ``oci data-integration external-publication-validation`` + * Generic JDBC and MySQL data asset types + * ``oci data-integration data-asset update | create`` + * [Breaking] The following commands have been moved + * ``oci data-integration task delete-task-validation`` to ``oci data-integration task-validation delete`` + * ``oci data-integration task get-task-validation`` to ``oci data-integration task-validation get`` + * ``oci data-integration task list-task-validations`` to ``oci data-integration task-validation list`` + * Support for disabling the legacy Instance Metadata endpoints v1 in the Compute service + * ``oci compute instance launch --instance-options`` + * Support for instance configurations specifying instance options in the Compute Management service + * ``oci compute-management instance-configuration create --instance-details`` + * Support for controlling the display of tax banners in the Marketplace service + * ``oci marketplace tax-summary list-taxes`` + * Streaming output support for listing objects in Object Storage + (`Issue 323 `__) + * ``oci os object list --stream-output`` + * Support for calling Oracle Cloud Infrastructure services in the Dubai region (``--region me-dubai-1``) +- from version 2.12.13 + * Support for Custom SSL Certificates for Gateways as part of the API Gateway Service + * ``oci api-gateway certificate create`` + * ``oci api-gateway certificate delete`` + * ``oci api-gateway gateway create --certificate-id`` + * ``oci api-gateway gateway update --certificate-id`` + * Support for specifying custom content dispositions when downloading + objects in the Object Storage service + * ``oci os object get`` + * Support for updating the tags of an instance console connection in Compute Service + * ``oci compute instance-console-connection update`` + * Support for the “bring your own IP address” feature in the Virtual Networking service + * ``oci network byoip-range`` + * ``oci network public-ip-pool`` + * Support for db-home update in Database Service + * ``oci db db-home update --db-home-id --db-version `` +- from version 2.12.12 + * Support for Software Keys in Key Management Service + * ``oci kms management key create --protection-mode SOFTWARE`` + * ``oci kms management key import --protection-mode SOFTWARE`` + * ``oci kms management key list --protection-mode SOFTWARE`` + * Support for exporting software keys in Key Management Service + * ``oci kms crypto key export`` + * Support to update open mode and permission level for Autonomous Database + * ``oci db autonomous-database update --open-mode`` + * ``oci db autonomous-database update --permission-level`` + * Support to specify number of memory in GB when launching or updating a Compute instance + * ``oci compute instance launch --shape-config "shapeConfig":{"memoryInGBs": 0.0, "ocpus": 0.0}`` + * ``oci compute instance update --shape-config`` + * Support for managing shape compatibility entries with memory constraints for Compute images + * ``oci compute image-shape-compatibility-entry`` + * Added new parameter to specify the allow memory in GB range per ocpu for Compute shapes + * ``oci compute shape list --max-per-ocpu-in-gbs, --min-per-ocpu-in-gbs`` + * Pagination support for listing announcements from Announce service + (`Issue 311 `__) + * ``oci announce announcements list --all, --limits, --page-size`` + * Support specifying customer contacts when creating or updating an exadata infrastructure + * ``oci db exadata-infrastructure create --contacts `` + * ``oci db exadata-infrastructure update --contacts `` +- from version 2.12.11 + * Support for specifying desired consumption models when creating instances in the Integration service + * ``oci integration integration-instance create --consumption-model`` + * Support for updating load balancer shape in the Load Balancing service + * ``oci lb load-balancer update-load-balancer-shape`` + * Support for the Cloud Guard Service + * ``oci cloud-guard`` + * Support for no tty option for non-interactive installation on non-Windows systems + (`Issue 282 `__) + * ``./install.sh --no-tty`` + * Support for retrieving specified tenancy information in Identity Service + * ``oci iam tenancy get`` + * Error when using wait-for-state for creating a compartment + * ``oci iam compartment create --wait-for-state`` +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Wed Sep 9 13:05:47 UTC 2020 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index c024450..eec05d7 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -28,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 2.12.10 +Version: 2.14.0 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -46,7 +46,7 @@ BuildRequires: python3-click >= 6.7 BuildRequires: python3-cryptography >= 2.8 BuildRequires: python3-devel BuildRequires: python3-jmespath >= 0.9.4 -BuildRequires: python3-oci-sdk >= 2.21.3 +BuildRequires: python3-oci-sdk >= 2.23.0 BuildRequires: python3-pyOpenSSL >= 18.0.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -84,7 +84,7 @@ Requires: python3-certifi Requires: python3-click >= 6.7 Requires: python3-cryptography >= 2.8 Requires: python3-jmespath >= 0.10.0 -Requires: python3-oci-sdk >= 2.21.3 +Requires: python3-oci-sdk >= 2.23.0 Requires: python3-pyOpenSSL >= 18.0.0 Requires: python3-python-dateutil >= 2.5.3 Requires: python3-pytz >= 2016.10 diff --git a/v2.12.10.tar.gz b/v2.12.10.tar.gz deleted file mode 100644 index 8f419f4..0000000 --- a/v2.12.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f72a5d871b948aa8d05b794b65cd7081dd8c11e6c7bec37810264328738bd97d -size 1288311 diff --git a/v2.14.0.tar.gz b/v2.14.0.tar.gz new file mode 100644 index 0000000..c8b7ccb --- /dev/null +++ b/v2.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14f2ee8c118ab1d6d76e7a7d949fe80d9d7a31b978dd0bdc55937d150bc29f1d +size 1365729