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

Ximin Luo infinity0 at debian.org
Tue Jan 21 22:35:47 GMT 2020


Paul Wise:
> On Mon, 2020-01-20 at 22:51 +0800, Shengjing Zhu wrote:
>> On Mon, Jan 20, 2020 at 10:37 PM Ximin Luo wrote:
>>> 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
>>
>> This applies to Go too. Currently a source-package's build-depends
>> usually include those for testing purposes, which are not needed when
>> building the rdepends. Or we don't test it, or we have a separate
>> control-filed in source-package..
> 
> IIRC the proposals about build-depending on source packages included
> being able to build-depend on their build-depends. If you could also
> filter those build-depends by build profiles then that might work.
> 

Filtering by build-profile doesn't work as we have no mechanism to say that build profile A should automatically imply build profile B on a dependency.

X

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



More information about the Pkg-rust-maintainers mailing list