Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfOQH-0008FX-HK for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 Oct 2021 15:31:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfOQG-0000C8-Bc for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 Oct 2021 15:31:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfOQG-0000Bz-5v for pgsql-pkg-debian@lists.postgresql.org; Tue, 26 Oct 2021 15:31:32 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfOQ9-0004Jc-Fw for pgsql-pkg-debian@lists.postgresql.org; Tue, 26 Oct 2021 15:31:31 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4Hdwlb5WF3z3Dxx; Tue, 26 Oct 2021 17:31:23 +0200 (CEST) Date: Tue, 26 Oct 2021 17:31:23 +0200 From: Christoph Berg To: Hamid Akhtar Cc: pgsql-pkg-debian@lists.postgresql.org, Ibrar Ahmed , Evgeniy Patlan Subject: Re: Request for making pg_stat_monitor extension available via PGDG apt repositories Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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