[Pkg-rust-maintainers] Infrastructure to automatically build depdency crates using debcargo
Ximin Luo
infinity0 at debian.org
Wed Jun 14 07:20:00 UTC 2017
Vasudev Kamath:
>
> Hello All,
>
> I was working on debcargo on points mentioned by Ximin (infinity0). I've
> now completed refactoring debcargo. We were discussing next steps to
> package crates in IRC and Ximin brought up need for infrastructure for
> doing automated packaging of dependencies of rustc and cargo.
>
> Here I'm quoting full text from IRC on our discussion.
>
>
>> [19:48:41] <infinity0> i'd like this process to be as automatic as
>> possible b/c i don't want to maintain 20 separate rust packages
>
>> [20:01:00] <infinity0> like, we'll have a script that automatically
>> runs debcargo on the 20 dependencies of rustc and cargo, rather than
>> me doing this manually
>> [20:01:09] <copyninja> ah
>> [20:02:03] <infinity0> if we need to make any patches to the
>> debcargo-generated packaging, we figure out some efficient way of
>> storing this under version control (.diff is the obvious choice but
>> it's not so nice to manually hand-edit these), and integrate this with
>> the script so that these patches also get applied when the script is
>> run, so we don't need to run patch(1) manually ourselves
>
> I also agree with Ximin as there are lot of small dependencies for
> crates and they in turn depend on another set of crates. So manually
> trying to package is a lot of task.
>
> Can we discuss on this and try to come to some sort of solution which
> reduces manual tasks.
>
I think the best way to move forward at this time, is first to collect data - i.e. run debcargo on all of rustc and cargo's dependencies and see what sort of overrides we actually need to do in practice, in order to fulfill Debian packaging standards.
If you could at least make sure that they're lintian-clean, I could then review them manually afterwards and see if there's anything that lintian might have missed.
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-rust-maintainers
mailing list