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

From Bradford Boyle
Subject Re: Packages for pg_doorman
Date
Msg-id CAOMoQbREwfeDARhD-Hxvfoh=oLNQWKbhxU4qdUcL80xfOQbhTQ@mail.gmail.com
Whole thread Raw
In response to Re: Packages for pg_doorman  (Smolkin Grigory <smallkeen@gmail.com>)
Responses Re: Packages for pg_doorman
List 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



pgsql-pkg-debian by date:

Previous
From: Smolkin Grigory
Date:
Subject: Re: Packages for pg_doorman
Next
From: apt.postgresql.org Repository Update
Date:
Subject: pgsql-ogr-fdw updated to version 1.1.6-1.pgdg+1