public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bradford Boyle <[email protected]>
To: Smolkin Grigory <[email protected]>
Cc: Christoph Berg <[email protected]>
Cc: [email protected]
Subject: Re: Packages for pg_doorman
Date: Fri, 14 Mar 2025 20:38:56 -0700
Message-ID: <CAOMoQbREwfeDARhD-Hxvfoh=oLNQWKbhxU4qdUcL80xfOQbhTQ@mail.gmail.com> (raw)
In-Reply-To: <CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com>
References: <CAMp+ueYqZNwA5SnZV3-iPOyrmQwnwabyMNMOsu-Rq0sLAa2b0g@mail.gmail.com>
<[email protected]>
<CAMp+ueYwj54J4au4+MBtgR45KWAf+JLB6PX8-QWe7md2dDwgjw@mail.gmail.com>
> >> 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
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], [email protected]
Subject: Re: Packages for pg_doorman
In-Reply-To: <CAOMoQbREwfeDARhD-Hxvfoh=oLNQWKbhxU4qdUcL80xfOQbhTQ@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