From 185c43dab5fc65cd21f7ba6ee8b6f11f4289a65b9fb930bf7f08edf094177985 Mon Sep 17 00:00:00 2001 From: Yunhe Guo Date: Sat, 13 Apr 2024 09:12:12 +0000 Subject: [PATCH] Accepting request 1165993 from home:amanzini:branches:server:php:applications - Update to version 2.10.0 * Fix PHP deprecation warnings [#5897] * Only use --skip-column-statistics flag when available [#5895] * Handle unparseable tags gracefully [#5894] * WpOrgApi: allow specifying fields request param [#5893] * Remove unneeded compatibility shim [#5885] * Suggest 'network meta' intead of 'network option' [#5879] * Updated Doc Block for Admin.php [#5877] * Admin Context: Fix PHP fatals when admin.php has CRLF line endings [#5875] * Standard completion of current option [#5873] * Add WP_CLI\Utils\has_stdin() function [#5872] * Add verbosity level and quiet flag in ssh command based on debug flag [#5869] * Revert "Move RecursiveDataStructureTraverser to wp-cli/wp-cli package" [#5866] * Add missing required arguments when using --prompt [#5865] * Move RecursiveDataStructureTraverser to wp-cli/wp-cli package [#5864] * Add docker compose command support in SSH command generation [#5863] * Add missing documentation for $data attribute in http_request() [#5861] * Updated Inline PHP Documentation [#5853] - Update to version 2.9.0 * Add debugging output for @when command registration [#5841] * Fix --skip-themes for WordPress 6.4 [#5840] * Update phpcs.xml to match new WPCS rules [#5836] * Update to WPCS v3 [#5834] * Respect alias --path= in IncludeRequestsAutoloader [#5830] * Update type hint of $callable parameter in add_command() method [#5828] * Display a custom error message when themes/functions.php fatals [#5817] * Fix PHP 8.1 deprecation: ReturnTypeWillChange [#5807] * Add support for the proxyjump key [#5805] * Mention updating the homepage in the release process [#5802] OBS-URL: https://build.opensuse.org/request/show/1165993 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/wp-cli?expand=0&rev=12 --- .gitattributes | 2 +- wp-cli-2.10.0.phar | 3 +++ wp-cli-2.8.1.phar | 3 --- wp-cli.changes | 34 ++++++++++++++++++++++++++++++++++ wp-cli.spec | 8 +++++--- 5 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 wp-cli-2.10.0.phar delete mode 100644 wp-cli-2.8.1.phar diff --git a/.gitattributes b/.gitattributes index c914aff..68a7514 100644 --- a/.gitattributes +++ b/.gitattributes @@ -22,4 +22,4 @@ *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text ## Specific LFS patterns -wp-cli-2.8.1.phar filter=lfs diff=lfs merge=lfs -text +wp-cli-2.10.0.phar filter=lfs diff=lfs merge=lfs -text diff --git a/wp-cli-2.10.0.phar b/wp-cli-2.10.0.phar new file mode 100644 index 0000000..373fb54 --- /dev/null +++ b/wp-cli-2.10.0.phar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c6a93cecae7f499ca481fa7a6d6d4299c8b93214e5e5308e26770dbfd3631df +size 6995229 diff --git a/wp-cli-2.8.1.phar b/wp-cli-2.8.1.phar deleted file mode 100644 index baed451..0000000 --- a/wp-cli-2.8.1.phar +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8503cd579480d0cb237b4bef35e0c3da11c2ab872a1bc8f26d2da0ca0729b6a7 -size 6928461 diff --git a/wp-cli.changes b/wp-cli.changes index 8f02a94..5be34dc 100644 --- a/wp-cli.changes +++ b/wp-cli.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sun Apr 7 19:29:40 UTC 2024 - Andrea Manzini + +- Update to version 2.10.0 + * Fix PHP deprecation warnings [#5897] + * Only use --skip-column-statistics flag when available [#5895] + * Handle unparseable tags gracefully [#5894] + * WpOrgApi: allow specifying fields request param [#5893] + * Remove unneeded compatibility shim [#5885] + * Suggest 'network meta' intead of 'network option' [#5879] + * Updated Doc Block for Admin.php [#5877] + * Admin Context: Fix PHP fatals when admin.php has CRLF line endings [#5875] + * Standard completion of current option [#5873] + * Add WP_CLI\Utils\has_stdin() function [#5872] + * Add verbosity level and quiet flag in ssh command based on debug flag [#5869] + * Revert "Move RecursiveDataStructureTraverser to wp-cli/wp-cli package" [#5866] + * Add missing required arguments when using --prompt [#5865] + * Move RecursiveDataStructureTraverser to wp-cli/wp-cli package [#5864] + * Add docker compose command support in SSH command generation [#5863] + * Add missing documentation for $data attribute in http_request() [#5861] + * Updated Inline PHP Documentation [#5853] + +- Update to version 2.9.0 + * Add debugging output for @when command registration [#5841] + * Fix --skip-themes for WordPress 6.4 [#5840] + * Update phpcs.xml to match new WPCS rules [#5836] + * Update to WPCS v3 [#5834] + * Respect alias --path= in IncludeRequestsAutoloader [#5830] + * Update type hint of $callable parameter in add_command() method [#5828] + * Display a custom error message when themes/functions.php fatals [#5817] + * Fix PHP 8.1 deprecation: ReturnTypeWillChange [#5807] + * Add support for the proxyjump key [#5805] + * Mention updating the homepage in the release process [#5802] + ------------------------------------------------------------------- Mon Jun 26 06:39:27 UTC 2023 - Andrea Manzini diff --git a/wp-cli.spec b/wp-cli.spec index 978fdbd..c7a8520 100644 --- a/wp-cli.spec +++ b/wp-cli.spec @@ -1,7 +1,7 @@ # # spec file for package wp-cli # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: wp-cli -Version: 2.8.1 +Version: 2.10.0 Release: 0 Summary: WordPress command-line interface License: MIT @@ -36,7 +36,7 @@ WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser. %prep -%setup -q -c -T +%autosetup -c -T %build @@ -46,6 +46,8 @@ install -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/wp mkdir -p %{buildroot}%{_sysconfdir}/profile.d install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d +%check + %files %defattr(-,root,root,0755) %{_bindir}/wp