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 1t5qCW-008ubW-11 for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 17:40:16 +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 1t5qCT-0018XP-Mp for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 17:40:14 +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 1t5qCS-0018Wu-T3 for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 17:40:13 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5qCQ-003UDl-9l for pgsql-hackers@postgresql.org; Tue, 29 Oct 2024 17:40:12 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id D39E0254016E; Tue, 29 Oct 2024 13:40:08 -0400 (EDT) Received: from phl-imap-10 ([10.202.2.85]) by phl-compute-10.internal (MEProxy); Tue, 29 Oct 2024 13:40:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=partin.io; 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=fm3; t=1730223608; x=1730310008; bh=ezKHAAGtOAlEc4PkXr7PBMdxarNCiURU9Vz+OpqDpKc=; b= QR2BcoGktqQcqEPfDfPJs9vLuArUWylNDNDR6ylS2phxPRbnN8yDUnjRPOC//D5P Miehi1mXkqYUlJ+8hDM5WcnShGvOxkuLX/n15CGlG5SkPc62S96o8vgCXWrcr5hy Z+hYt6lfDD6Z7WdQ9mm2NOHRVzrYfqdOUSMjEr6UqWyvOCzwXYHLsWXu/DWciURK ze7O/ekCY6gazjMz9KKCJqupGDug7cPsqbBCIwKoEcNN9tK3LLxRuOpEXc5Lfw7B DZF3bGjbb3GZrIsdvksH896suIm+V4VSCa1NrJ38c1rEER4sa0klIuQyx2iOqJZD rmcdu23E8o++BtRUgZlM4Q== 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-sender:x-me-sender:x-sasl-enc; s=fm3; t=1730223608; x= 1730310008; bh=ezKHAAGtOAlEc4PkXr7PBMdxarNCiURU9Vz+OpqDpKc=; b=Y 42h49T7L/cx6vDQczaTL8JPQXY3YU7GckfWdwIvke3Q0VkoBi2eeb87762Tktr0B zoESNBMvkSPJyGUUMVxoPcyR2MykkuoQ4qwoCEq4RUkGCasbwtz6TLEDwpIu/Z9m huKtVPL9Y0Lv76hh+SD91JTAqZmM8UU2ubfyCyEdUVlMeySXXt5HeXXwIxChBip/ p3QqgRu4AZTKUofEuy87Hwwcm1FEy6XYthcUsu+Br8uLztAGHPbxtzJy0UFZr02R Ae5gTzBc1KN9oC2pCAGQqAfUkblVJzUVm94YIdWFzWc28ZWdtiXoqzoh19iwU5cS us0wMshmQeDOHQNRB/yQA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekuddgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofgggfgtfffkhfevuffvofhfjgesthhqredtredt jeenucfhrhhomhepfdfvrhhishhtrghnucfrrghrthhinhdfuceothhrihhsthgrnhesph grrhhtihhnrdhioheqnecuggftrfgrthhtvghrnheptdeuleduheelieejteeugfffuddt hedvffeuhfefhffhgfejtdegiedugedtvdetnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdrohhrghdpphgrthhhrdhtohdpnhgvohhnrdhtvggthhenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtrhhishhtrghnsehprghrthhinh drihhopdhnsggprhgtphhtthhopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthho pegrnhgurhgvshesrghnrghrrgiivghlrdguvgdprhgtphhtthhopehprhgrmhhsvgihse gtlhgvvhgvrhgvlhgvphhhrghnthdrtggrpdhrtghpthhtohepmhihohhnseguvggsihgr nhdrohhrghdprhgtphhtthhopehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdprh gtphhtthhopehgrggsrhhivghlvgdrsggrrhhtohhlihhnihesvghnthgvrhhprhhishgv uggsrdgtohhmpdhrtghpthhtohepuggrvhhiugesjhhushhtrghthhgvohhrhidrtghomh dprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdrohhr gh X-ME-Proxy: Feedback-ID: idd01497b:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id EBC9C3C0068; Tue, 29 Oct 2024 13:40:07 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Tue, 29 Oct 2024 17:40:06 +0000 Message-Id: From: "Tristan Partin" Cc: "Paul Ramsey" , "PostgreSQL Hackers" , "Gabriele Bartolini" , "Peter Eisentraut" , "Andres Freund" Subject: Re: RFC: Extension Packaging & Lookup To: "David E. Wheeler" , "Christoph Berg" X-Mailer: aerc 0.18.2-103-ge7b610668cb6 References: <2CAD6FA7-DC25-48FC-80F2-8F203DECAE6A@justatheory.com> <0D3FE0EA-0E87-42BD-AB15-D3549BFD0F4C@justatheory.com> <3F0B40EC-21B4-4ACF-934A-5AE024BF56A1@justatheory.com> In-Reply-To: <3F0B40EC-21B4-4ACF-934A-5AE024BF56A1@justatheory.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue Oct 29, 2024 at 12:03 PM CDT, David E. Wheeler wrote: > On Oct 29, 2024, at 12:51, Christoph Berg wrote: > >> I think this is where the whole idea of "provide binaries outside of >> deb/rpm" is just going to die. You are trying to reinvent a wheel=20 >> that has been running well for decades, including lots of production >> systems. I don't know anyone who would trust that new source of >> binaries that doesn't integrate into their OS packaging system. > > That=E2=80=99s fine for Linux, but more challenging for macOS and Windows= .=20 > It=E2=80=99s also an issue that the apt and yum repositories, while havin= g=20 > a lot of stuff, don=E2=80=99t have all extensions. Hey David, I haven't worked on Linux packaging in a while, so take my input with=20 a grain of salt. Could we make distro packaging easier for extension=20 developers and take some of the load off of the packaging team? I would imagine this workflow to be implemented as: curl -X POST https://extensions.postgresql.org/package \ -H 'Content-Type: application/json' \ -d '{ "extension": "pgvector", "tarball": "https://path.to.source.tarball", "build-system": "meson", "postgres-versions": [ 14, 15, 16 ], }' =09 The backend would create the packages and publish them to the various=20 repositories. We would probably need to come up with a dependency=20 manifest that listed both build and runtime dependencies. This would need some massaging, and has various caveats like require=20 using a well-known build system like PGXS or meson. There are probably=20 security implications that need to be worked through. The packaging team=20 could maybe have some burden lifted off their shoulders. Is that something people would be interested in? As someone who writes=20 software, I largely find reaching the distribution channels is always=20 the hardest part. --=20 Tristan Partin Neon (https://neon.tech)