From nobody Sun Feb 19 19:42:39 2023 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 4PKbYW48Gmz3rtpc; Sun, 19 Feb 2023 19:42:39 +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 4PKbYW3gmYz41GW; Sun, 19 Feb 2023 19:42:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676835759; 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=NUMHuk3xB24aleUWBZO8VZDLss/CoJJiFtVP2X9EFO8=; b=JToSclnJCJMskIZ/2N1p8ChN7khMILoU/i3Et9B1BchmiI18P45TAHyIZU44PmRuD04AXS XVdaWU5QVAxZ5EPyGVKUA7esadtVWaEQkOMCC/nXJrK/hFCLodE8+H5R8ftmYlOAuqeXUd pB0yX3EKDoBehZD+0TVZmt5iNrx4re7KfWSm6sK32zhzEoV/BZ5AgwNV+MOUiIAebpbkAq m2eioHzNmDStMqM5V7gkxIQJ4goDtu3Sp0CeoeE4cGVgqfpNFJnNEh6SYsfULPaOJoPbBt CgvHgKsnqVx51tH3C35I+gTpQ38bxC/X7Gx+MI/zLyVxyNdZwuLbcDGOFtbbVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676835759; 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=NUMHuk3xB24aleUWBZO8VZDLss/CoJJiFtVP2X9EFO8=; b=JdLD+FGBUCw2lIR7WbQfrlEWQ3Ax6MT2H25vpIRtkoOY5g/ACiMe9hqbSvOq/gp5StrPNo EoNszIFQUEYqd2RM2hYxT3C0pinX+7xpqhuTZaO8Hv6se5LX+wyrkoqSAHDp49JYQtswmY FEp8eAINDpskyrZ9yobYPjEh8DDnp6OphL4FQ4MHDIqUP+J0YoUA1S4ABXlBaL1D8MeU17 U4JSIrGrrQPlVUOIhdB+qL0S/YhwhpkCWFxoFTO3qoOZQHHAIjCBHEOjjF16fk5BuTnd6C LGwfCXYiWOiFlimtcmlazQZ9TSjUDT+LVhBrMvlxL9MjxHZ1ZG5XjnWdd2Je7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676835759; a=rsa-sha256; cv=none; b=GfGr5m0/2h8JmWPnINAe6/DDwVlyqfySzP/blWWTl8jKhN+wP41mBYY7u4+iVqcv4Cprpk CI/zE6llIRfzqsZhfrUpZB0Lx/MpvzLaI8txyEjqcEPRrElYofG3q+6eP4lDfkHDjdHcwp X/KU5KNznitYiCUlZhGoaD3f5cUtrboIs9yaZrXFBdCNSUwmHF+c0SP1QzOflPw5TiKCYi a6PrSD7mwYvTqdpTVXvmHzFAQECp3ZBstTwj4dnxph2zfGN+OG2Lv2yTHw1npc1EZuxoUo PIp5RXU24MGiboQ82lyeZ+kavJblspH9cQ5s9xjCjEGLg8U/7fSZJFHHR9kKfQ== 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 4PKbYW2kjQz1Cft; Sun, 19 Feb 2023 19:42:39 +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 31JJgde8093720; Sun, 19 Feb 2023 19:42:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31JJgdTE093719; Sun, 19 Feb 2023 19:42:39 GMT (envelope-from git) Date: Sun, 19 Feb 2023 19:42:39 GMT Message-Id: <202302191942.31JJgdTE093719@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: f08b42fbd9c8 - main - Tools/scripts: use a port-specific commit message if removing a single port. 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: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 commit f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 Author: Rene Ladan AuthorDate: 2023-02-19 19:37:46 +0000 Commit: Rene Ladan CommitDate: 2023-02-19 19:42:20 +0000 Tools/scripts: use a port-specific commit message if removing a single port. This helps in `git shortlog`, replacing "cleanup: Remove expired ports" by "category/port: Remove expired port" for a given category and port. Reported by: gerald --- Tools/scripts/rmport | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 30d8e219441d..dd1251f54a78 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -410,7 +410,16 @@ fi gitlog=$(mktemp -t gitlog) gitrmlist=$(mktemp -t gitrmlist) -echo "cleanup: Remove expired ports:" > ${gitlog} +if [ $# -eq 1 ] ; then + topic="$1" + plural="" +else + log "/!\\ Removing multiple ports at once, commit topic will generic /!\\" + topic="cleanup" + plural="s" +fi + +echo "${topic}: Remove expired port${plural}:" > ${gitlog} echo "" >> ${gitlog} for catport in $* ; do