Open ThetaSinner opened 4 months ago
I'm a little off here. Even without putting dependencies in our workspace.dependencies
we have our project deps in the Cargo.lock
... That means we're already getting far more rebuilds and far more cache pushing than we should have
also see #3629 as an alternative option to implementing this feature in our custom tooling.
This item has been open for 30 days with no activity.
This item has been open for 30 days with no activity.
This item has been inactive for 14 days since being marked as stale.
The Holochain core team would like to use workspace dependencies. There are a few things we know we need to take care of to keep our build and automation working with this change. This issue tracks what we know and can be updated as we discover new problems.
release-automation
tool, that is used for (among other things) bumping crate versions on release, does not know how to update dependencies in the workspace. This prevents us from moving project crates into the workspace dependencies.release-automation
depends on checking the git changes for each crate. This breaks when you specify dependencies in the workspace and the crate just references it withcrate_name = { workspace = true }
. There is no source change in the crate when the version is bumped in the workspace so it will not be flagged for release. That means that new releases with updated dependencies will end up accidentally depending on older crates with mismatched dependencies.