[Pkg-rust-maintainers] Bootstrapped proper/stage1 cargo :)

Luca Bruno lucab at debian.org
Sat Aug 8 19:41:16 UTC 2015


Hi,
this is a follow-up to my last mail on bootstrapping cargo.
After some failed attempts and several dirty hacks, I managed to fully 
bootstrap a proper (stage1) cargo only using offline/embedded resources, yay!
Plus, I've also included bash-completion, rustdoc material and a script to 
assemble the original tarballs.

Building cargo requires:
 * cargo tarball (0.3.0 for the moment)
 * a copy of crates.io-index (-index.tar.gz)
 * all transitive build dependencies of cargo (-deps.tar.gz)

As such, the source package currently embeds a snapshot of crates.io index 
(760 KB) and 48 crates/packages (2.5 MB).
Search paths are tweaked via a custom .cargo/config, but we will need to come 
up with a better approach due to the limitations I reported in #1863:
https://github.com/rust-lang/cargo/issues/1863

At this point, I'm only missing most of debian/copyright, and somebody to 
review the whole. I'd like to upload this to experimental next week, so please 
take a couple of minutes to have a look at it and let me know your comments.

I've pushed my current work here:
http://anonscm.debian.org/cgit/pkg-rust/cargo.git/?h=lucab/wip-bootstrap

And updated source/binary packages here:
https://people.debian.org/~lucab/deb/cargo/

Cheers, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`                          | GPG: 0xBB1A3A854F3BBEBF
  `-     http://www.debian.org 	| Debian GNU/Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150808/bd451f78/attachment.sig>


More information about the Pkg-rust-maintainers mailing list