-
Notifications
You must be signed in to change notification settings - Fork 379
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
cargo-workspace plugin ignores changes in workspace.dependencies
#1896
Comments
The Personally, I am unfamiliar with the full capabilities of Cargo for rust packages and this plugin was created by the community. If this |
Just wanted to chime in to say we just hit this. I'll take a look at possibly making a contribution to fix. |
Just for context, So in order to factor this in, we need to check for dependencies in a crate's manifest that have |
@chingor13 there is a code path in the |
🚨 wow, it looks like there is some kind of NPM supply chain crisis related to Octokit going on right now. Builds on this repo are failing, and I actually can't compile my patch to test if it works. Some related issues in the Octokit supply chain:
This appears to be impacting the CI jobs on this project as well. Anyway, I have a WIP but as-yet-untested patch going here: main...cdata:release-please:fix/support-cargo-workspace-dependency-inheritance I'll check back in a few days and hopefully |
I was able to temporarily patch |
My patch isn't cleaned up yet, but as a proof of concept I believe it is working. Going to be deploying it on our project to test it out. Just a note that at this time it supports detecting when a workspace-inherited dependency version has changed in a way that impacts a workspace member, but it doesn't yet support detecting when the default feature flags change for an inherited dependency (and this seems a little bit in the grey area as far as versioning is concerned). |
We are using release-please github action in manifest mode with cargo workspace plugin.
Repository is using cargo workspaces.
Some of dependencies are set in root Cargo.toml file in
[workspace.dependencies]
.Update to a dependency with correct prefix should trigger release of all crates that use that dependency, right? But it doesn't.
This PR didn't trigger any changes.
The text was updated successfully, but these errors were encountered: