Patch htslib-rs/noodles git deps to rv-managed local paths#76
Merged
Conversation
bcftools-rs and samtools-rs (and htslib-rs itself) now declare htslib-rs and noodles as git deps. Cargo identifies them by URL, so this workspace can [patch] both URLs to the single rv-managed local checkout under vendor/rust/, collapsing what cargo would otherwise see as three independent path sources into one lockfile entry. Also set net.git-fetch-with-cli so cargo uses the system git for the upstream verification fetch (respects ssh config and credentials).
Contributor
Author
|
Keeping these as local edits on madhava/libs for now — will land via the branch's existing flow once verified end-to-end. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[patch."https://github.com/madhavajay/htslib-rs.git"]and[patch."https://github.com/madhavajay/noodles.git"]torust/Cargo.toml, redirecting to the rv-managed checkouts undervendor/rust/..cargo/config.tomlsettingnet.git-fetch-with-cli = trueso cargo's upstream verification fetch uses the user's git (respects SSH/credentials).Why
bcftools-rsandsamtools-rs(andhtslib-rsitself) now consumehtslib-rs/noodlesas git deps (see madhavajay/bcftools-rs#274, samtools-rs#59, htslib-rs#14). Cargo identifies them by URL, so this workspace's[patch]collapses three would-be path sources into one rv-managed local crate per dep — eliminating cargo'spackage collision in the lockfileerror.Test plan
cargo check --workspaceresolves withoutpackage collision in the lockfile