From nobody Fri Jan 06 19:21:56 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NpY9x0M87z2pG1H; Fri, 6 Jan 2023 19:21:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NpY9w70xGz3jB2; Fri, 6 Jan 2023 19:21:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673032917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4pZVulV+ZqMcPcMKjcut9wDioXObhp6fJ2ICS/HHPnQ=; b=yOfhng0s22Jmu5PTFqS0389/tCC/9ojKoHmDgBBD/Pvr0ekzv1qbxrzKgA5YhZXBluIZ3x KSQbbgnP3yqOwvMaSCxSps/MM7l5gvDdsm7QHS+G/pwC/QwnenWokU87i3EO06tkHene3+ jlFkucm/EvOag9XNTfOB4/veU3ipGTOIZJyyoJLjtsDL+RRRdY3qkIQlmCMkT3u8o5DffH XRceipWN6zNQeQz06bBXCIMWK7g85qaYn7isZs9+tgNLKh5Ay+PX12a5P4R8iJvnW8qZzy yDqhJOV8A7SrEETxDvWBQeupx0BF60QY33xBGZcaEkIcy+H83P9LsNyoYMRNPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673032917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4pZVulV+ZqMcPcMKjcut9wDioXObhp6fJ2ICS/HHPnQ=; b=wUH9dC0kahfNNM2rbh7B5DRg7CvRJs3XDuxS/gQl3CscldWulJxFmfhv62X0yX5swzfOXi wu5sURx8SVrLOdCXmosQVfKVrIE8Es/IMZB+wY/TiMAg34HRQ2d/L+rvcOk6V6v7CbqI+J bsxNws0QEcOrwDb6+7G65VbMAvQODhXb37xJ0numnk63Qw4flkThLpr/kFWmlbPRXxfOR5 Egoa7Wz2jnSwfagej79/B5I9on+h/6JL84SyNx2odRIsHRb1ZeliqVtnTHETojh0keYsSX 90brFIsu42bV1Uo+4D5bmzobJmwKb7+W0pPpNgBKN2RKxjievtZ42pt0eClGPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673032917; a=rsa-sha256; cv=none; b=wMEbIaWyJaHI1SE2Iq/15RfobXQGSkL3VmGl/4mTkebUfFNiUsr6yvfhOrtpAQ6SWrV8PY PGdhFC0Co71TT5db8K/vBXCiduNxzSH1p3DJiClRC1bJRW3jB+iDn0X/LhclGilj/Jb/lf ffnJ+ytFi3002YtGTfFapfqDEqsHA1aGAdQ3pFarFyqzLKEk8EoGz/bKhIw+0rnzg/6dBt vSW3i/dyNBj1dhQd3OZg0NyFJJTnWVNv13lpIYnDoAZ5bs+YpZgR8JxvLYtvGT35yEzizV t83KqqML0hhMhowbrY8BGs8u07Jlo+5O4KEoB/5vBl8n4tXkONmQaoV6o6kYpg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NpY9w64Jrzh4s; Fri, 6 Jan 2023 19:21:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 306JLuog023337; Fri, 6 Jan 2023 19:21:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 306JLumO023336; Fri, 6 Jan 2023 19:21:56 GMT (envelope-from git) Date: Fri, 6 Jan 2023 19:21:56 GMT Message-Id: <202301061921.306JLumO023336@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: e828e846e9fb - main - devel/arcanist-lib: handle 'arc patch' runtime exception List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e828e846e9fb1079bc75cdd33789ceff248bfe74 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=e828e846e9fb1079bc75cdd33789ceff248bfe74 commit e828e846e9fb1079bc75cdd33789ceff248bfe74 Author: Joseph Mingrone AuthorDate: 2023-01-06 17:33:28 +0000 Commit: Joseph Mingrone CommitDate: 2023-01-06 19:16:14 +0000 devel/arcanist-lib: handle 'arc patch' runtime exception Approved by: grembo (maintainer) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37969 --- devel/arcanist-lib/Makefile | 2 +- .../files/patch-src_repository_api_ArcanistGitAPI.php | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile index a22e2ad35e3d..8fbe5718f993 100644 --- a/devel/arcanist-lib/Makefile +++ b/devel/arcanist-lib/Makefile @@ -1,6 +1,6 @@ PORTNAME?= arcanist PORTVERSION?= 20220518 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= devel PKGNAMESUFFIX= ${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX} diff --git a/devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php b/devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php new file mode 100644 index 000000000000..fa73cbef6e63 --- /dev/null +++ b/devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php @@ -0,0 +1,11 @@ +--- src/repository/api/ArcanistGitAPI.php.orig 2023-01-06 17:27:38 UTC ++++ src/repository/api/ArcanistGitAPI.php +@@ -1143,7 +1143,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryA + + public function hasLocalCommit($commit) { + try { +- if (!$this->getCanonicalRevisionName($commit)) { ++ if (!$this->getCanonicalRevisionName($commit ?? '')) { + return false; + } + } catch (CommandException $exception) {