Re: Redis & SQLite FDW packages

From: Christoph Berg <myon(at)debian(dot)org>
To: pgsqlitegis(at)tutamail(dot)com
Cc: PostgreSQL in Debian <pgsql-pkg-debian(at)lists(dot)postgresql(dot)org>
Subject: Re: Redis & SQLite FDW packages
Date: 2025-01-28 15:35:12
Message-ID: Z5j5MLQpRuQpsqSd@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: pgsqlitegis(at)tutamail(dot)com
> I have absolutely no deb package expirience. I am confused about better way of packege creating. For example SQLite FDW supports PostgreSQL 11..17, x86 and arm architectures at least and 2 modes - with GIS support and without GIS support.
> For example there are possible
> pg 17 + GIS + x86
> pg 17 + GIS + arm
> pg 17 + GIS + ...
> pg 17 + noGIS + x86
> pg 17 + noGIS + arm
> pg 17 + noGIS + ...
>
> pg 16 + GIS + x86

Is there any value in creating a separate "no GIS" variant? We usually
just enable all features.

Looping over the PG versions will be handled by pg_buildext in the
packaging toolchain. Looping over architectures is handled by invoking
that build separate on each architecture.

> MySQL FDW system of packages seems me ununderstandable and very hard.

Check any other extension then?

> By https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/doc/postgresql-debian-packaging.md I think better 1st step is source code package, isn't it?

You create a source package (well, you create debian/ and then the
source package is built from that). From that, the binary packages are
built.

> I can prepare debian/control and something other debian/ files, but don't know anythink about PGDG apt package building infrastructure and metadata.

debian/ is all that is required.

Christoph

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2025-01-29 09:59:57 timescaledb updated to version 2.18.0+dfsg-1.pgdg+1
Previous Message Christoph Berg 2025-01-28 13:34:13 Re: Redis & SQLite FDW packages