Re: Request for making pg_stat_monitor extension available via PGDG apt repositories

From: Christoph Berg <myon(at)debian(dot)org>
To: Hamid Akhtar <hamid(dot)akhtar(at)gmail(dot)com>
Cc: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, Evgeniy Patlan <evgeniy(dot)patlan(at)percona(dot)com>
Subject: Re: Request for making pg_stat_monitor extension available via PGDG apt repositories
Date: 2021-10-26 15:31:23
Message-ID: YXgfS6kWPZpbFJYQ@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Hamid Akhtar
> I am one of the maintainers of an enhanced open source statistics extension
> for PostgreSQL; pg_stat_monitor.
>
> PGDG is already providing RPM packages for pg_stat_monitor. This is a
> request to kindly make it available via the PGDG's apt repositories. The
> project is currently in Beta, but about to go GA within the next 4-6 weeks.
>
> Currently, we are building the Debian packages for our internal
> distribution, however, the process may be different in case of PGDG.
> Following is the project GitHub URL and Debian packaging path within the
> sources:
>
> Product GitHub URL:
> https://github.com/percona/pg_stat_monitor/
>
> Debian Packaging Directory:
> https://github.com/percona/pg_stat_monitor/tree/master/percona-packaging/debian

Hi,

for getting pg_stat_monitor into Debian and apt.postgresql.org, the
repository needs to have a certain format. I haven't tried building it
yet, but there are some bits that I can see:

* the / directory in the repository either needs to contain the actual
source code, or contain /debian/ only.
* debian/control(.in) references percona-postgresql-server-dev-all
and percona-postgresql-@@PG_REL@@ which do not exist
* control.in uses @@PG_REPL@@ instead of the normal PGVERSION, despite
using pgxs_debian_control.mk
* the Description is overflowing the first line (see short vs. long
description)
* you could try upgrading to the more modern `dh --with=pgxs`
packaging, see pg_buildext(1) on bullseye and later
* debian/copyright doesn't follow the formatting declared in line 1

Christoph

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2021-10-26 15:41:25 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Previous Message Pop, Sebastian 2021-10-26 15:16:08 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64