Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2tQ3-0078Mp-QJ for pgsql-hackers@arkaria.postgresql.org; Fri, 03 May 2024 13:57:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s2tQ1-009cGE-0P for pgsql-hackers@arkaria.postgresql.org; Fri, 03 May 2024 13:57:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2tPz-009cCW-3Y for pgsql-hackers@lists.postgresql.org; Fri, 03 May 2024 13:57:45 +0000 Received: from fout7-smtp.messagingengine.com ([103.168.172.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2tPw-001FeG-FS for pgsql-hackers@lists.postgresql.org; Fri, 03 May 2024 13:57:42 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 0697A138038C; Fri, 3 May 2024 09:57:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 03 May 2024 09:57:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1714744659; x=1714831059; bh=YWND8tGv4/2zl99kE/GgjlryEvsFLLBg 9XOtH5RDlDg=; b=CNpldplUfJlIIHLphAev6TCNBgh+5ZSi8zyRWfmCAS4U7k06 j1BLntaBOA6iNUeDfzWrhWTs7BKuzO0P/bVp2MRzHC1h+40OpznQ2lLUJKiRT4PA Lb0PmWqnTfgvFoekuief1myAoGstXPfBCasP6RrcjDkNN+j4eS/hjW+nAYozJSf0 v4yreAhHBN5oGuiu8v6Y9sApxLU66hdMugEAXveh8O5hkHk6524UEu91T/vZOZ59 kLMLsa48zJSnU56Dtlq7fHNN+XG4KZeA8LmTuDw/ZuXTCJiUsBXI4PlBZaglgYsB wE6Y+ryWu731GX40lKbCm1bBIPtI29xPqy9rtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714744659; x= 1714831059; bh=YWND8tGv4/2zl99kE/GgjlryEvsFLLBg9XOtH5RDlDg=; b=c 4DX1F+urR8xaflwvOKHqwUb96GSSm8kBdiHmYt7mI5uhqY4+7UvGwloHQSDgnnca DSDs+hS42fzlhKEqjjVxfnYPj+DH+q9HF1MtpenrmhSL/MBXFTCCWpEsheu94mfs 6l8cEyw5t18DswfV1l0OibWEXxeHb56/xLfyZrXvqlBC/Si0FwqZT8OoN/IMFTTy QkqtjbTMLDWVhhIZhuH7Isu2+cDikMn151RdiWNk0aFxEhU5SjU/NZJeNTSemHTJ 04TaB0Z+i1Y/PBFTUMMvuQk3+zM9Uf6ZY/QK21xvJs5NwBcuM3DDZmf/U9BLpsr9 3aFnGO5yNOBkGOmFQG3Zw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvtddgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeu tedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 May 2024 09:57:37 -0400 (EDT) Message-ID: Date: Fri, 3 May 2024 15:57:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Tarball builds in the new world order To: Tom Lane Cc: Greg Sabino Mullane , pgsql-hackers@lists.postgresql.org, Magnus Hagander References: <3552543.1713909947@sss.pgh.pa.us> <3709288.1713972073@sss.pgh.pa.us> <15181.1714159448@sss.pgh.pa.us> <1e596327-9698-4111-a528-a6a2749351fe@eisentraut.org> <1245434.1714407250@sss.pgh.pa.us> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <1245434.1714407250@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 29.04.24 18:14, Tom Lane wrote: > Peter Eisentraut writes: >> On 26.04.24 21:24, Tom Lane wrote: >>> Concretely, I'm proposing the attached. Peter didn't like >>> PG_COMMIT_HASH, so I have PG_COMMIT_REFSPEC below, but I'm not >>> wedded to that if a better name is proposed. > >> This seems ok to me, but note that we do have an equivalent >> implementation in meson. If we don't want to update that in a similar >> way, maybe we should disable it. > > OK. After poking at that for awhile, it seemed like "default to > HEAD" fits into meson a lot better than "throw an error if the > variable isn't set", so I switched to doing it like that. > One reason is that AFAICT you can only set the variable during > "meson setup" not during "ninja". This won't matter to the > tarball build script, which does a one-off configuration run > anyway. But for manual use, a movable target like HEAD might be > more convenient given that behavior. This patch looks good to me.