Hello community, here is the log from the commit of package arcanist for openSUSE:Leap:15.2 checked in at 2020-04-28 20:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/arcanist (Old) and /work/SRC/openSUSE:Leap:15.2/.arcanist.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arcanist" Tue Apr 28 20:11:58 2020 rev:2 rq:798416 version:0.0~git.20200426T084008~b81818b2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/arcanist/arcanist.changes 2020-02-22 17:50:38.457553035 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.arcanist.new.2738/arcanist.changes 2020-04-28 20:12:02.444644319 +0200 @@ -1,0 +2,96 @@ +Mon Apr 27 06:29:53 UTC 2020 - tuukka.pasa...@ilmi.fi + +- Update to version 0.0~git.20200426T084008~b81818b2: + * Accommodate PHP 7.4 changes to certain "preg_match_all()" calls + * Make "arc <workflow> --help" work again for workflows which haven't updated yet + * Allow HTTPFuture callers to disable processing of "Content-Encoding" response headers + * If the Conduit server asserts it has the "gzip" capability, compress requests + * If the Conduit client supports gzip, make calls with "Accept-Encoding: gzip" + * In "phutil_loggable_string()", encode every byte above 0x7F + * Only inject legacy Arcanist workflows into "help" if run from the context of an Arcanist runtime + * Update "arc paste" for Toolsets + * Crudely bridge legacy workflows into "arc help" + * Remove "backout", "close", "flag", "start", "stop", "time", and "revert" workflows + * Upgrade (most) Differential API callsites to "differential.revision.search" + * Restore "%d" support to "tsprintf()" + * Upgrade "arc download" to Toolsets + * Update "arc call-conduit" for Toolsets + * Update "arc amend" for Toolsets + * Add a "SymbolEngine" to support top-level ref resolution by symbol + * Add some support code for printing refs to stdout + * Add ref lookup for username symbols + * Add a "RevisionSymbolRef", revision commit messages, and make "--explore" recursive + * Add a "CommitSymbolRef" for resolving symbolic commits into stable commit hashes + * Add a mode to "ExecFuture" that makes "resolvex()" semantics the default + * Allow "loadHardpoints()" to accept a single ref and/or a single hardpoint + * Remove obsolete definitions of "defineHardpoints()" in older Ref objects + * Update "feature", "branch", and "bookmark" flows to report properly in "arc help" + * Port "arc prompts" from wilds and fix a path issue in shell completion + * Restore "arc alias" shell aliases + * Remove "RefQuery" and all "HardpointLoader" code + * Reroute all RefQuery callers to HardpointEngine + * Bring "pro" browse queries from modern hardpoint code + * Bring a "pro" WorkingCopyState ref to "master" + * Introduce "arc inspect" and some of the new ref/hardpoint classes + * Rename "getWorkingCopy()" to "getWorkingCopyIdentity()" in Arcanist + * Trivially update "arc branch/feature" and "arc browse" for Toolsets + * Revert "Compress requests from the Conduit client to Phabricator" + * Compress requests from the Conduit client to Phabricator + * Remove onboard future bulk-resolution from ConduitEngine + * Add new "Hardpoint" classes to support request parallelization + * Update the "WorkingCopy" API and create a fallback "Filesystem" working copy + * Fix improper XHPAST parsing of namespace grammar like "use x as private;" + * Fix XHPAST parsing of variadic calls + * Update XHPAST "expect" test blocks to the new stable, human-readable format + * Make XHPAST unit test "expect" blocks stable and human-readable + * Remove duplication of XHPAST version in PHP and C code + * Revert xhpast changes that impacted builds under Bison 2.3 + * Allow "phage" to print execution status on SIGINT + * Move Phage to FuturePool + * Introduce "FuturePool" to make it easier to manage an ongoing pool of futures + * Update some ancient "set X=Y" environment code for new Windows execution without a shell + * Make Windows escaping preserve "%" symbols in arguments + * Fix error behavior of "arc version" when it encounters a library which is not a working copy + * Fix three Windows subprocess issues + * Fix two issues with Future key selection inside FutureIterator + * Integrate "ServiceProfiler" into the base "Future" + * Make "FutureIterator" queue management more formal + * Make "exception" on Future a private property + * Make the "result" property on Future private + * Resolve all futures inside FutureIterator + * Remove the "timeout" parameter from "Future->resolve()" + * Run ls-files from the root of the directory + * Treat all PHP language-level errors as exceptions by default + * Switch file uploader in "arc diff" to use ConduitEngine + * Use a named remote and branches for staging to help git-lfs + * Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule + * Fix an issue where "arc" may fail on startup when trying to read older "default" config + * When "ArcanistRuntime" exits with a nonzero exit code, emit that exit code + * Update "arc upload" for Toolsets + * Improve error handling in ArcanistRuntime when failing to load libraries + * Update Phage for toolsets and restore library loading behaviors + * Fix two "implode()" order issues arising from wilds/experimental collapse + * Port "arc upgrade" to Toolsets + * Remove obscure features no longer supported by Toolsets from "classic" Arcanist + * Restore old expanded include path rules for workflows which fall through + * Require "--" as an argument terminator when running noninteractively + * Port "arc weld" and "arc anoid" to Toolsets workflows, plus minor fixes + * Port "arc shell-complete" to Toolsets + * Update "arc alias" to modern workflows + * Port "arc version" to Toolsets + * Port "arc liberate" to Toolsets + * Port "arc help" to Toolsets + * Collapse Arcanist toolsets from "wilds" into "master", as an overlay layer + * Merge utility/support changes from "wilds" to "master" + * Don't depend on "XMLWriter" to load the lint renderer class tree + * Merge the remainder of the "experimental" branch + * Merge Arcanist lint changes from "experimental" branch + * Merge "--draft" flag and related changes from "experimental" to "master" + * Make "arcanist/" unit tests pass + * Merge "phage" from "experimental" + * Fully merge "libphutil/" into "arcanist/" + * Move HTML-only intraline diff code to Phabricator + * Omit "--" in older fallback commands for Git remote URIs + * In Git, fall back across versions more cleanly when trying to get the URI for a remote + +------------------------------------------------------------------- Old: ---- arcanist-0.0~git.20191118T203151~cc850163.tar.xz New: ---- arcanist-0.0~git.20200426T084008~b81818b2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arcanist.spec ++++++ --- /var/tmp/diff_new_pack.fio7K1/_old 2020-04-28 20:12:02.836645133 +0200 +++ /var/tmp/diff_new_pack.fio7K1/_new 2020-04-28 20:12:02.840645141 +0200 @@ -17,29 +17,27 @@ Name: arcanist -Version: 0.0~git.20191118T203151~cc850163 +Version: 0.0~git.20200426T084008~b81818b2 Release: 0 Summary: Command-line interface to Phabricator License: Apache-2.0 - URL: https://secure.phabricator.com/diffusion/ARC/ Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE remove-arc-upgrade.patch -- Remove workflow/ArcanistUpgradeWorkflow.php Patch0: remove-arc-upgrade.patch - -BuildArch: noarch +BuildRequires: php7-curl BuildRequires: php7-devel +BuildRequires: php7-json BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - Requires: php7 Requires: php7-curl Requires: php7-json -Requires: php7-libphutil - Recommends: bash-completion - # /usr/bin/arc binary name conflicts Conflicts: arc +Provides: php7-libphutil = %{version} +Obsoletes: php7-libphutil < %{version} +BuildArch: noarch %description Arcanist is the command-line tool for Phabricator. @@ -60,30 +58,33 @@ # Remove tests find src -name __tests__ -type d -print0 | xargs -0 rm -rf +# Generate bash completion +bin/arc shell-complete --generate + %build %install # arcanist install -d %{buildroot}%{_datadir}/phabricator/%{name} -cp -a bin/ resources/ scripts/ src/ %{buildroot}%{_datadir}/phabricator/%{name}/ +cp -a bin/ support/ resources/ scripts/ src/ %{buildroot}%{_datadir}/phabricator/%{name}/ find %{buildroot}%{_datadir}/phabricator/%{name}/bin \ %{buildroot}%{_datadir}/phabricator/%{name}/scripts -type f | \ - xargs sed -i '1 s|/usr/bin/env\ php|/usr/bin/php7|' + xargs sed -i '1 s|%{_bindir}/env\ php|%{_bindir}/php7|' find %{buildroot}%{_datadir}/phabricator/%{name}/bin -type f | \ - xargs sed -i '1 s|/usr/bin/env\ bash|/bin/bash|' + xargs sed -i '1 s|%{_bindir}/env\ bash|/bin/bash|' # symlink arc install -d -m 0755 %{buildroot}%{_bindir} ln -sf %{_datadir}/phabricator/%{name}/bin/arc %{buildroot}%{_bindir}/arc # bash completition + install -d -m 0755 %{buildroot}%{_datadir}/bash-completion/completions -install -m 0644 resources/shell/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/arc +install -m 0644 support/shell/rules/bash-rules.sh %{buildroot}%{_datadir}/bash-completion/completions/arc %files -%defattr(-,root,root,-) %doc NOTICE README.md %license LICENSE %{_bindir}/arc ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.fio7K1/_old 2020-04-28 20:12:02.884645232 +0200 +++ /var/tmp/diff_new_pack.fio7K1/_new 2020-04-28 20:12:02.884645232 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/phacility/arcanist</param> - <param name="changesrevision">cc850163f30c4697e925df0d6212469679600a2c</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">b81818b287db0196d623dcba5b36488c6122a64f</param></service></servicedata> \ No newline at end of file ++++++ arcanist-0.0~git.20191118T203151~cc850163.tar.xz -> arcanist-0.0~git.20200426T084008~b81818b2.tar.xz ++++++ ++++ 186430 lines of diff (skipped) ++++++ remove-arc-upgrade.patch ++++++ --- /var/tmp/diff_new_pack.fio7K1/_old 2020-04-28 20:12:03.508646528 +0200 +++ /var/tmp/diff_new_pack.fio7K1/_new 2020-04-28 20:12:03.508646528 +0200 @@ -1,7 +1,8 @@ -diff -rub arcanist/src/__phutil_library_map__.php arcanist-patched/src/__phutil_library_map__.php ---- arcanist/src/__phutil_library_map__.php 2019-09-17 14:28:23.030469775 +0300 -+++ arcanist-patched/src/__phutil_library_map__.php 2019-09-18 11:48:39.818753356 +0300 -@@ -389,7 +389,7 @@ +diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php +index 97fb2cdd..9a582a63 100644 +--- a/src/__phutil_library_map__.php ++++ b/src/__phutil_library_map__.php +@@ -482,7 +482,7 @@ phutil_register_library_map(array( 'ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase.php', 'ArcanistUnsafeDynamicStringXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnsafeDynamicStringXHPASTLinterRule.php', 'ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase.php', @@ -10,12 +11,12 @@ 'ArcanistUploadWorkflow' => 'workflow/ArcanistUploadWorkflow.php', 'ArcanistUsageException' => 'exception/ArcanistUsageException.php', 'ArcanistUseStatementNamespacePrefixXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUseStatementNamespacePrefixXHPASTLinterRule.php', -@@ -812,7 +812,7 @@ +@@ -1474,7 +1474,7 @@ phutil_register_library_map(array( 'ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase', 'ArcanistUnsafeDynamicStringXHPASTLinterRule' => 'ArcanistXHPASTLinterRule', 'ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase', -- 'ArcanistUpgradeWorkflow' => 'ArcanistWorkflow', -+ //'ArcanistUpgradeWorkflow' => 'ArcanistWorkflow', - 'ArcanistUploadWorkflow' => 'ArcanistWorkflow', +- 'ArcanistUpgradeWorkflow' => 'ArcanistArcWorkflow', ++ //'ArcanistUpgradeWorkflow' => 'ArcanistArcWorkflow', + 'ArcanistUploadWorkflow' => 'ArcanistArcWorkflow', 'ArcanistUsageException' => 'Exception', 'ArcanistUseStatementNamespacePrefixXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',