From b9de628ba194baf0b4667ec3d9f54110634525bbd74375af81b3bb97a93f43fb Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 4 Apr 2024 21:17:09 +0000 Subject: [PATCH] Accepting request 1164575 from home:glaubitz:branches:Cloud:Tools - Update to version 3.38.1 * OCI Network Load Balancer Service * Support for assigned private Ip by adding new optional parameters in the Network Load Balancer Service for creation and update * ``oci nlb network-load-balancer create --assigned-ipv6, --assigned-private-ipv4`` * ``oci nlb network-load-balancer update --assigned-ipv6`` * LBaaS Support for TLSv1.3 * OCI Email-Delivery Service * Support for Configuration API in Email-Delivery Service * Support for sending mails via Https for Email Delivery Service * OCI Cloud Guard service * Support for the status field in creating data source resource of Cloud Guard Service * ``oci cloud-guard data-source create --status`` * ``oci cloud-guard data-source create-data-source-logging-query-data-source-details --status`` * [BREAKING] Commands removed * ``oci devops code-search list-results`` * ``oci devops project delete-project-settings`` * ``oci devops project get-notification-preference`` * ``oci devops project get-project-settings`` * ``oci devops project list-project-analytics-authors`` * ``oci devops project summarize-project-analytics`` * ``oci devops project update-notification-preference`` * ``oci devops project update-project-settings`` * ``oci devops protected-branch create-or-update`` * ``oci devops protected-branch delete`` * ``oci devops protected-branch list-protected-branches`` * ``oci devops pull-request create`` * ``oci devops pull-request create-pull-request-attachment`` * ``oci devops pull-request decline`` * ``oci devops pull-request delete`` OBS-URL: https://build.opensuse.org/request/show/1164575 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=120 --- oc_relax-python-depends.patch | 22 ++-- oci-cli-3.37.13.tar.gz | 3 - oci-cli-3.38.1.tar.gz | 3 + oci-cli.changes | 186 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 6 +- 5 files changed, 203 insertions(+), 17 deletions(-) delete mode 100644 oci-cli-3.37.13.tar.gz create mode 100644 oci-cli-3.38.1.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index aefa5d4..dca615b 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,6 +1,6 @@ -diff -Nru oci-cli-3.37.13.orig/requirements.txt oci-cli-3.37.13/requirements.txt ---- oci-cli-3.37.13.orig/requirements.txt 2024-02-13 11:20:04.000000000 +0100 -+++ oci-cli-3.37.13/requirements.txt 2024-02-16 14:28:54.514405130 +0100 +diff -Nru oci-cli-3.38.1.orig/requirements.txt oci-cli-3.38.1/requirements.txt +--- oci-cli-3.38.1.orig/requirements.txt 2024-04-02 07:39:29.000000000 +0200 ++++ oci-cli-3.38.1/requirements.txt 2024-04-04 13:18:32.988643564 +0200 @@ -2,47 +2,47 @@ # (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.37.13.orig/requirements.txt oci-cli-3.37.13/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.124.1 +-oci==2.125.1 -packaging==20.2 -pluggy==0.13.0 -py==1.11.0 @@ -38,7 +38,7 @@ diff -Nru oci-cli-3.37.13.orig/requirements.txt oci-cli-3.37.13/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.121.1 ++oci>=2.125.1 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.11.0 @@ -53,7 +53,7 @@ diff -Nru oci-cli-3.37.13.orig/requirements.txt oci-cli-3.37.13/requirements.txt pytz>=2016.10 -requests==2.21.0; python_version == '3.6' -requests==2.31.0; python_version > '3.6' -+requests>=2.21.0; python_version == '3.6' ++requests>=2.21.0; python_version >= '3.6' +requests>=2.31.0; python_version > '3.6' six>=1.15.0 -sphinx==3.3.0 @@ -85,15 +85,15 @@ diff -Nru oci-cli-3.37.13.orig/requirements.txt oci-cli-3.37.13/requirements.txt +setuptools>=59.6.0; python_version == '3.6' # this is required because of python 3.6 requests dependency version bound urllib3<=1.26.15 -diff -Nru oci-cli-3.37.13.orig/setup.py oci-cli-3.37.13/setup.py ---- oci-cli-3.37.13.orig/setup.py 2024-02-13 11:20:04.000000000 +0100 -+++ oci-cli-3.37.13/setup.py 2024-02-16 14:26:29.467531027 +0100 +diff -Nru oci-cli-3.38.1.orig/setup.py oci-cli-3.38.1/setup.py +--- oci-cli-3.38.1.orig/setup.py 2024-04-02 07:39:29.000000000 +0200 ++++ oci-cli-3.38.1/setup.py 2024-04-04 13:17:45.541463383 +0200 @@ -30,23 +30,23 @@ readme = f.read() requires = [ -- 'oci==2.124.1', -+ 'oci>=2.124.1', +- 'oci==2.125.1', ++ 'oci>=2.125.1', 'arrow>=1.0.0', 'certifi', - 'click==8.0.4', diff --git a/oci-cli-3.37.13.tar.gz b/oci-cli-3.37.13.tar.gz deleted file mode 100644 index 2e39627..0000000 --- a/oci-cli-3.37.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:172597a959b170dc542eac64db3c38b7249ee88a58a59f5982e197c2b76ca04a -size 5232757 diff --git a/oci-cli-3.38.1.tar.gz b/oci-cli-3.38.1.tar.gz new file mode 100644 index 0000000..944259d --- /dev/null +++ b/oci-cli-3.38.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8deaaffe3a5a06949cda4a3aabed79186f7c855a7751d43589c0d411adf63311 +size 5251266 diff --git a/oci-cli.changes b/oci-cli.changes index 9a53255..57ca6c5 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,189 @@ +------------------------------------------------------------------- +Thu Apr 4 11:18:54 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 3.38.1 + * OCI Network Load Balancer Service + * Support for assigned private Ip by adding new optional parameters + in the Network Load Balancer Service for creation and update + * ``oci nlb network-load-balancer create --assigned-ipv6, --assigned-private-ipv4`` + * ``oci nlb network-load-balancer update --assigned-ipv6`` + * LBaaS Support for TLSv1.3 + * OCI Email-Delivery Service + * Support for Configuration API in Email-Delivery Service + * Support for sending mails via Https for Email Delivery Service + * OCI Cloud Guard service + * Support for the status field in creating data source resource of Cloud Guard Service + * ``oci cloud-guard data-source create --status`` + * ``oci cloud-guard data-source create-data-source-logging-query-data-source-details --status`` + * [BREAKING] Commands removed + * ``oci devops code-search list-results`` + * ``oci devops project delete-project-settings`` + * ``oci devops project get-notification-preference`` + * ``oci devops project get-project-settings`` + * ``oci devops project list-project-analytics-authors`` + * ``oci devops project summarize-project-analytics`` + * ``oci devops project update-notification-preference`` + * ``oci devops project update-project-settings`` + * ``oci devops protected-branch create-or-update`` + * ``oci devops protected-branch delete`` + * ``oci devops protected-branch list-protected-branches`` + * ``oci devops pull-request create`` + * ``oci devops pull-request create-pull-request-attachment`` + * ``oci devops pull-request decline`` + * ``oci devops pull-request delete`` + * ``oci devops pull-request delete-pull-request-attachment`` + * ``oci devops pull-request execute-merge-pull-request`` + * ``oci devops pull-request get`` + * ``oci devops pull-request get-pull-request-attachment`` + * ``oci devops pull-request get-pull-request-attachment-content`` + * ``oci devops pull-request get-pull-request-change-summary-metrics`` + * ``oci devops pull-request get-pull-request-notification-preference`` + * ``oci devops pull-request list-build-run-snapshots`` + * ``oci devops pull-request list-pull-request-activities`` + * ``oci devops pull-request list-pull-request-attachments`` + * ``oci devops pull-request list-pull-request-commits`` + * ``oci devops pull-request list-pull-request-file-changes`` + * ``oci devops pull-request list-pull-requests`` + * ``oci devops pull-request patch`` + * ``oci devops pull-request reopen`` + * ``oci devops pull-request review`` + * ``oci devops pull-request unsubscribe`` + * ``oci devops pull-request update`` + * ``oci devops pull-request update-pull-request-notification-preference`` + * ``oci devops pull-request validate-merge-pull-request`` + * ``oci devops pull-request-comment create-pull-request-comment`` + * ``oci devops pull-request-comment delete-pull-request-comment`` + * ``oci devops pull-request-comment get-pull-request-comment`` + * ``oci devops pull-request-comment like-pull-request-comment`` + * ``oci devops pull-request-comment list-pull-request-comments`` + * ``oci devops pull-request-comment unlike-pull-request-comment`` + * ``oci devops pull-request-comment update-pull-request-comment`` + * ``oci devops repository create-or-update-git-branch-details`` + * ``oci devops repository create-or-update-git-tag-details`` + * ``oci devops repository delete-git-ref`` + * ``oci devops repository delete-repository-settings`` + * ``oci devops repository get-repository-notification-preference`` + * ``oci devops repository get-repository-settings`` + * ``oci devops repository list-fork-sync-statuses`` + * ``oci devops repository list-pull-request-authors`` + * ``oci devops repository list-repository-analytics-authors`` + * ``oci devops repository list-repository-build-run-snapshots`` + * ``oci devops repository summarize-repository-analytics`` + * ``oci devops repository sync`` + * ``oci devops repository update-repository-notification-preference`` + * ``oci devops repository update-repository-settings`` + * ``oci devops repository-private-access change-compartment`` + * ``oci devops repository-private-access create`` + * ``oci devops repository-private-access delete`` + * ``oci devops repository-private-access get`` + * ``oci devops repository-private-access list`` + * ``oci devops repository-private-access list-private-projects`` + * ``oci devops repository-private-access recover`` + * ``oci devops repository-private-access update`` +- from version 3.38.0 + * OCI Network Load Balancer Service + * Support for symmetric hashing when creating or updating network load balancers. + * ``oci nlb network-load-balancer create --is-symmetric-hash-enabled`` + * ``oci nlb network-load-balancer update --is-symmetric-hash-enabled`` + * OCI Monitoring Service + * Support for new optional parameters in the create or update alarms commands. + * ``oci monitoring alarm create --overrides --rule-name --notification-version`` + * ``oci monitoring alarm update --overrides --rule-name --notification-version`` + * OCI Database Management Service + * Support for new command to retrieve fleet health metrics for MySQL HeatWave clusters. + * ``oci database-management managed-my-sql-databases heat-wave-fleet-metrics`` + * Support for new optional parameter when retrieving MySQL fleet metrics. + * ``oci database-management managed-my-sql-databases my-sql-fleet-metrics --is-heat-wave-enabled`` + * OCI Database Service + * Support for creating and updating a refreshable clone with auto-refresh for an autonomous database. + * ``oci db autonomous-database create-refreshable-clone --auto-refresh-point-lag-in-seconds`` + * ``oci db autonomous-database update --auto-refresh-point-lag-in-seconds`` + * OCI Logging Service + * Support for new logging agent-configuration commands. + * ``oci logging agent-configuration create-unified-agent-configuration-\ + unified-agent-monitoring-configuration-details`` + * ``oci logging agent-configuration update-unified-agent-configuration-\ + unified-agent-monitoring-configuration-details`` + * Support for new optional parameters in the following commands + * ``oci logging agent-configuration create-log-configuration --service-configuration-filter`` + * ``oci logging agent-configuration update-log-configuration --service-configuration-filter`` + * OCI Devops Deployment Service + * Support for new groups of commands. + * ``oci devops code-search`` + * ``oci devops protected-branch`` + * ``oci devops pull-request`` + * ``oci devops pull-request-comment`` + * ``oci devops repository-private-access`` + * Support for new commands in the ``deploy-artifact`` group. + * ``oci devops deploy-artifact create-helm-command-spec`` + * ``oci devops deploy-artifact update-helm-command-spec`` + * Support for new commands in the ``project`` group. + * ``oci devops project get-project-settings`` + * ``oci devops project update-project-settings`` + * ``oci devops project delete-project-settings`` + * ``oci devops project get-notification-preference`` + * ``oci devops project update-notification-preference`` + * ``oci devops project list-project-analytics-authors`` + * ``oci devops project summarize-project-analytics`` + * Support for new commands in the ``repository`` group. + * ``oci devops repository create-or-update-git-branch-details`` + * ``oci devops repository create-or-update-git-tag-details`` + * ``oci devops repository delete-git-ref`` + * ``oci devops repository delete-repository-settings`` + * ``oci devops repository get-repository-settings`` + * ``oci devops repository get-repository-notification-preference`` + * ``oci devops repository list-fork-sync-statuses`` + * ``oci devops repository list-pull-request-authors`` + * ``oci devops repository list-repository-analytics-authors`` + * ``oci devops repository list-repository-build-run-snapshots`` + * ``oci devops repository summarize-repository-analytics`` + * ``oci devops repository sync`` + * ``oci devops repository update-repository-notification-preference`` + * ``oci devops repository update-repository-settings`` + * Support for new parameters in the following commands. + * ``oci devops repository create --parent-repository-id`` + * ``oci devops repository get-commit-diff --target-repository-id`` + * ``oci devops repository list-commit-diffs --target-repository-id`` + * ``oci devops deploy-stage create-deploy-oke-stage --oke-environment-details`` + * ``oci devops deploy-stage update-deploy-oke-stage --oke-environment-details`` + * ``oci devops deploy-stage create-oke-helm-chart-stage --oke-environment-details + --helm-command-artifact-ids --purpose --is-uninstall-on-stage-delete`` + * ``oci devops deploy-stage update-oke-helm-chart-stage --oke-environment-details + --helm-command-artifact-ids --purpose --is-uninstall-on-stage-delete`` + * [BREAKING] Optional parameters ``--description`` and ``--display-name`` + have now been made required in the following commands in OCI Logging Service. + * ``oci logging agent-configuration create`` + * ``oci logging agent-configuration create-log-configuration`` +- from version 3.37.14 + * The AI Language service + * Support for async jobs and document translation + * ``oci ai language job create --compartment-id --input-location --model-metadata-details + --output-location --description, --display-name --input-configuration`` + * ``oci ai language job update --job-id --description --display-name`` + * ``oci ai language job list --compartment-id --all --display-name --id`` + * ``oci ai language job get --job-id`` + * ``oci ai language job delete --job-id`` + * ``oci ai language job cancel --job-id`` + * ``oci ai language job change-compartment --compartment-id --job-id`` + * Application Performance Monitoring Trace service + * Support for attribute management for trace and synthetic + * ``oci apm-traces attributes activate `` + * ``oci apm-traces attributes deactivate `` + * ``oci apm-traces attributes auto-activate-status `` + * ``oci apm-traces attributes pin `` + * ``oci apm-traces attributes unpin `` + * ``oci apm-traces attributes update-auto-activate `` + * ``oci apm-traces attributes update-notes `` + * ``oci apm-traces attributes update-attribute `` + * Support for new optional parameters in the get trace and get span + * ``oci apm-traces trace trace get --time-trace-started-gte + --time-trace-started-lt --trace-namespace `` + * ``oci apm-traces trace span get --time-trace-started-gte + --time-trace-started-lt --trace-namespace `` +- Refresh patches for new version + * oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Thu Mar 14 12:45:16 UTC 2024 - Robert Schweikert diff --git a/oci-cli.spec b/oci-cli.spec index 4120a98..403755a 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -36,7 +36,7 @@ %global _sitelibdir %{%{pythons}_sitelib} Name: oci-cli%{psuffix} -Version: 3.37.13 +Version: 3.38.1 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -52,7 +52,7 @@ BuildRequires: %{pythons}-click >= 8.0.4 BuildRequires: %{pythons}-cryptography >= 3.2.1 BuildRequires: %{pythons}-devel BuildRequires: %{pythons}-jmespath >= 0.10.0 -BuildRequires: %{pythons}-oci-sdk >= 2.121.1 +BuildRequires: %{pythons}-oci-sdk >= 2.125.1 BuildRequires: %{pythons}-pip BuildRequires: %{pythons}-pyOpenSSL >= 22.1.0 BuildRequires: %{pythons}-python-dateutil >= 2.5.3 @@ -95,7 +95,7 @@ Requires: %{pythons}-certifi Requires: %{pythons}-click >= 8.0.4 Requires: %{pythons}-cryptography >= 3.2.1 Requires: %{pythons}-jmespath >= 0.10.0 -Requires: %{pythons}-oci-sdk >= 2.121.1 +Requires: %{pythons}-oci-sdk >= 2.125.1 Requires: %{pythons}-prompt_toolkit >= 3.0.29 Requires: %{pythons}-pyOpenSSL >= 22.1.0 Requires: %{pythons}-python-dateutil >= 2.5.3