Re: Packages for pg_doorman - Mailing list pgsql-pkg-debian

From Smolkin Grigory
Subject Re: Packages for pg_doorman
Date
Msg-id CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com
Whole thread Raw
In response to Re: Packages for pg_doorman  (Christoph Berg <myon@debian.org>)
Responses Re: Packages for pg_doorman
List 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@debian.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

pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org Repository Update
Date:
Subject: pgbouncer updated to version 1.24.0-3.pgdg+1
Next
From: Bradford Boyle
Date:
Subject: Re: Packages for pg_doorman