Re: Packages for pg_doorman

Поиск
Список
Период
Сортировка
От Bradford Boyle
Тема Re: Packages for pg_doorman
Дата
Msg-id CAOMoQbREwfeDARhD-Hxvfoh=oLNQWKbhxU4qdUcL80xfOQbhTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Packages for pg_doorman  (Smolkin Grigory <smallkeen@gmail.com>)
Ответы Re: Packages for pg_doorman
Список 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 по дате отправления: