From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44C9A15ACFC for ; Sun, 30 Apr 2023 19:31:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63C28E07E6; Sun, 30 Apr 2023 19:31:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 489E6E07E6 for ; Sun, 30 Apr 2023 19:31:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 48D1734106B for ; Sun, 30 Apr 2023 19:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A7C6A59 for ; Sun, 30 Apr 2023 19:31:53 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1682878390.f979b313a858358d77b2c67eb1036cb9b7b9a571.ulm@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/fowners bin/ebuild-helpers/fperms X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f979b313a858358d77b2c67eb1036cb9b7b9a571 X-VCS-Branch: master Date: Sun, 30 Apr 2023 19:31:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f67e33dd-f0dd-4156-af00-c933823eaa48 X-Archives-Hash: 396199660b17262a5ae5ed9f97d2417e commit: f979b313a858358d77b2c67eb1036cb9b7b9a571 Author: Ulrich Müller gentoo org> AuthorDate: Sun Apr 30 07:31:38 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Apr 30 18:13:10 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f979b313 fowners, fperms: Restore QA warning Suggested-by: Michał Górny gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> bin/ebuild-helpers/fowners | 6 ++++++ bin/ebuild-helpers/fperms | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/bin/ebuild-helpers/fowners b/bin/ebuild-helpers/fowners index a6409e40d..fa4e3c0d7 100755 --- a/bin/ebuild-helpers/fowners +++ b/bin/ebuild-helpers/fowners @@ -19,6 +19,12 @@ for arg; do args+=( "${arg}" ) else args+=( "${ED%/}/${arg#/}" ) + # remove the QA warning after 2024-12-31 + if [[ ${arg:0:1} != / ]]; then + eqawarn "${0##*/}: Path '${arg}' does not start with '/'." + eqawarn "This is unsupported. Add a slash for a path in \${ED}," + eqawarn "or use 'chown' for a path relative to the working dir." + fi fi done diff --git a/bin/ebuild-helpers/fperms b/bin/ebuild-helpers/fperms index 989075eb7..d52f5a767 100755 --- a/bin/ebuild-helpers/fperms +++ b/bin/ebuild-helpers/fperms @@ -20,6 +20,12 @@ for arg; do args+=( "${arg}" ) else args+=( "${ED%/}/${arg#/}" ) + # remove the QA warning after 2024-12-31 + if [[ ${arg:0:1} != / ]]; then + eqawarn "${0##*/}: Path '${arg}' does not start with '/'." + eqawarn "This is unsupported. Add a slash for a path in \${ED}," + eqawarn "or use 'chmod' for a path relative to the working dir." + fi fi done