From owner-freebsd-ports@freebsd.org Sat Feb 29 10:34:39 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 399FF25B1C4 for ; Sat, 29 Feb 2020 10:34:39 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48V2pQ331Wz4RjN for ; Sat, 29 Feb 2020 10:34:38 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3875F25B1C2; Sat, 29 Feb 2020 10:34:38 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3817025B1C0 for ; Sat, 29 Feb 2020 10:34:38 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48V2pN2wggz4Rf5 for ; Sat, 29 Feb 2020 10:34:36 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-wr1-x42a.google.com with SMTP id j7so6193518wrp.13 for ; Sat, 29 Feb 2020 02:34:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NmL3PFaVujs3TUa8LauqWgbbtutnyUnZr828QL9/VKs=; b=PEesi58RBf69D4/REQ/o24OKDfEqHdyrtgF/NF3elDQs8r/0M8q0SQcmX0j66YjFmT jA8Ui/lJdqHiZnieF/t1ZjiFkvLeN6ggLwb/3LtXs4Maqeq4LiVizksp9alEk7rHs7gs YY0c4mPgGFQLtssWnrYC57lE2JlB2dPXJvzmkPZgXwip/j3GPTYMyFuUfTMh63Jszdyf nG84AegR8LlE1N3e3ri4VPYI9MHNoz8lyMsWgx0w1J+5hd/z1P948M6EbXFOnEI1GZBP aiDMzcSORYnezb7LylBA4BZojKberErw8IHaaFFk/zgVjgtFLK2+6XJfT0IslgTe9kq0 7mOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NmL3PFaVujs3TUa8LauqWgbbtutnyUnZr828QL9/VKs=; b=fLsfDCKKv983NXjR7HTbQH1xVv7JsnbBs9JzBdXHbILEtYXoasBziq7jOnJIaipRjO JHFjtrpSH8euvPh91yiEMhQt3NY935bN2o+LTrQsy2SLnzOAx/5MB4sI3fbXbjmohARG 1Ho3BIIkGAcMimrGoWt+mUL15TdhRHOfjnDVnFNS+kqU4twMFUp0shjtsZzWmy0jCrAz sg+5ApxZGA/PJG4TfiRgKkzt4SRxE4ajXHwmz2aNWrgvBuz/k6Hjmvn5lG/DtHIBE3bp k1XidBViEjKoiulFcRlNMnB1QaCksNINOCkAqVsMTGcqeRoyo8qvV3dooEWbfVORyVWl oI0A== X-Gm-Message-State: APjAAAWQkTuO0GV57uxAmYCqN9XHsbzWcPsgv0rWR7jG9Syh/fhhT8aL 7eIo6OfIZXDmKD5G6CAmD89nX0j83LOIGuUUuw3EWQ== X-Google-Smtp-Source: APXvYqwv8Id5nJJHl9QPdPD+ad+s6j67dtxfsNv00IzYGEY065OZScJqPDgdoyTKX+XJZviLTxpbyEiV8WMXdOexb4I= X-Received: by 2002:adf:ee03:: with SMTP id y3mr10505756wrn.5.1582972473762; Sat, 29 Feb 2020 02:34:33 -0800 (PST) MIME-Version: 1.0 References: <20200228231533.y2ezerqj7ypuyc7q@atuin.in.mat.cc> In-Reply-To: From: Adam Weinberger Date: Sat, 29 Feb 2020 03:34:17 -0700 Message-ID: Subject: Re: When to use TMPPLIST instead of pkg-plist? To: Mateusz Piotrowski <0mp@freebsd.org> Cc: Mathieu Arnold , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48V2pN2wggz4Rf5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adamw-org.20150623.gappssmtp.com header.s=20150623 header.b=PEesi58R; dmarc=none; spf=pass (mx1.freebsd.org: domain of adamw@adamw.org designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=adamw@adamw.org X-Spamd-Result: default: False [-4.17 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[adamw-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; DMARC_NA(0.00)[adamw.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[adamw-org.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[a.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.67)[ip: (-9.22), ipnet: 2a00:1450::/32(-2.41), asn: 15169(-1.67), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Feb 2020 10:34:39 -0000 On Sat, Feb 29, 2020 at 3:02 AM Mateusz Piotrowski <0mp@freebsd.org> wrote: > > On 2/29/20 12:15 AM, Mathieu Arnold wrote: > > On Fri, Feb 28, 2020 at 10:06:19PM +0100, Mateusz Piotrowski wrote: > >> Do we have any (perhaps unwritten) policy for when to use TMPPLIST? And when > >> should a port maintainer stick to pkg-plist? > > We do not. A port maintainer should stick to pkg-plist. > > That's what I thought. > > Is there a reason for it? Does it all boil down to that fact that > pkg-plist is much more explicit and easier to debug/review? Or there is > another reason? That, and maintainers knowing when a change impacts what gets installed. Explicit pkg-plist can be irritating, but that happens for precisely the same reason that it's beneficial. It's a pretty useful check. That said, TMPPLIST is there for a reason and there's no problem with leveraging it when the situation calls for it. The one true guideline on when it's appropriate is "to solve a problem that pkg-plist can't fix," and in general committer instinct has been quite good as to when it's needed. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org