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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 840B6138334 for ; Sat, 15 Sep 2018 15:54:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27F3FE0BFC; Sat, 15 Sep 2018 15:54:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9662E0BF1 for ; Sat, 15 Sep 2018 15:54:18 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id A7DDD335CCF; Sat, 15 Sep 2018 15:54:16 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 2/2] git-r3.eclass: Undocument deprecated EGIT_LIVE_* API Date: Sat, 15 Sep 2018 17:54:09 +0200 Message-Id: <20180915155409.10368-2-mgorny@gentoo.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180915155409.10368-1-mgorny@gentoo.org> References: <20180915155409.10368-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 1012bbaa-30ae-4630-994f-e2871cb65653 X-Archives-Hash: 485afabe9228873cc39cfd7aa7d90bb0 --- eclass/git-r3.eclass | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 3c09b6682ef5..a1ad0d238dc9 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -122,8 +122,6 @@ fi # URIs are completely unsecured and their use (even if only as # a fallback) renders the ebuild completely vulnerable to MITM attacks. # -# It can be overridden via env using ${PN}_LIVE_REPO variable. -# # Can be a whitespace-separated list or an array. # # Example: @@ -152,8 +150,6 @@ fi # @DESCRIPTION: # The branch name to check out. If unset, the upstream default (HEAD) # will be used. -# -# It can be overridden via env using ${PN}_LIVE_BRANCH variable. # @ECLASS-VARIABLE: EGIT_COMMIT # @DEFAULT_UNSET @@ -162,8 +158,6 @@ fi # commit from the branch will be used. Note that if set to a commit # not on HEAD branch, EGIT_BRANCH needs to be set to a branch on which # the commit is available. -# -# It can be overridden via env using ${PN}_LIVE_COMMIT variable. # @ECLASS-VARIABLE: EGIT_COMMIT_DATE # @DEFAULT_UNSET @@ -178,8 +172,6 @@ fi # (assuming that merges are done correctly). In other words, each merge # will be considered alike a single commit with date corresponding # to the merge commit date. -# -# It can be overridden via env using ${PN}_LIVE_COMMIT_DATE variable. # @ECLASS-VARIABLE: EGIT_CHECKOUT_DIR # @DESCRIPTION: @@ -262,6 +254,7 @@ _git-r3_env_setup() { esc_pn=${PN//[-+]/_} [[ ${esc_pn} == [0-9]* ]] && esc_pn=_${esc_pn} + # note: deprecated, use EGIT_OVERRIDE_* instead livevar=${esc_pn}_LIVE_REPO EGIT_REPO_URI=${!livevar-${EGIT_REPO_URI}} [[ ${!livevar} ]] \ -- 2.19.0