Re: Packages for pg_doorman

From: Bradford Boyle <bradford(dot)d(dot)boyle(at)gmail(dot)com>
To: Smolkin Grigory <smallkeen(at)gmail(dot)com>
Cc: Christoph Berg <myon(at)debian(dot)org>, pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Packages for pg_doorman
Date: 2025-03-15 03:38:56
Message-ID: CAOMoQbREwfeDARhD-Hxvfoh=oLNQWKbhxU4qdUcL80xfOQbhTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

> >> Build Process:
> >> Would it be acceptable to install the compiler from https://rustup.rs/
> >> during package building?

My understanding is that Debian policy does not permit downloading
during the build [0].

>
> 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.

According to this post [1] on the debian-rust mailing list, "vendoring
should be avoided unless there is a very good reason not to". The Debian
Rust packaging team has a pretty comprehensive guide [2] and it looks
like they have tooling to help assist with the packaging process.

-- Bradford

[0]: https://lists.debian.org/debian-devel/2020/12/msg00215.html
[1]: https://lists.debian.org/debian-rust/2024/11/msg00029.html
[2]: https://salsa.debian.org/rust-team/debcargo-conf/blob/master/README.rst

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2025-03-15 19:10:47 pgsql-ogr-fdw updated to version 1.1.6-1.pgdg+1
Previous Message Smolkin Grigory 2025-03-13 15:29:40 Re: Packages for pg_doorman