public inbox for [email protected]
help / color / mirror / Atom feedFrom: Smolkin Grigory <[email protected]>
To: Christoph Berg <[email protected]>
To: Smolkin Grigory <[email protected]>
To: [email protected]
Subject: Re: Packages for pg_doorman
Date: Thu, 13 Mar 2025 18:29:40 +0300
Message-ID: <CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAMp+ueYqZNwA5SnZV3-iPOyrmQwnwabyMNMOsu-Rq0sLAa2b0g@mail.gmail.com>
<[email protected]>
>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 <[email protected]>:
> 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
>
view thread (12+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Packages for pg_doorman
In-Reply-To: <CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox