Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package arcanist for openSUSE:Factory checked in at 2022-12-15 19:25:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arcanist (Old) and /work/SRC/openSUSE:Factory/.arcanist.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arcanist" Thu Dec 15 19:25:39 2022 rev:8 rq:1043058 version:0.0~git.20220517T162014~85c953e Changes: -------- --- /work/SRC/openSUSE:Factory/arcanist/arcanist.changes 2021-11-17 01:14:33.306178879 +0100 +++ /work/SRC/openSUSE:Factory/.arcanist.new.1835/arcanist.changes 2022-12-15 19:26:09.200379976 +0100 @@ -1,0 +2,78 @@ +Tue Dec 13 18:15:08 UTC 2022 - Dominique Leuenberger <[email protected]> + +- Correctly replace shebangs from php to php8 after the move away + from php7. + +------------------------------------------------------------------- +Wed Nov 30 12:50:42 UTC 2022 - [email protected] + +- Update to version 0.0~git.20220517T162014~85c953e: + * Fix a PHP 8.1 repository marker issue in Mercurial + * Straggling fixes for PhutilURI under PHP 8.1 + * Add "pht_list()", a translation wrapper for lists of items + * Return STDIN, STDOUT, and STDERR file descriptors from parent process + * Add an ArgumentParser helper for integers + * Fix more PHP 8.1 "strlen(null)" callsites in PhutilURI + * Mostly remove "STDERR" and "STDOUT" constants from Arcanist + * Catch more product names in "pht()", and replace newly matched Arcanist product names + * Remove all product name literals in "pht()" in Arcanist + * Add a "product name literal in pht()" linter + * Introduce PHP8.1 replacement functions for string tests which may take multiple types + * Fix a PHP 8.1 issue with "phutil_console_strlen()" + * Fix a PHP 8.1 issue in lint rendering + * Update arc-hg to support mercurial 6.1 + * Provide additional Arcanist PHP 8.1 fixes + * Add a lint rule forbidding use of "each()" + * Correct some Arcanist behaviors under PHP8.1 + * Update the extracted cURL SSL CA bundle + * Provide an API for parsing swap information from "/proc/meminfo" + * Allow "PhutilAWSException" to identify "EBS: Not Found" errors + * Make corrections to the "arc amend" workflow in Mercurial repositories to be compatible with PHP 5+ + * Update ArcanistMercurialAPI to support getting the current commit ref + * Update "arc liberate" to fix error with PHP 8 and add "--verbose" argument to adjust it + * Provide "MethodCallFuture" to fix exception semantics in mixed-future contexts + * Name extension as "arc-hg", not "arg-hg" + * Update other usages of "hg rebase" to use the new extension-enabling function + * Remove "phutil_deprecated()" + * Deprecate "PhutilExecPassthru->execute()" in favor of "resolve()" + * Refactor how Mercurial runs commands that require extensions + * Fix an ExecFuture typo, "preprebuilt" + * Display informative message when arc launches an editor + * Update "arc diff" to amend non-head commits with Mercurial + * An assortment of fixes and updates to using arc-land with mercurial + * Update templates used with mercurial to remove '--debug' + * Force all mercurial commands to use UTF-8 encoding + * Correct an issue when winning "arc anoid" with certain terminal dimensions + * Avoid leaving stdin in nonblocking mode after a modern prompt + * On Windows, implement "Filesystem::copyFile()" with "copy()" + * Update Paste help to include missing "--" + * Correct a mistaken Phurl link in the "missing symbol" exception + * Improve "PhutilJSON" handling of PHP-object JSON values + * In Arcanist, when trying to write to a file configuration source, create missing directories + * In "arc land", if rebasing a range fails, attempt to "reduce" it + * Add a character marker to the "IMPLICIT COMMITS" warning in "arc land" + * Temporarily disable all logfile writability checks + * Add a simple primitive for managing PHP runtime error logs + * Apply "pcre.*_limit" config options at startup in CLI environments + * Provide some "preg_*" wrappers which raise exceptions on failure + * Update golint install instructions + * In "array_mergev()", guarantee the "call_user_func_array()" parameter list is a natrual list + * Add a lint check for catching "Exception" without catching "Throwable" + * Annotate the unusual use of "$callback()" in "xsprintf()" + * Detect and correct "final private" methods in lint + * Allow lint to correct the spelling of builtin symbols + * When lint identifies an unknown symbol, attempt to correct it if it is miscapitalized + * Provide "gitsprintf(...)" and disambiguate Git ref selectors + * Fix pyflakes tests for recent pyflakes versions + * Fix ArcanistJSHintLinterTestCase::testLinter for recent JSHint + * Fix PhutilOAuth1FutureTestCase::testOAuth1SigningWithJIRAExamples for PHP 8 + * Fix PhutilUTF8TestCase::testUTF8Convert for PHP 8 + * Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500 + * Fix ArcanistFormattedStringXHPASTLinterRule for PHP 8 + * Fix PhutilTypeSpec's regex handling for PHP 8 + * Fix error handler on PHP 8 + * Suppress PHP 8 deprecation warning in __arcanist_init_script__ + * Remove final from private functions for PHP 8 compatibility +- add arcanist-default-error_reporting.patch, do not no E_STRICT and E_DEPRECATED + +------------------------------------------------------------------- Old: ---- arcanist-0.0~git.20201026T090106~f713656a.tar.xz New: ---- arcanist-0.0~git.20220517T162014~85c953e.tar.xz arcanist-default-error_reporting.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arcanist.spec ++++++ --- /var/tmp/diff_new_pack.1R0RgZ/_old 2022-12-15 19:26:09.684382729 +0100 +++ /var/tmp/diff_new_pack.1R0RgZ/_new 2022-12-15 19:26:09.688382752 +0100 @@ -1,7 +1,7 @@ # # spec file for package arcanist # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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: arcanist -Version: 0.0~git.20201026T090106~f713656a +Version: 0.0~git.20220517T162014~85c953e Release: 0 Summary: Command-line interface to Phabricator License: Apache-2.0 @@ -25,14 +25,14 @@ Source0: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE remove-arc-upgrade.patch -- Remove workflow/ArcanistUpgradeWorkflow.php Patch0: remove-arc-upgrade.patch +# https://secure.phabricator.com/D21746 +Patch1: arcanist-default-error_reporting.patch BuildRequires: ca-certificates -BuildRequires: php7-curl -BuildRequires: php7-json +BuildRequires: php8-curl BuildRequires: xz Requires: ca-certificates -Requires: php7 -Requires: php7-curl -Requires: php7-json +Requires: php8 +Requires: php8-curl Recommends: bash-completion # /usr/bin/arc binary name conflicts Conflicts: arc @@ -51,6 +51,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 rm -f scripts/breakout.py # Remove 'arc upgrade' @@ -60,7 +61,7 @@ find src -name __tests__ -type d -print0 | xargs -0 rm -rf # Generate bash completion -bin/arc shell-complete --generate +bin/arc shell-complete --generate -- %build @@ -71,7 +72,7 @@ find %{buildroot}%{_datadir}/phabricator/%{name}/bin \ %{buildroot}%{_datadir}/phabricator/%{name}/scripts -type f | \ - xargs sed -i '1 s|%{_bindir}/env\ php|%{_bindir}/php7|' + xargs sed -i '1 s|%{_bindir}/env\ php|%{_bindir}/php8|' find %{buildroot}%{_datadir}/phabricator/%{name}/bin -type f | \ xargs sed -i '1 s|%{_bindir}/env\ bash|/bin/bash|' ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.1R0RgZ/_old 2022-12-15 19:26:09.732383002 +0100 +++ /var/tmp/diff_new_pack.1R0RgZ/_new 2022-12-15 19:26:09.732383002 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/phacility/arcanist</param> - <param name="changesrevision">4b3baca999a4a229433c891cf69c2c4e2d634b89</param></service></servicedata> + <param name="changesrevision">85c953ebe4a6fef332158fd757d97c5a58682d3a</param></service></servicedata> (No newline at EOF) ++++++ arcanist-0.0~git.20201026T090106~f713656a.tar.xz -> arcanist-0.0~git.20220517T162014~85c953e.tar.xz ++++++ ++++ 10802 lines of diff (skipped) ++++++ arcanist-default-error_reporting.patch ++++++ Index: arcanist-0.0~git.20220517T162014~85c953e/support/init/init-script.php =================================================================== --- arcanist-0.0~git.20220517T162014~85c953e.orig/support/init/init-script.php +++ arcanist-0.0~git.20220517T162014~85c953e/support/init/init-script.php @@ -15,7 +15,7 @@ function __arcanist_init_script__() { ob_end_clean(); } - error_reporting(E_ALL | E_STRICT); + error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); $config_map = array( // Always display script errors. Without this, they may not appear, which is
