[Pkg-rust-maintainers] Please consider packaging a Rust version that allows #![feature(...)]

Luca Bruno lucab at debian.org
Mon Aug 31 09:37:34 UTC 2015


[moving this out of BTS, back to ML]

> Some notes:

> - for some reason we bundle a
> src/etc/snapshot.pyc in the .debian.tar.gz and force it to be ignored with
> debian/source/include-binaries, wtf?

I've never noticed it, but this comes directly from upstream tarball.
We probably also re-touch it when downloading the stage0 snapshot.
I'm not sure if this has already been reported upstream...

> - both beta and nightly have upgraded
> to jquery 2.1.4 but my upgrade script doesn't account for this
> - pretty
> sure we can symlink jquery.js in debian/rust-doc.links instead of having
> debian/rules explicitly do it

Cargo too, but IIRC jquery2 is not packaged at the moment.

> - not sure what to do with the
> libstd-rust-xxxx stuff. I couldn't find the id anywhere in the upstream
> source, even in the current debian sid version.

It is computed at runtime, see mk/main.mk:
"""
# Append a version-dependent hash to each library, so we can install different
# versions in the same place
CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE) | $(CFG_HASH_COMMAND))
"""

It is basically a truncated md5 of the version string.

> Also, will we continue to
> keep adding the old package versions to Replaces/Breaks? This seems
> unsustainable.

Yes I agree that it is a bit ugly in the long term.
Braindump: can we introduce a generic versioned provide (without the hash 
suffix) and breaks on that instead, based on version?

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/20150831/912ce3f5/attachment.sig>


More information about the Pkg-rust-maintainers mailing list