Re: Packages for pg_doorman

From: Smolkin Grigory <smallkeen(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, Smolkin Grigory <smallkeen(at)gmail(dot)com>, pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Packages for pg_doorman
Date: 2025-03-13 15:29:40
Message-ID: CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

>Re: Smolkin Grigory
>> We would like to introduce pg_doorman, a new open-source PostgreSQL
>> connection pooler available under the MIT license.
>> You can find the project here:
>> github.com/ozontech/pg_doorman
>
>Hi,
>thanks for the suggestion!

Hi!

>
>> Rust Dependency: pg_doorman is written in Rust and requires rustc version
>> 1.70.0 or higher.
>
>This would be the first PG-related package using rust, I would expect
>a lot of rust crate packages to be still missing.
>
>> However, we’re unsure if this version is available in all Debian-based
>> distributions via their default package repositories.
>
>Debian stable has 1.63, unstable has 1.85.
>Ubuntu noble has 1.75.
>
>
>
>> Build Process:
>> Would it be acceptable to install the compiler from https://rustup.rs/
>> during package building?
>> Alternatively, would providing Dockerfiles for respective distributions be
>> a viable option?
>
>
>Everything for the build needs to come from proper .deb packages from
>within the target distribution. We might consider using some backports
>or relaxing the rules a bit for the older distributions, but we really
>like to have packages built properly for Debian main.
>
>
>
>> We’re open to any suggestions and requirements you may have.
>
>Did you already try to build it with distribution-provided tools only?

Yes, but unfortunately not all our dependencies are available in
standart distributions or have required versions.

>
>Christoph

Can we use cargo vendor?
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html

We can pack all rust-dependencies in separate tarball.
That way it will be possible to build packages with single unified
behavior for all systems using the same sources.
It will be much easier to support and debug.
Thank you for your help!

ср, 12 мар. 2025 г., 16:43 Christoph Berg <myon(at)debian(dot)org>:

> Re: Smolkin Grigory
> > We would like to introduce pg_doorman, a new open-source PostgreSQL
> > connection pooler available under the MIT license.
> > You can find the project here:
> > github.com/ozontech/pg_doorman
>
> Hi,
>
> thanks for the suggestion!
>
> > Rust Dependency: pg_doorman is written in Rust and requires rustc version
> > 1.70.0 or higher.
>
> This would be the first PG-related package using rust, I would expect
> a lot of rust crate packages to be still missing.
>
> > However, we’re unsure if this version is available in all Debian-based
> > distributions via their default package repositories.
>
> Debian stable has 1.63, unstable has 1.85.
> Ubuntu noble has 1.75.
>
> > Build Process:
> > Would it be acceptable to install the compiler from https://rustup.rs/
> > during package building?
> > Alternatively, would providing Dockerfiles for respective distributions
> be
> > a viable option?
>
> Everything for the build needs to come from proper .deb packages from
> within the target distribution. We might consider using some backports
> or relaxing the rules a bit for the older distributions, but we really
> like to have packages built properly for Debian main.
>
> > We’re open to any suggestions and requirements you may have.
>
> Did you already try to build it with distribution-provided tools only?
>
> Christoph
>

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Bradford Boyle 2025-03-15 03:38:56 Re: Packages for pg_doorman
Previous Message apt.postgresql.org Repository Update 2025-03-12 17:05:29 pgbouncer updated to version 1.24.0-3.pgdg+1