From nobody Tue Nov 10 05:21:08 2026 X-Original-To: dev-commits-src-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 4jNw3n0tCZz6xhm0 for ; Tue, 10 Nov 2026 05:21:09 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jNw3n0B8sz3CDd for ; Tue, 10 Nov 2026 05:21:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794288069; 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=MLQjhOPVGOk9HB3cqA5oIy7KF/ICkn4tkT4HVsFafqA=; b=scM5NRnxH/9dKH6dTfzDtixO8PZjZiHm4uCAii41u9VCrNeVPc2uLtMXtOlj7kl9w7OVtG D76zH4GQXTzXFzmkiHOoF3JD6O7bZyIdbSidEh/rEXQrAGKQlmxfSnIkyUIoS7T1uyM8uX 95xgOmFHxUYEkv+Mmi6d96Z1kRZP8ba/zr5fGhC68Yf0lzDSRK5i8bxQM3rgmJlBBXghtJ Ow61Z0kPnFEdoDEBqXZ5VDhuGq8kk9PE4qepkaMYwbhnC8e2qTq3EhzziHn//+7jUncy3A DTtVuSBivRqg6X+xHEJv5QhMjYi11amv4Vwu3Q2LPwacE6w0SDWet1uvHbsx/w== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794288069; b=Vsmq2L/HG7PtWa1x/2s1saudBunI7RV04FRBA3yuhtzkgeVKp2NJxFc+ktUrd1jcjLpIHs kPs1U0QbxAi1CviI8ck9NempAVxVePZWdepVHhONEp/GHpcrDzgTEHxnw5FJj0RCeNLyvN UQbUNdEgu+V3gRs4jrvkLYc3mS98Cqhs+Ptgs8NUPqLGUUdMirI4eeT5zWsIabcAEWAte0 agIbF6dLJmeyqzquS0CSx+5Uf7ZZKu+2pbnXUy/Yt83FrsvLNCUeYtCGY5VKHldLzLfrvJ ISBpFg9QEQH918Bv6tFr0BHUqyucF9/bATDfjEdcJv9zLA8xRKlr/nPh/zbE8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794288069; 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=MLQjhOPVGOk9HB3cqA5oIy7KF/ICkn4tkT4HVsFafqA=; b=h9Wz6sCoEx5Chdr6RR+pQMl6th6np3ACv2II/OPFILEeYlf2PvBeem8L0OuGTfMeDsAbRD xlJYVt0feHHqFpis6kY6hwEetFl9KxPkIowrXwQJPxOAOLNzMhfbnkGtE+GV8zUG2+o2tZ 5cpPcc+Jf2iiHlZ/vky67SBg/WhFGlWtcqLqO8TIj8LRh6/rJc8LM0zWqKyOeamIo9aIyt VEQ4CUoJOTDc1s+iBWWtZ7DGXaIlym8I4giDd1puFDIkkLOOuSg5I3HJzUrcPJvSHFWumd yaAwSo2f57wioJBhm07nEmSpQjO9MzR6MrhIIjbGRECSXtDojT6t5HFl7CI+rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jNw3m6y3Zz1CB9 for ; Tue, 10 Nov 2026 05:21:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id f5bd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 10 Nov 2026 05:21:08 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: e7f8896eabd9 - main - tools/git/arcgit: retire List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7f8896eabd9d0fc9f2768fd9b3336e95f4e26c9 Auto-Submitted: auto-generated Date: Tue, 10 Nov 2026 05:21:08 +0000 Message-Id: <6af2a9c4.f5bd.2727b5b5@gitrepo.freebsd.org> The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=e7f8896eabd9d0fc9f2768fd9b3336e95f4e26c9 commit e7f8896eabd9d0fc9f2768fd9b3336e95f4e26c9 Author: Enji Cooper AuthorDate: 2026-11-10 03:06:19 +0000 Commit: Enji Cooper CommitDate: 2026-11-10 03:33:25 +0000 tools/git/arcgit: retire This too has been superseded by `git-arc`, located in the same directory as `arcgit`. Differential Revision: https://reviews.freebsd.org/D61379 --- tools/tools/git/arcgit | 213 ------------------------------------------------- 1 file changed, 213 deletions(-) diff --git a/tools/tools/git/arcgit b/tools/tools/git/arcgit deleted file mode 100755 index adf64a11e7a4..000000000000 --- a/tools/tools/git/arcgit +++ /dev/null @@ -1,213 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015 Ryan Stone. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# - -# This script is used to submit a series of git commits to Differential. Each -# commit is submitted as a separate review. For each review, this script will -# create a branch called review_DXXXX (e.g. review_D2185 for Differential -# revision D2185). When you need to make a change to a review, checkout the -# review_D2185 branch, commit your change with "git commit --fixup HEAD". To\ -# upload the change to Differential, use the command: -# $ arc diff --update D2185 review_D2185_base -# -# When your reviews are complete, merge all of the review_DXXXX branches -# together, and then do a git rebase -ik to meld the code review fixes into the -# commit that they fixed. Now you have a clean series of patches to push to -# git. - -usage() -{ - echo "Usage: arcgit <-c commit | -r commit1~..commit2> [-R reviewer] " >&2 - echo " [-C subscriber] [-T testplan] [-n]" >&2 -} - -error() -{ - echo "$@" >&2 - usage - rm -f $phab_before $phab_after $arc_msg - exit 1 -} - -create_review() -{ - local commit phab_id arc_dir - unset phab_before phab_after arc_msg - commit=$1 - - phab_before=`mktemp -t arcoutput` - phab_after=`mktemp -t arcoutput` - echo "Create review for '`git show $commit -s --oneline`'" - - if [ -n "$dry_run" ] - then - return - fi - - git checkout $commit > /dev/null || error "Could not checkout $commit" - - arc_dir="$(git rev-parse --git-dir)/arc" - arc_msg="$arc_dir/create-message" - mkdir -p $arc_dir - git show -s --format='%B' HEAD > $arc_msg - echo >> $arc_msg - echo "Test Plan:" >> $arc_msg - cat $test_plan >> $arc_msg - echo >> $arc_msg - echo "Reviewers:" >> $arc_msg - echo "$reviewers" >> $arc_msg - echo >> $arc_msg - echo "Subscribers:" >> $arc_msg - echo "$cc_list" >> $arc_msg - echo >> $arc_msg - - arc list > $phab_before - yes | env EDITOR=true arc diff --create --allow-untracked HEAD~ - arc list > $phab_after - - headline="$(git show $commit -s --format=%s)" - phab_id=`comm -13 "$phab_before" "$phab_after" | fgrep "$headline" \ - | egrep -o 'D[0-9]+:' | tr -d ':'` - - if [ -z "$phab_id" ] - then - error "Could not get review ID" - fi - - git branch review_${phab_id}_base HEAD~ - - git checkout -b review_$phab_id - cat - < /dev/null 2> /dev/null -then - error "Install devel/git first" -fi - -if ! type arc > /dev/null 2> /dev/null -then - error "Install devel/arcanist first" -fi - -git update-index -q --refresh -if ! git diff-index --quiet --cached HEAD -then - error "index is unclean" -fi - -if ! git diff-files --quiet -then - error "Working directory is unclean" -fi - -if git ls-files --other --error-unmatch . > /dev/null 2> /dev/null -then - error "Working directory contains untracked files" -fi - -# We have to do a git checkout in order to run arc, so save the original branch -# so that we can check it out again once we're done. -if ! orig_branch=$(git symbolic-ref --short -q HEAD) -then - orig_branch=$(git show -s --pretty='%H' HEAD) -fi - -git log --format=%H $range | tail -r | while read -r commit -do - create_review $commit < /dev/null -done - -# Note that due to the use of the pipeline above, the body of the while loop -# above runs in a subshell. If it exits with an error, execution resumes -# here rather than exiting the script, so we have to cache the right exit code -# and return it when we're done cleaning up. -code=$? - -git checkout $orig_branch - -exit $code -