From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1F3CC138010 for ; Sun, 16 Sep 2012 06:45:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C461EE045E; Sun, 16 Sep 2012 06:45:17 +0000 (UTC) Received: from a1iwww1.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) by pigeon.gentoo.org (Postfix) with ESMTP id B06BFE045E for ; Sun, 16 Sep 2012 06:45:16 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q8G6jEOr014570 for ; Sun, 16 Sep 2012 08:45:14 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q8G6jE2w000798; Sun, 16 Sep 2012 08:45:14 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q8G6jEod000791; Sun, 16 Sep 2012 08:45:14 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20565.30069.397545.214809@a1i15.kph.uni-mainz.de> Date: Sun, 16 Sep 2012 08:45:09 +0200 To: gentoo-pms@lists.gentoo.org Subject: [gentoo-pms] Re: [PATCH] Allocate __* for package manager internals, blacklist it for ebuilds. In-Reply-To: <1347327593%2d1144-1-git-send-email-ferringb@gmail.com> References: <1347327593%2d1144-1-git-send-email-ferringb@gmail.com> X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: daf962be-9863-4a81-adbd-80cf5d93bb6a X-Archives-Hash: e4bc9b06272c90d69100c9c8255d7581 >>>>> On Tue, 11 Sep 2012, Brian Harring wrote: > To varying degrees, existing PMs use names that aren't prefixed in > some fashion indicating it's an internal- the end result being > ebuilds/eclasses that rely on a PM internal (both bad for alternate > PMs, and bad should that internal change). > Further, the lack of a standardized namespace for the PMs internals > means QA tools must maintain their own lists. As such, allocate __* > for the PM to use for it's internal functionality and variables. We already have a section "Reserved Commands and Variables", and I think that the information should be added there. See one-line patch below. I also wonder about the rest of the list: "abort", "dyn", "ebuild", "hook", "paludis", "portage", "prep". The last one occurs in src_prepare, so forbidding it in ebuilds doesn't look so reasonable. ;-) Some of the others (like "dyn" and "hook") are used in eclasses. Should repoman enforce that they're not used? Ulrich >From d80c7b7933e07aeb9f55543e15839230f5ca005f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sun, 16 Sep 2012 08:25:15 +0200 Subject: [PATCH] Strings beginning with two underscores are reserved. --- pkg-mgr-commands.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 772613e..06856e2 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -858,6 +858,7 @@ strings (ignoring case) are reserved for package manager use and may not be used ebuilds: \begin{compactitem} +\item \t{\_\_} (two underscores) at beginning of string \item \t{abort} \item \t{dyn} \item \t{ebuild} -- 1.7.12