Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jsonschema-transpiler's pinned dependencies on install #792

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

badboy
Copy link
Contributor

@badboy badboy commented Oct 31, 2023

See https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile --locked will use the bundled Cargo.lock file with pinned dependencies, instead of recalculating dependency versions. This allows reproducible builds and avoids issues when any dependency releases a new version that contains incompatible changes.

cc @relud

Checklist for reviewer:

For glean changes:

  • Update templates/include/glean/CHANGELOG.md

For modifications to schemas in restricted namespaces (see CODEOWNERS):

See https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile
`--locked` will use the bundled Cargo.lock file with pinned
dependencies, instead of recalculating dependency versions.
This allows reproducible builds and avoids issues when any dependency
releases a new version that contains incompatible changes.
@auto-assign auto-assign bot requested a review from akkomar October 31, 2023 11:29
@badboy
Copy link
Contributor Author

badboy commented Nov 1, 2023

I don't have merge rights here. @akkomar can you land it?

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.

3 participants