From c1f23a88032b7cf0915a8b9bd22b1f5847a189c909e81c44314e78010ea77aaf Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 9 Sep 2020 18:32:27 +0000 Subject: [PATCH] Accepting request 833318 from home:glaubitz:branches:Cloud:Tools - Update to version 2.12.10 * Support for searching Oracle Cloud resources across tenancies in the Search Service * ``oci search resource free-text-search --tenant-id`` * ``oci search resource structured-search --tenant-id`` * Support for Management Agent Cloud Service * ``oci management-agent`` * Support for sending diagnostic interrupt to a VM instance in the Compute Service * ``oci compute instance action --action SENDDIAGNOSTICINTERRUPT --instance-id`` * Support for custom Database Software Images in the Database Service * ``oci db database-software-image`` * Support for Management Dashboard Service * ``oci management-dashboard`` * Support for Logging Analytics Service * `oci log-analytics` * Support for Logging Service * ``oci logging`` * Support for Logging Ingestion Service * ``oci logging-ingestion`` * Support for Logging Search Service * ``oci logging-search`` * Support for Service Connector Hub service * ``oci sch`` * Support for getting and listing container database patches for Autonomous Container Database resources in the Database Service * ``oci db autonomous-patch get --autonomous-patch-id`` * ``oci db autonomous-patch list-container-database-patches --autonomous-container-database-id`` * Support for updating patch id on maintenance run for Autonomous Container Database resources in the Database Service * ``oci db maintenance-run update --patch-id`` * Support for Policy based Request/Response transformation OBS-URL: https://build.opensuse.org/request/show/833318 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=12 --- oc_relax-python-depends.patch | 56 ++++++------ oci-cli.changes | 162 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 11 ++- v2.12.10.tar.gz | 3 + v2.12.2.tar.gz | 3 - 5 files changed, 198 insertions(+), 37 deletions(-) create mode 100644 v2.12.10.tar.gz delete mode 100644 v2.12.2.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 797d646..f57f2a4 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,7 +1,7 @@ -diff -Nru oci-cli-2.12.2.orig/requirements.txt oci-cli-2.12.2/requirements.txt ---- oci-cli-2.12.2.orig/requirements.txt 2020-07-08 03:48:28.000000000 +0200 -+++ oci-cli-2.12.2/requirements.txt 2020-07-14 15:58:45.873672771 +0200 -@@ -2,41 +2,40 @@ +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 +@@ -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. @@ -16,17 +16,12 @@ diff -Nru oci-cli-2.12.2.orig/requirements.txt oci-cli-2.12.2/requirements.txt -coverage==4.5.2 -cryptography==2.8 -httpsig-cffi==15.0.0 -+click>=6.7 -+coverage>=4.5.2 -+cryptography>=2.8 -+httpsig-cffi>=15.0.0 - idna>=2.5,<2.7 -Jinja2==2.10.1 --jmespath==0.9.4 +-jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.17.2 --packaging==16.8 +-oci==2.21.3 +-packaging==20.2 -pluggy==0.4.0 -py==1.4.33 -pyasn1==0.2.3 @@ -35,12 +30,17 @@ diff -Nru oci-cli-2.12.2.orig/requirements.txt oci-cli-2.12.2/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 ++httpsig-cffi>=15.0.0 +Jinja2>=2.10.1 -+jmespath>=0.9.4 ++jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.17.2 -+packaging>=16.8 ++oci>=2.21.3 ++packaging>=20.2 +pluggy>=0.4.0 +py>=1.4.33 +pyasn1>=0.2.3 @@ -49,7 +49,7 @@ diff -Nru oci-cli-2.12.2.orig/requirements.txt oci-cli-2.12.2/requirements.txt +pyparsing>=2.2.0 +pytest>=3.2.3 +pytest-cov>=2.5.1 - python-dateutil>=2.5.3,<3.0.0 ++python-dateutil>=2.5.3 pytz>=2016.10 -requests==2.21.0 -retrying==1.3.3 @@ -75,36 +75,36 @@ diff -Nru oci-cli-2.12.2.orig/requirements.txt oci-cli-2.12.2/requirements.txt +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 +PyYAML>=5.1.2 -diff -Nru oci-cli-2.12.2.orig/setup.py oci-cli-2.12.2/setup.py ---- oci-cli-2.12.2.orig/setup.py 2020-07-08 03:48:28.000000000 +0200 -+++ oci-cli-2.12.2/setup.py 2020-07-14 15:58:28.465513573 +0200 -@@ -30,25 +30,24 @@ +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 +@@ -30,24 +30,23 @@ readme = f.read() requires = [ -- 'oci==2.17.2', +- 'oci==2.21.3', - 'arrow==0.14.7', -+ 'oci>=2.17.2', ++ 'oci>=2.21.3', + 'arrow>=0.14.7', 'certifi', - 'click==6.7', - 'configparser==4.0.2', - 'cryptography==2.8', -- 'jmespath==0.9.4', +- 'jmespath==0.10.0', +- 'python-dateutil>=2.5.3,<3.0.0', + 'click>=6.7', + 'cryptography>=2.8', -+ 'jmespath>=0.9.4', - 'python-dateutil>=2.5.3,<3.0.0', ++ '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==18.0.0', +- 'PyYAML==5.1.2' + 'retrying>=1.3.3', + 'six>=1.14.0', + 'terminaltables>=3.1.0', - 'idna>=2.5,<2.7', -- 'pyOpenSSL==18.0.0', -- 'PyYAML==5.1.2' + 'pyOpenSSL>=18.0.0', + 'PyYAML>=5.1.2' ] diff --git a/oci-cli.changes b/oci-cli.changes index 8b17638..ff17906 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,165 @@ +------------------------------------------------------------------- +Wed Sep 9 13:05:47 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.12.10 + * Support for searching Oracle Cloud resources across tenancies in the Search Service + * ``oci search resource free-text-search --tenant-id`` + * ``oci search resource structured-search --tenant-id`` + * Support for Management Agent Cloud Service + * ``oci management-agent`` + * Support for sending diagnostic interrupt to a VM instance in the Compute Service + * ``oci compute instance action --action SENDDIAGNOSTICINTERRUPT --instance-id`` + * Support for custom Database Software Images in the Database Service + * ``oci db database-software-image`` + * Support for Management Dashboard Service + * ``oci management-dashboard`` + * Support for Logging Analytics Service + * `oci log-analytics` + * Support for Logging Service + * ``oci logging`` + * Support for Logging Ingestion Service + * ``oci logging-ingestion`` + * Support for Logging Search Service + * ``oci logging-search`` + * Support for Service Connector Hub service + * ``oci sch`` + * Support for getting and listing container database patches for Autonomous Container + Database resources in the Database Service + * ``oci db autonomous-patch get --autonomous-patch-id`` + * ``oci db autonomous-patch list-container-database-patches --autonomous-container-database-id`` + * Support for updating patch id on maintenance run for Autonomous Container Database + resources in the Database Service + * ``oci db maintenance-run update --patch-id`` + * Support for Policy based Request/Response transformation + * ``oci api-gateway deployment`` +- from version 2.12.9 + * Support for customers to find the latest CLI version + * ``oci --latest-version`` + * Support for customers to view changelog entries for newer CLI versions + * ``oci --release-info`` + * Support for returning all results for Resource Manager job logs + * ``oci resource-manager job get-job-logs --all`` + * Improvement for DB System, Cloud VMCluster and Cloud Exadata Infrastructure by + introducing lifecycle state MAINTENANCE_IN_PROGRESS in Database Service + * ``oci db system`` + * ``oci db vm-cluster`` + * ``oci db exadata-infrastructure`` + * VM DB cloning - clone dbSystem from a source dbSystem + * ``oci db system launch-from-db-system`` + * Option private-ip for other type of dbSystem launches + * ``oci db system launch --private-ip`` + * ``oci db system launch-from-backup --private-ip`` + * ``oci db system launch-from-database --private-ip`` + * Support for Network Sources in Authentication Policy in Identity Service + * ``oci iam authentication-policy update`` + * Support for AMD Flexible Shapes with configurable CPU to the Container Engine for Kubernetes service + * ``oci ce node-pool create --node-shape-config`` + * ``oci ce node-pool update --node-shape-config`` + * New options for listener and backendset to specify ssl protocols, ssl + ciphersuite and server order preference in Load Balancer Service + * ``oci lb backend-set`` + * ``oci lb listener`` + * ``oci lb load-balancer`` + * ``oci lb ssl-cipher-suite`` + * Support for calling Oracle Cloud Infrastructure services in the Chiyoda region (``--region ap-chiyoda-1``) + * jmespath package requirement bumped to 0.10.0 +- from version 2.12.8 + * Support for configuring VM instances for scheduled maintenance or hypervisor reboots in the Compute service + * ``oci compute instance launch --availability-config '{"recoveryAction": "STOP_INSTANCE"}'`` + * ``oci compute instance update --availability-config '{"recoveryAction": "STOP_INSTANCE"}'`` + * Support for custom boot volume size and other node pool updates in the Container Engine for Kubernetes service + * ``oci ce node-pool create --node-source-details`` with bootVolumeSizeInGBs in the complex type + * ``oci ce node-pool create --node-boot-volume-size-in-gbs`` shortcut + * ``oci ce node-pool update --node-source-details`` with bootVolumeSizeInGBs in the complex type + * ``oci ce node-pool update --node-source-details --node-shape --node-metadata --ssh-public-key`` + * Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service + * ``oci db data-guard-association create from-existing-vm-cluster`` + * Multipart upload using ``oci os object bulk-upload`` may fail with SSL bad write error + - from version 2.12.7 + * Support for additional list filtering in the Data Catalog service + * ``oci data-catalog list --display-name-contains`` + * ``oci data-catalog job-definition list --job-execution-state`` + * Support for new db workload type AJD in the Autonomous Database service + * ``oci db autonomous-database --db-workload AJD`` + * Support for script directory option for non-interactive installations on Mac, Linux, and Windows OS. + (`Issue 282 `__) (`Issue 305 `__) + * ``./install.sh --script-dir `` + * ``.\install.ps1 -ScriptDir `` + * Idna package has been removed from the requirements. + (`Issue 295 `__) + * Bug fix in raw requests operations to correctly handle hyphens in headers. + (`Issue 269 `__) +- from version 2.12.6 + * NOTE: OCI CLI is now available for install through Homebrew + * ``brew update && brew install oci-cli`` + * Support to allow a customer to create and manage private endpoints in data-flow service. + * ``oci data-flow application create private-endpoint-id`` + * Support for Big Data service Change Shape and restart BDS node + * ``oci bds instance change-shape`` + * ``oci bds instance restart-node`` + * Support for Creating stacks from Compartment as part of Resource Manager service. + * ``oci resource-manager stack create-from-compartment --compartment-id + --config-source-compartment-id --config-source-region --config-source-services-to-discover`` + * ``oci resource-manager stack list-resource-discovery-services --compartment-id`` + * Support for additional versions in BDS model, e.g. CSQL version + * Support for calling Oracle Cloud Infrastructure services in the Cardiff region (``--region uk-gov-cardiff-1``) +- from version 2.12.5 + * Support for specifying OS type and version when importing compute images in the Compute service + * ``oci compute image import from-object --operating-system --operating-system-version`` + * ``oci compute image import from-object-uri --operating-system --operating-system-version`` + * Support to change the fault domain for VM instances in the Compute service + * ``oci compute instance update --fault-domain `` + * Support to update VM instances with different launch options (networking type, boot volume attachment + type, and in-transit encryption for the boot volume's paravirtualized attachment) in the Compute service + * ``oci compute instance update --launch-options `` + * Support for 'Patch Now' Maintenance Runs for Autonomous Exadata Infrastructure and + Autonomous Container Database resources in the Database service + * ``oci db maintenance-run update --is-patch-now-enabled`` + * Support for automatic performance and cost tuning on volumes in the Block Storage service + * ``oci bv boot-volume create --is-auto-tune-enabled`` + * ``oci bv boot-volume update --is-auto-tune-enabled`` + * ``oci bv volume create --is-auto-tune-enabled`` + * ``oci bv volume update --is-auto-tune-enabled`` + * Support for image capability schemas and schema versions as a part of the Compute Imaging Service + * ``oci compute global-image-capability-schema`` + * ``oci compute global-image-capability-schema-version`` + * ``oci compute image-capability-schema`` + * Support for calling Oracle Cloud Infrastructure services in the San Jose region (``--region us-sanjose-1``) + * Remove access_token from GitlabAccessTokenConfigurationSourceProvider model in the Resource Manager service +- from version 2.12.4 + * Added Instance License Type support for OCE instances + * ``oci oce oce-instance create instance-license-type`` + * ``oci oce oce-instance update instance-license-type`` + * Bug fix in Key Management Service restore-from-file command to handle binary backup files + * ``oci kms management vault restore-from-file`` +- from version 2.12.3 + * Support for Oracle Blockchain Platform, a comprehensive distributed ledger cloud platform + * ``oci blockchain`` + * Support for Gitlab configuration source provider as part of the Resource Manager service + * ``oci resource-manager configuration-source-provider`` + * ``oci resource-manager stack create-from-git-provider`` + * ``oci resource-manager stack update-from-git-provider`` + * Support for switching over an Autonomous Database that has Data Guard enabled + * ``oci db autonomous-database switchover --autonomous-database-id`` + * Support for specifying that an autonomous database should have Data Guard enabled + * ``oci db autonomous-database create --is-data-guard-enabled`` + * ``oci db autonomous-database create-refreshable-clone --is-data-guard-enabled`` + * ``oci db autonomous-database create-from-backup-id --is-data-guard-enabled`` + * ``oci db autonomous-database create-from-backup-timestamp --is-data-guard-enabled`` + * ``oci db autonomous-database create-from-clone --is-data-guard-enabled`` + * ``oci db autonomous-database list --is-data-guard-enabled`` + * ``oci db autonomous-database update --is-data-guard-enabled`` + * Virtual Cloud Network List Endpoints Required param --vcn-id has been made optional + * ``oci network dhcp-options list --vcn-id`` + * ``oci network internet-gateway list --vcn-id`` + * ``oci network local-peering-gateway list --vcn-id`` + * ``oci network route-table list --vcn-id`` + * ``oci network security-list list --vcn-id`` + * ``oci network subnet list --vcn-id`` +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Tue Jul 14 14:06:29 UTC 2020 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index daa5095..c024450 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + # The testsuite currently requires an OCI account, see: # https://github.com/oracle/oci-cli/issues/187, # so we're not building the test flavor. @@ -27,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 2.12.2 +Version: 2.12.10 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -44,9 +45,8 @@ BuildRequires: python3-certifi BuildRequires: python3-click >= 6.7 BuildRequires: python3-cryptography >= 2.8 BuildRequires: python3-devel -BuildRequires: python3-idna >= 2.5 BuildRequires: python3-jmespath >= 0.9.4 -BuildRequires: python3-oci-sdk >= 2.17.2 +BuildRequires: python3-oci-sdk >= 2.21.3 BuildRequires: python3-pyOpenSSL >= 18.0.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -83,9 +83,8 @@ Requires: python3-arrow >= 0.14.7 Requires: python3-certifi Requires: python3-click >= 6.7 Requires: python3-cryptography >= 2.8 -Requires: python3-idna >= 2.5 -Requires: python3-jmespath >= 0.9.4 -Requires: python3-oci-sdk >= 2.17.2 +Requires: python3-jmespath >= 0.10.0 +Requires: python3-oci-sdk >= 2.21.3 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 new file mode 100644 index 0000000..8f419f4 --- /dev/null +++ b/v2.12.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f72a5d871b948aa8d05b794b65cd7081dd8c11e6c7bec37810264328738bd97d +size 1288311 diff --git a/v2.12.2.tar.gz b/v2.12.2.tar.gz deleted file mode 100644 index 6dc263b..0000000 --- a/v2.12.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:deded37b0aae30dbf80bff41e3b8475fa0babfdb7a33309edd8c8ef65cd65a02 -size 1166003