From d478157c7ec27913695b1654a60240ee1ec861402f9b5ee7acc59b5228cdfe42 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 30 Nov 2021 15:42:29 +0000 Subject: [PATCH] Accepting request 934577 from home:glaubitz:branches:Cloud:Tools - Update to version 3.3.1 * Support for Object Storage integration with the Big Data service * ``oci bds bds-api-key`` * Support for the GetSubnetTopology API in the Networking Topology Service * ``oci network subnet-topology get`` * Support for Cloud Advisor V2 features as a part of the Cloud Advisor Service * ``oci optimizer profile-level-summary list-profile-levels`` * ``oci optimizer queryable-field-summary list-resource-action-queryable-fields`` * ``oci optimizer resource-action-summary filter-resource-actions`` * FastConnect Service * Support for MACSEC in the below commands * ``oci network cross-connect create --macsec-properties`` * ``oci network cross-connect update --macsec-properties`` * ``oci network cross-connect-group create --macsec-properties`` * ``oci network cross-connect-group update --macsec-properties`` * Support for MTU in the below commands * ``oci network virtual-circuit create --ip-mtu`` * ``oci network virtual-circuit update --ip-mtu`` * Support for Service Manager Proxy aimed at having SaaS environments that implement Service Manager API contract. * ``oci service-manager-proxy service-environment`` * Database service * The required parameter --backup-tde-password is now optional in the below commands * ``oci db database create-from-backup`` * ``oci db database create-from-database`` * The parameter --backup-tde-password is now optional in the below commands * ``oci db system launch-from-backup `` * ``oci db database launch-from-database`` * The parameters --pdb-admin-password, --tde-wallet-password and OBS-URL: https://build.opensuse.org/request/show/934577 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=26 --- oc_relax-python-depends.patch | 36 ++++----- oci-cli-3.2.0.tar.gz | 3 - oci-cli-3.3.1.tar.gz | 3 + oci-cli.changes | 134 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 6 +- 5 files changed, 159 insertions(+), 23 deletions(-) delete mode 100644 oci-cli-3.2.0.tar.gz create mode 100644 oci-cli-3.3.1.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 88fdf94..d1eceb1 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,6 +1,6 @@ -diff -Nru oci-cli-3.2.0.orig/requirements.txt oci-cli-3.2.0/requirements.txt ---- oci-cli-3.2.0.orig/requirements.txt 2021-10-19 22:21:53.000000000 +0200 -+++ oci-cli-3.2.0/requirements.txt 2021-10-27 15:32:18.956888833 +0200 +diff -Nru oci-cli-3.3.1.orig/requirements.txt oci-cli-3.3.1/requirements.txt +--- oci-cli-3.3.1.orig/requirements.txt 2021-11-17 23:22:58.000000000 +0100 ++++ oci-cli-3.3.1/requirements.txt 2021-11-29 15:19:49.655600660 +0100 @@ -2,40 +2,40 @@ # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # you may need to use the --extra-index-url option instead. @@ -18,7 +18,7 @@ diff -Nru oci-cli-3.2.0.orig/requirements.txt oci-cli-3.2.0/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.48.0 +-oci==2.51.0 -packaging==20.2 -pluggy==0.13.0 -py==1.10.0 @@ -31,18 +31,18 @@ diff -Nru oci-cli-3.2.0.orig/requirements.txt oci-cli-3.2.0/requirements.txt -python-dateutil>=2.5.3,<3.0.0 +click>=7.1.2 +coverage>=4.5.2 -+cryptography>=3.3.2 ++cryptography +httpsig-cffi>=15.0.0 +Jinja2>=2.11.3 +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.48.0 ++oci>=2.51.0 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.10.0 +pyasn1>=0.2.3 -+pyOpenSSL>=19.1.0 ++pyOpenSSL>=17.5.0 +pycparser>=2.20 +pyparsing>=2.2.0 +pytest>=3.2.3 @@ -61,6 +61,8 @@ diff -Nru oci-cli-3.2.0.orig/requirements.txt oci-cli-3.2.0/requirements.txt -virtualenv==16.7.10 -pytest-xdist==1.22.2 -pytest-forked==1.0.2 +-PyYAML>=5.4,<6 +-docutils==0.15.2 +sphinx>=2.2.1 +sphinx-rtd-theme>=0.4.3 +terminaltables>=3.1.0 @@ -69,18 +71,17 @@ diff -Nru oci-cli-3.2.0.orig/requirements.txt oci-cli-3.2.0/requirements.txt +virtualenv>=16.7.10 +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 - PyYAML>=5.4,<6 --docutils==0.15.2 ++PyYAML>=5.4 +docutils>=0.15.2 -diff -Nru oci-cli-3.2.0.orig/setup.py oci-cli-3.2.0/setup.py ---- oci-cli-3.2.0.orig/setup.py 2021-10-19 22:21:53.000000000 +0200 -+++ oci-cli-3.2.0/setup.py 2021-10-27 15:32:46.953176808 +0200 +diff -Nru oci-cli-3.3.1.orig/setup.py oci-cli-3.3.1/setup.py +--- oci-cli-3.3.1.orig/setup.py 2021-11-17 23:22:58.000000000 +0100 ++++ oci-cli-3.3.1/setup.py 2021-11-29 15:18:29.531047653 +0100 @@ -29,22 +29,22 @@ readme = f.read() requires = [ -- 'oci==2.48.0', -+ 'oci>=2.48.0', +- 'oci==2.51.0', ++ 'oci>=2.51.0', 'arrow>=1.0.0', 'certifi', - 'click==7.1.2', @@ -88,16 +89,17 @@ diff -Nru oci-cli-3.2.0.orig/setup.py oci-cli-3.2.0/setup.py - 'jmespath==0.10.0', - 'python-dateutil>=2.5.3,<3.0.0', + 'click>=7.1.2', -+ 'cryptography>=3.2.1', ++ 'cryptography', + 'jmespath>=0.10.0', + 'python-dateutil>=2.5.3', 'pytz>=2016.10', 'six>=1.15.0', - 'terminaltables==3.1.0', - 'pyOpenSSL==19.1.0', +- 'PyYAML>=5.4,<6' + 'terminaltables>=3.1.0', -+ 'pyOpenSSL>=19.1.0', - 'PyYAML>=5.4,<6' ++ 'pyOpenSSL>=17.5.0', ++ 'PyYAML>=5.4' ] extras = { diff --git a/oci-cli-3.2.0.tar.gz b/oci-cli-3.2.0.tar.gz deleted file mode 100644 index 0d93471..0000000 --- a/oci-cli-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d062af30d9aaaff14c42fbcdd7c65c40caee69b31da7d2fdebc1920ddb86627 -size 1975830 diff --git a/oci-cli-3.3.1.tar.gz b/oci-cli-3.3.1.tar.gz new file mode 100644 index 0000000..1128504 --- /dev/null +++ b/oci-cli-3.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8d1ba146d8434e4d3223bbabedf72b0337696a3b701da9ba3b9d36c66652f68 +size 2074168 diff --git a/oci-cli.changes b/oci-cli.changes index e3676e8..1364ec0 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,137 @@ +------------------------------------------------------------------- +Mon Nov 29 14:22:15 UTC 2021 - John Paul Adrian Glaubitz + +- Update to version 3.3.1 + * Support for Object Storage integration with the Big Data service + * ``oci bds bds-api-key`` + * Support for the GetSubnetTopology API in the Networking Topology Service + * ``oci network subnet-topology get`` + * Support for Cloud Advisor V2 features as a part of the Cloud Advisor Service + * ``oci optimizer profile-level-summary list-profile-levels`` + * ``oci optimizer queryable-field-summary list-resource-action-queryable-fields`` + * ``oci optimizer resource-action-summary filter-resource-actions`` + * FastConnect Service + * Support for MACSEC in the below commands + * ``oci network cross-connect create --macsec-properties`` + * ``oci network cross-connect update --macsec-properties`` + * ``oci network cross-connect-group create --macsec-properties`` + * ``oci network cross-connect-group update --macsec-properties`` + * Support for MTU in the below commands + * ``oci network virtual-circuit create --ip-mtu`` + * ``oci network virtual-circuit update --ip-mtu`` + * Support for Service Manager Proxy aimed at having SaaS environments that + implement Service Manager API contract. + * ``oci service-manager-proxy service-environment`` + * Database service + * The required parameter --backup-tde-password is now optional + in the below commands + * ``oci db database create-from-backup`` + * ``oci db database create-from-database`` + * The parameter --backup-tde-password is now optional in the below commands + * ``oci db system launch-from-backup `` + * ``oci db database launch-from-database`` + * The parameters --pdb-admin-password, --tde-wallet-password and + --target-tde-wallet-password are now optional and a new parameter + --is-pdb-admin-acc-locked is introduced in the below commands + * ``oci db pluggable-database create`` + * ``oci db pluggable-database local-clone`` + * ``oci db pluggable-database remote-clone `` +- from version 3.3.0 + * Support for Drilldown configuration in the Management Dashboard service + * ``oci management-dashboard dashboard create | update --drilldown-config`` + * ``oci management-dashboard saved-search create | update --drilldown-config`` + * Support for Autonomous Database Dedicated on Cloud at Customer + Infrastructure in the Operator Access Control Service + * ``oci opctl access-request approve --time-of-user-creation`` + * ``oci opctl access-request list --resource-type, --time-end, --time-start`` + * ``oci opctl access-request review`` + * ``oci opctl operator-action list --resource-type`` + * ``oci opctl operator-control create --resource-type`` + * ``oci opctl operator-control list --resource-type`` + * ``oci opctl operator-control-assignment create --is-auto-approve-during-maintenance + --is-log-forwarded --remote-syslog-server-address --remote-syslog-server-ca-cert + --remote-syslog-server-port`` + * ``oci opctl operator-control-assignment list --resource-type`` + * ``oci opctl operator-control-assignment update --resource-type + --is-auto-approve-during-maintenance --is-log-forwarded + --remote-syslog-server-address --remote-syslog-server-ca-cert + --remote-syslog-server-port`` + * [Breaking] Fields ``--approver-groups-list``, ``--is-fully-pre-approved`` + are now required for ``oci opctl operator-control create`` + * [Breaking] Field ``--is-enforced-always`` is now required for + ``oci opctl operator-control-assignment update`` + * [Breaking] Fields ``--approver-groups-list``, ``--is-fully-pre-approved``, + ``--operator-control-name`` are now required for + ``oci opctl operator-control update`` + * [Breaking] Fields ``--is-enforced-always``, ``--resource-type`` are now + required for ``oci opctl operator-control-assignment create`` + * Support for verifying the checksum for the python installer script from + within the shell and powershell installer scripts +- from version 3.2.2 + * Support for Domains in the Identity Service + * ``oci iam domain`` + * Support for redeemable user and support rewards in the Usage Service + * ``oci usage monthly-reward-summary list-rewards`` + * ``oci usage product-summary list-products`` + * ``oci usage redeemable-user create`` + * ``oci usage redeemable-user delete`` + * ``oci usage redeemable-user-summary list-redeemable-users`` + * Support for the Database Tools service + * ``oci dbtools`` + * Support for scan listener port TCP and TCP SSL on cloud VM + clusters in the Database service + * ``oci db cloud-vm-cluster create --scan-listener-port-tcp + --scan-listener-port-tcp-ssl`` + * Support for user-defined functions and libraries, as well as + scheduling and orchestration, in the Data Integration service + * ``oci data-integration user-defined-function`` + * ``oci data-integration user-defined-function-validation`` + * ``oci data-integration schedule create-custom-frequency | + create-monthly-rule-frequency | create-weekly-frequency`` + * ``oci data-integration schedule update-custom-frequency | + update-monthly-rule-frequency | update-weekly-frequency`` + * ``oci data-integration function-library`` + * ``oci data-integration data-entity create-entity-shape-from-sql`` + * Support for calling Oracle Cloud Infrastructure services in the + Singapore (``--region ap-singapore-1``) and Marseille + (``--region eu-marseille-1``) regions + * Endpoint for Identity service changed to include ".oci" subdomain + * Handle merge case when empty contexts/clusters/users is null and + not empty string in the Container Engine commands + * Version checks in install.sh and install.py +- from version 3.2.1 + * Support for OCI Certificates service + * ``oci certs-mgmt`` + * ``oci certificates`` + * Support for the following features in Devops service + * Support for build services + * ``oci devops build-pipeline`` + * ``oci devops build-run`` + * ``oci devops connection`` + * Support for creating and managing repositories and triggers + * ``oci devops repository`` + * ``oci devops trigger`` + * Support for creating child tenancies and managing subscription + in Organizations service + * ``oci organizations organization`` + * ``oci organizations organization-tenancy`` + * ``oci organizations child-tenancy`` + * ``oci organizations assigned-subscription`` + * ``oci organizations subscription-mapping`` + * ``oci organizations subscription`` + * Support for the following features in Operations Insights service + * Support for resource lifecycle operations on Enterprise + Manager-based Exadata targets and capacity analytics + * ``oci opsi exadata-insights`` + * Support for creating Enterprise Manager-based Host targets + * ``oci opsi host-insights create-em-external-host`` + * Support for creating esxi-hosts outside of the same AD in + Oracle Cloud VMWare Solution service + * ``oci ocvs esxi-host create --compute-availability-domain`` +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Wed Oct 27 13:35:35 UTC 2021 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index f1e36cb..28396e4 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -28,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 3.2.0 +Version: 3.3.1 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -46,7 +46,7 @@ BuildRequires: python3-click >= 7.1.2 BuildRequires: python3-cryptography >= 3.2.1 BuildRequires: python3-devel BuildRequires: python3-jmespath >= 0.10.0 -BuildRequires: python3-oci-sdk >= 2.48.0 +BuildRequires: python3-oci-sdk >= 2.51.0 BuildRequires: python3-pyOpenSSL >= 19.1.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -83,7 +83,7 @@ Requires: python3-certifi Requires: python3-click >= 7.1.2 Requires: python3-cryptography >= 3.2.1 Requires: python3-jmespath >= 0.10.0 -Requires: python3-oci-sdk >= 2.48.0 +Requires: python3-oci-sdk >= 2.51.0 Requires: python3-pyOpenSSL >= 19.1.0 Requires: python3-python-dateutil >= 2.5.3 Requires: python3-pytz >= 2016.10