From nobody Tue Aug 23 12:16:53 2022 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 4MBpBF45slz4ZWvr; Tue, 23 Aug 2022 12:16:53 +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 4MBpBF3KxNz401Q; Tue, 23 Aug 2022 12:16:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661257013; 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=ZvmbzLLYarHOEzE2+4+wK40xDb9JThQxcW3qobcNA5s=; b=VZ4LZ043WLIAnI0ablGIPktvpOP4f07AqElu1xo+qWjlvLJg9lyGCzjPvuN6H4QTbHxUo1 MNKnUVZf+jJGx3hZTU8g3F9eCTvSXW6LtIzxzdKHAR/kkXco6k5bOlP4Pz3+FEfd+CuaoU 8CV6L8C2fBzF8nJf9naTf0AySgrZtvTsQSR5wbrx/bEq/25+00p7hQOIJyqEfUK8F9drNx VxsMtUlsSZpFCi5OB6lXmSjxlzskemEoJeNCiuvrEUyhC1GtTw/xpiohoCM4puY38XZ8Xd 9wdKryhLw+wp4L5FuzjID/mc2xEl//mwHBAPlt+AKsx4XiDwxcmFUcLR2S12yQ== 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 4MBpBF2PDLzVCv; Tue, 23 Aug 2022 12:16:53 +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 27NCGrr5031101; Tue, 23 Aug 2022 12:16:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27NCGrqt031100; Tue, 23 Aug 2022 12:16:53 GMT (envelope-from git) Date: Tue, 23 Aug 2022 12:16:53 GMT Message-Id: <202208231216.27NCGrqt031100@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: d1349053a7cb - main - MOVEDlint: check for flavored version of a port 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: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d1349053a7cbc231d1eec15719858035f5118db7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661257013; 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=ZvmbzLLYarHOEzE2+4+wK40xDb9JThQxcW3qobcNA5s=; b=tZOgVxl6yY2SACt4HvFiOSa2hpGIpLFIUr6TtqSz4PnI9Sn73JaphUwH6dIfph/JrCwvcN uR1GuQMYbTmAChqwGaCh558hbw9xd1oTadHG7vxO9lKj93pRcZRhgUdC/mYMIA7lnv4/ts nZ+femGsXbSAP9xybOjFgI1sh9zK4e87fsFlZjfJdCxeswxeSXpsLcdbqtITw0ukmG+iR4 n9ruucbGCAqm0w4tBCAGz9+ejthSTJ8az3v69kJwRsUokOqTfNJBBHqxI+0BD2kpriK8Vc 6bVWy8QXV/60ulgW83Tapg8tMlldgBz7YBTPk1jUf+wAAQMFQsPHnUkWzxgE5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661257013; a=rsa-sha256; cv=none; b=Ux/Bmx/nO6sonGqyd9sNffciCpU6103wUqe2Vko5fGO52CVxrG5INrWctL/QePvTSikAdM xxJ2c0BMwp8OsOOOWbuY7o2bA1BdKD667Oe+ehQZGSMmZB2MmtfxWtTaATEAKmoj20bvC/ CuV/gd8UfEh9OQ6hycTY4Yamq/3+YXIspMMSv4LLAhHiD2VCzdVFEZwP13LOaXexQqhoqC ntT/3LT7wqTNwXLjkogcihXB736nzQ/+jsTwzPTNut7gxRgX+GEiMGMttY95+neOkcjTHW 6xLYCsSwAKx6VPs1xRabvhABamNLhY9MZgbNNQSa1jWoTdR2B25SvRzjcEKWYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1349053a7cbc231d1eec15719858035f5118db7 commit d1349053a7cbc231d1eec15719858035f5118db7 Author: Baptiste Daroussin AuthorDate: 2022-08-23 12:15:28 +0000 Commit: Baptiste Daroussin CommitDate: 2022-08-23 12:16:46 +0000 MOVEDlint: check for flavored version of a port There is no need to document when a port has been flavored or new flavor has been added, check if someone added such a line, and prevent the person it is not needed --- Tools/scripts/MOVEDlint.awk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/MOVEDlint.awk b/Tools/scripts/MOVEDlint.awk index ac85287a0a0d..f9d9ef35bb8d 100755 --- a/Tools/scripts/MOVEDlint.awk +++ b/Tools/scripts/MOVEDlint.awk @@ -115,7 +115,11 @@ $3 !~ /^20[0-3][0-9]-[01][0-9]-[0-3][0-9]$/ { # No else because the port is there but does not have the flavor, # so it should be ok. } else { - printf "%5d: %s must be marked as resurrected\n", NR, $1 | sort + if ($2 ~ $1 "@") { + printf "%5d: %s is a flavor of %s, the line should be removed\n", NR, $2, $1 | sort + } else { + printf "%5d: %s must be marked as resurrected\n", NR, $1 | sort + } } }