mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

Integration with debrepobuilder #71

Open mmstick opened 6 years ago

mmstick commented 6 years ago

I've been working on this project for a while, which is implemented in Rust and generates entire debian APT repositories ready to host. It supports a number of means for practically building software from sources w/ sbuild; or grabbing pre-built debian archives that need not be built at all.

Perhaps getting support in the config for automatically pulling / building Rust projects that use cargo-deb would be nice. I think it might be implemented as simply as

[[cargo-deb]]
git = "$git_url"

[[cargo-deb]]
url = "$tar_url"
checksum = "$SHA256"

Those interested in this project might also be interested in the project. The existing tools for generating Debian archives is kind of sad, and official solutions do not use multi-core CPUs. IE: apt-ftparchive reads debian archives serially on a single core when generating the data for the Packages file, but debrep can does this and more in parallel with all available CPU cores (including generating the Contents files in parallel so that tools like apt-file are supported by your repo).