pg.ddx.io pgsql-pkg-debian@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) 2+ messages / 2 participants [nested] [flat]
* Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) @ 2026-10-29 19:49 Pierre-Marie Petit <pierremariepetit@gmail.com> 2026-10-29 21:51 ` Re: Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) Christoph Berg <myon@debian.org> 0 siblings, 1 reply; 2+ messages in thread From: Pierre-Marie Petit @ 2026-10-29 19:49 UTC (permalink / raw) To: pgsql-pkg-debian@lists.postgresql.org Hello, I am the maintainer of pglinter, a PostgreSQL extension that analyzes a database for potential issues, performance problems and best practice violations (missing primary keys, unindexed foreign keys, redundant indexes, insecure public schema, and so on), and reports them as text or as SARIF. I would like to ask whether pglinter could be packaged in apt.postgresql.org . Repository: https://github.com/pmpetit/pglinter Latest release: 2.0.0 License: Apache-2.0 Language: Rust, built with pgrx 0.18.0 PostgreSQL versions supported: 14, 15, 16, 17, 18 Architectures built and tested in our CI: amd64, arm64 Runtime dependencies: none beyond PostgreSQL itself, no shared_preload_libraries needed I have added a debian directory to the repository with: one binary package per major version: postgresql-NN-pglinter rules that runs cargo pgrx package against each /usr/lib/postgresql/NN/bin/pg_config an offline build against vendored crates (cargo vendor, pinned by Cargo.lock), so no network access is needed during the build I have a few questions about how this fits PGDG: Is building Rust/pgrx extensions in the PGDG build environment supported, given that cargo-pgrx is not packaged in Debian? Is there a preferred way to provide it? Do you prefer the vendored crates shipped in the orig tarball, or a different approach? Are there conventions I should follow first, such as debian/control.in with pg_buildext, a debian/pgversions file, or autopkgtest via pg_buildext installcheck? The motivation is to make pglinter available as a CloudNativePG extension image. Their contribution guidelines require extensions to be installable from Debian or PGDG packages. I am happy to adapt the packaging to your requirements and to maintain it going forward. Thank you for your time, Pierre-Marie Petit https://github.com/pmpetit/pglinter ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) 2026-10-29 19:49 Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) Pierre-Marie Petit <pierremariepetit@gmail.com> @ 2026-10-29 21:51 ` Christoph Berg <myon@debian.org> 0 siblings, 0 replies; 2+ messages in thread From: Christoph Berg @ 2026-10-29 21:51 UTC (permalink / raw) To: Pierre-Marie Petit <pierremariepetit@gmail.com>; +Cc: pgsql-pkg-debian@lists.postgresql.org; natureshadow@debian.org Re: Pierre-Marie Petit > Is building Rust/pgrx extensions in the PGDG build environment supported, > given that cargo-pgrx is not packaged in Debian? Is there a preferred way > to provide it? Hi, we started working on pgrx in spring, but then lost steam because rust is complex and the tooling around packaging it is still somewhat in flux (pgrx is a multi-crate workspace (there are lots of words with weird meanings in this ecosystem) and debcargo doesn't understand that yet). We still want to do that. > Do you prefer the vendored crates shipped in the orig tarball, or a > different approach? I don't have an answer to that yet. > Are there conventions I should follow first, such as debian/control.in with > pg_buildext, a debian/pgversions file, or autopkgtest via pg_buildext > installcheck? That all sounds like a good idea, yes. Christoph ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-29 21:51 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-29 19:49 Packaging request: pglinter (PostgreSQL linting extension, Rust/pgrx) Pierre-Marie Petit <pierremariepetit@gmail.com> 2026-10-29 21:51 ` Christoph Berg <myon@debian.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox