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 1rStKz-00Gay8-72 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2024 06:35:45 +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 1rStKy-00DBKa-4g for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2024 06:35:44 +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 1rStKx-00DBKR-RT for pgsql-hackers@lists.postgresql.org; Thu, 25 Jan 2024 06:35:43 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rStKv-003Foe-Dl for pgsql-hackers@postgresql.org; Thu, 25 Jan 2024 06:35:42 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D1F325C011A; Thu, 25 Jan 2024 01:35:40 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 25 Jan 2024 01:35:40 -0500 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=1706164540; x=1706250940; bh=NTM8F27yEUhPrSo4smNRhaWpw1QsGof0 lFEaIP4MbpE=; b=PsJ7MPkzWgwhdE1BRflalJJtJ9k1BlkObl6gZx0Y0UCAq63d HjvlDReU94AGEduMe+IOzmY0POJyNkQKJJUaSkzWUekKvS25m1stZPsLDzaxYgVb pedRftKodx2CrhDUiEuJpCiMWaBS7HpqpToZEiXbjNKlRFibqIaiCj5C62srBMHD pzTtodkqzQw9YCTo98kiWVGySp+vf3y/ehSYNHc06+27S3DUzgKbLa0ngbQekjJ2 TPuehTAO+KsFORbuzW2Seee2khqrE+OWbm9mDiNDN+qkspkyPSP3dFgFMrpu14sP VkICdOsAwY5avduMbd5ONPEexkYI2qL/RdgPWA== 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=1706164540; x= 1706250940; bh=NTM8F27yEUhPrSo4smNRhaWpw1QsGof0lFEaIP4MbpE=; b=a c3EQaO0BGNdLalL6nxvvS+IbwJhqIrF5Ydn/gm81YVeFTNg6NWnV2ZUl67zOMqHB 9IbBstfVFK7gSso3RQ46VZrCKux8fdpJdQBRY1MtXqGhejNKogaC9e4hfoNUhq/1 /j5sBqSgpbEy3jyYYptfPC/aBy7glAjFpUxSKpRvMgZ0a9M97GmS/1TdrMfVCi8h THQ3XSJ/JyAD0PK7R/AA+kfTy/8SC1nXysCuWiTuk4pp3U8+HSH+9+ibyeQTietH tD9y0Ih+C+eQjFfXcC4P/YdHYNh1SWicVGLWF+oPGyYSCwPDbME5gw1D9XwTQGMN yY3X1kwcDNjO+5n6xMZvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdelvddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeu tedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Jan 2024 01:35:39 -0500 (EST) Message-ID: <25e39ef4-c989-4751-b595-339b1857fda7@eisentraut.org> Date: Thu, 25 Jan 2024 07:35:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: make dist using git archive Content-Language: en-US To: Tristan Partin Cc: pgsql-hackers References: <40e80f77-a294-4f29-a16f-e21bc7bc75fc@eisentraut.org> <02714192-6eba-4145-ac1c-0a245801014f@eisentraut.org> From: Peter Eisentraut In-Reply-To: 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 24.01.24 18:57, Tristan Partin wrote: >> > 4. Meson uses git archive internally, but then unpacks and repacks >> the > archive, which loses the ability to use git get-tar-commit-id. > > Because Meson allows projects to distribute arbitrary files via > meson.add_dist_script(), and can include subprojects via `meson dist > --include-subprojects`, this doesn't seem like an easily solvable problem. git archive has the --add-file option, which can probably do the same thing. Subprojects are another thing, but obviously are more rarely used. > I think the solution to point 4 is to not unpack/repack if there are no > dist scripts and/or subprojects to distribute. I can take a look at this > later. I think this would also solve points 1, 2, 5, and 6 because at > that point meson is just calling git-archive. I think that would be a useful direction.