From nobody Mon Dec 20 19:45:34 2021 X-Original-To: dev-commits-ports-all@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 75BBF18F3C07; Mon, 20 Dec 2021 19:45:35 +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 4JHqnW1h0Lz4mX9; Mon, 20 Dec 2021 19:45:35 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 1A8BE1BB53; Mon, 20 Dec 2021 19:45:35 +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 1BKJjZA6098022; Mon, 20 Dec 2021 19:45:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BKJjYiT098021; Mon, 20 Dec 2021 19:45:34 GMT (envelope-from git) Date: Mon, 20 Dec 2021 19:45:34 GMT Message-Id: <202112201945.1BKJjYiT098021@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: 366ffdefb4c4 - main - devel/git-arc: New port for FreeBSD code reviews List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 366ffdefb4c4cae75dfaeb4d256c6c75955eabbe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640029535; 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=uffTqk2ja76T1rzT0sp/IeUEuyftFXV01/uySYvUR08=; b=JQ6rx/s3nb30EGC619Cu09KwS52mXlFkDdT49FY4RPcmVp4zqcaY2B6xIYdmZ2Sx6jALiU zQxw12wg9O4+9lI50Xrkc6XmA+PZIdkBAR+q/pPmh+/TGWYUlnrA+kqEFC4I8Y/iFD9hgT B+h2bWDjfN/JyI9jqR3jOZcirfBGwA5yw41SWJdqnT8+mLaSeB1VuX479Cey5nugDoGbRE zkB+Z5wulKZ5ieIbk6WH3C/FOv71l0OfjEG5n6Ixt1cZ7H3ZkIE1v07WAK1kVoinUf2KCE EaSUctKphIPOmVit7aYhLN8GS+WQV6YOTuxBcBF7C5OPM9ih1adcg29Wf3Nffw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640029535; a=rsa-sha256; cv=none; b=XPSZvduAuSFtA6kNHDEunEIKRh5DVnYWjkAbTrJW+9xSs4UuqawBVfTxcGambM+Kf6cvb3 GGZr+cMnGOtCP+35YZvLViSPHUdM5bNNCvaBYomonJN1WPWpt9wRqcB7jKtdJU9g8e71pt tyvb1OSvaRXwaH7+QAg3oBzxXBfR5qs/NnXyky0+hBJJTQCKdYVhXyUCj7FGHdn69saPdU ykRmNuOYraj5y0yOd3vTt0xlr98OyF96moVka3c0iB3RgrDGE1t/6MzFBWxfX7cSmQLrBx SFA2wmPUTbwxmSx+MIRqZg4RA8kQsJl7yusJkn/6enreWQY0fJ1h81DX7u6y2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=366ffdefb4c4cae75dfaeb4d256c6c75955eabbe commit 366ffdefb4c4cae75dfaeb4d256c6c75955eabbe Author: Joseph Mingrone AuthorDate: 2021-11-26 17:38:35 +0000 Commit: Joseph Mingrone CommitDate: 2021-12-20 19:41:06 +0000 devel/git-arc: New port for FreeBSD code reviews FreeBSD code review with git-arc: https://freebsdfoundation.org/wp-content/uploads/2021/11/FreeBSD-Code-Review-with-git-arc.pdf --- devel/Makefile | 1 + devel/git-arc/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ devel/git-arc/distinfo | 5 +++++ devel/git-arc/pkg-descr | 16 ++++++++++++++++ 4 files changed, 60 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4ab35e2055e3..bff4d5fcbd0a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -830,6 +830,7 @@ SUBDIR += gindent SUBDIR += gio-sharp SUBDIR += git + SUBDIR += git-arc SUBDIR += git-absorb SUBDIR += git-bug SUBDIR += git-cinnabar diff --git a/devel/git-arc/Makefile b/devel/git-arc/Makefile new file mode 100644 index 000000000000..ba3fdf65f006 --- /dev/null +++ b/devel/git-arc/Makefile @@ -0,0 +1,38 @@ +PORTNAME= git-arc +PORTVERSION= 20211118 +CATEGORIES= devel +MASTER_SITES= https://cgit.freebsd.org/src/plain/tools/tools/git/ +DISTFILES= ${PORTNAME}.sh?id=${_REV} \ + ${PORTNAME}.1?id=${_REV} +DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} + +MAINTAINER= jrm@FreeBSD.org +COMMENT= FreeBSD Phabricator reviews based on git commits + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= arc:devel/arcanist \ + git:devel/git \ + jq:textproc/jq + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= . +NO_ARCH= yes +NO_BUILD= yes + +NO_WRKSUBDIR= yes +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz + +_REV= 964035c409b1b7229c7bc0220e7455e4a038ed4b + +post-patch: + @${MV} ${WRKSRC}/${PORTNAME}.sh?id=* ${WRKSRC}/${PORTNAME}.sh + @${MV} ${WRKSRC}/${PORTNAME}.1?id=* ${WRKSRC}/${PORTNAME}.1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + +.include diff --git a/devel/git-arc/distinfo b/devel/git-arc/distinfo new file mode 100644 index 000000000000..de3851df59c4 --- /dev/null +++ b/devel/git-arc/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1637946965 +SHA256 (git-arc/git-arc.sh?id=964035c409b1b7229c7bc0220e7455e4a038ed4b) = 3b2f8e0a519b30063bcfee8c191e9c151ceb5422d1e4d2aa07dce43e7a290e8b +SIZE (git-arc/git-arc.sh?id=964035c409b1b7229c7bc0220e7455e4a038ed4b) = 16149 +SHA256 (git-arc/git-arc.1?id=964035c409b1b7229c7bc0220e7455e4a038ed4b) = ff882a81081cbe12b90a8008d9be9cf6d8175e583c319240a6c76b8e17361dc0 +SIZE (git-arc/git-arc.1?id=964035c409b1b7229c7bc0220e7455e4a038ed4b) = 6609 diff --git a/devel/git-arc/pkg-descr b/devel/git-arc/pkg-descr new file mode 100644 index 000000000000..0d40d1473097 --- /dev/null +++ b/devel/git-arc/pkg-descr @@ -0,0 +1,16 @@ +The git-arc utility creates and manages FreeBSD Phabricator reviews +based on git commits. It is a git plugin that provides a wrapper around +arc. + +The arc command has a few limitations that make it awkward for FreeBSD +development: + +- Arcanist uses its own commit log template with a format does not match + FreeBSD's template. + +- Arcanist presumes a model where all the commits in a development + branch are uploaded for review as a single Differential revision. + When working on a feature branch with multiple commits, it is usually + more efficient to review each commit individually. + +git-arc mitigates these limitations.