Skip to content

Conversation

@aarond10
Copy link

cargo vendor has issues with the current type_hash dependencies.

The git repository for v0.3.0 contains a version of type_hash_core labelled v0.2 but this is slightly different (e.g. in repository labels) than the v0.2 checked into crates.io.

cargo vendor is pulling v0.2 from crates.io rather than using the path = "../core" version included in the repo and specified in type_hash/Cargo.toml which means it is also dropping the repository label on vendored crates but not when the crate is unvendored.

I'm unclear on the correct semantics here for cargo vendor. This change just bumps all versions to circumvent any issues. It'll require a new release to be pushed to crates.io as well.

`cargo vendor` has issues with the current type_hash dependencies.

The git repository for v0.3.0 contains a version of type_hash_core
labelled v0.2 but slightly different in repository labels than the v0.2
checked into crates.io. (missing repository, for instance).

`cargo vendor` is pulling v0.2 from crates.io rather than using the
`path = "../core"` version specified in type_hash which means it is
also dropping the repository label on vendored crates but not when the
crate is unvendored.

I'm unclear on what should be the correct semantics here.
This change just bumps all versions to circumvent any issues. It'll
require a new release to be pushed to crates.io as well.
`cargo vendor` has issues with the current type_hash dependencies.

The git repository for v0.3.0 contains a version of type_hash_core
labelled v0.2 but slightly different in repository labels than the v0.2
checked into crates.io. (missing repository, for instance).

`cargo vendor` is pulling v0.2 from crates.io rather than using the
`path = "../core"` version specified in type_hash which means it is
also dropping the repository label on vendored crates but not when the
crate is unvendored.

I'm unclear on what should be the correct semantics here.
This change just bumps all versions to circumvent any issues. It'll
require a new release to be pushed to crates.io as well.
github-actions bot pushed a commit to gnoliyil/fuchsia that referenced this pull request Nov 3, 2022
This is to help filesystem developers identify changes that
inadvertently affect filesystem storage formats.

This is forked because a sub-crate (type_hash_core) lacks the repository
field in Cargo.toml, leading to license checks failing.

If a [pull request](peterjoel/type_hash#3) is accepted by the author,
this can be converted to a regular vendored crate.

Bug: 112718

Change-Id: I152816e0e4288a25d73f8f4ee23b36935675b329
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/746022
Commit-Queue: Aaron Drew <ripper@google.com>
Reviewed-by: Adam Barth <abarth@google.com>
Reviewed-by: Joseph Ryan <josephry@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant