[Pkg-rust-maintainers] Please provide a repo for packages not intent for users

Ximin Luo infinity0 at debian.org
Mon Jan 20 14:31:36 GMT 2020


On Sat, 18 Jan 2020 10:25:36 +0800 Paul Wise <pabs at debian.org> wrote:
> On Sat, 18 Jan 2020 00:31:11 +0800 Shengjing Zhu wrote:
> 
> > There're a lot of packages in archive which users are not expected to
> > install, for examples:
> > 
> > * all golang-*-dev packages. (currently there are 1k+)
> > * maybe[1] all librust-*-dev packages. (currently there also are 1k+)
> 
> I think that these packages are solely a workaround for apt/dpkg not
> supporting the ability to build-depend on and use (parts of) another
> source package. I think that therefore we should enhance apt/dpkg and
> remove all the golang/rust binary packages instead.
> 

This doesn't work for Rust unfortunately, due to features. Based on which feature-set is activated, when you depend on a source-package you would want to pull in different sets of transitive dependencies.

However, a combination of:

1. implicitly being able to install source packages into /usr/src
2. metadata-only binary Packages that can depend on these implicit source packages

would work.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list