bug#25281: rust importer duplicates input

2016-12-28 Thread Ricardo Wurmus

David Craven  writes:

> Looking at the Cargo.toml file we see this:
>
> [target."cfg(unix)".dependencies]
> libc = "0.2.14"
> # Compat with older Cargo versions temporarily
> [target.x86_64-unknown-linux-gnu.dependencies]
> libc = "0.2.14"
> [target.i686-unknown-linux-gnu.dependencies]
> libc = "0.2.14"
> [target.x86_64-apple-darwin.dependencies]
> libc = "0.2.14"
> [target.i686-apple-darwin.dependencies]
> libc = "0.2.14"
>
> I started reimplementing cargos dependency resolution algorithm, but
> think now that it's better to use a Cargo.lock file when one is
> provided.
>
> When there isn't a cargo lock file it's a library in the sense that it
> is a collection of source code that can be reused in a cargo project
> that has a Cargo.lock file.
>
> I don't think that this is a issue that needs fixing.

Could the importer be changed to either ignore targets that don’t match
the current architecture or to uniquify the list of inputs?

~~ Ricardo





bug#25286: cow-store destroys /tmp

2016-12-28 Thread John Darrington
1. Boot from an installation-os image.
2. cp /etc/issue /tmp
3. ls -l /tmp[observe that /tmp/issue exists]
4. mount -t ext4 /dev/sda1 /mnt
5. herd start cow-store /mnt
6. ls -l /tmp  [observe that /tmp/issue has dissappeared]

J'

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature


bug#25281: rust importer duplicates input

2016-12-28 Thread David Craven
> Could the importer be changed to either ignore targets that don’t match
> the current architecture or to uniquify the list of inputs?

It could, but I don't see an advantage. It takes more than just
removing duplicate inputs for the thing to build. I'd find time spent
on a Cargo.lock parser (which should be quite easy) to be more useful,
but if someone wants to do it...