-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
A-cliArea: engine around the lintsArea: engine around the lintsC-enhancementCategory: raise the bar on expectationsCategory: raise the bar on expectationsE-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.
Description
Describe your use case
I'd like to integrate cargo-semver-check workflow into CI at work where we use a custom crate registry to (internally) publish our crates.
Unfortunately, cargo-semver-check fails to run on a crate that is published on the custom registry:
❯ cargo semver-checks check-release --verbose
Updating index
Parsing mycrate v0.1.0 (current)
Documenting mycrate v0.1.0 (~/mycrate.git)
Finished dev [unoptimized + debuginfo] target(s) in 0.96s
Error: mycrate not found in registry
I suspect this is because it is not aware of the crate registry when trying to download the crate.
Describe the solution you'd like
cargo-semver-check should fetch the published package from the crate registry it has been published previously.
In my case, this information is located in the repo's .cargo/config, but I think that info can also be located elsewhere.
Alternatives, if applicable
No response
Additional Context
No response
jaques-sam, PigeonF and futile
Metadata
Metadata
Assignees
Labels
A-cliArea: engine around the lintsArea: engine around the lintsC-enhancementCategory: raise the bar on expectationsCategory: raise the bar on expectationsE-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.