Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

cargo: sync workspace members with dependencies #4579

Merged
merged 4 commits into from
Jan 13, 2022

Conversation

FlorianFranzen
Copy link
Contributor

@FlorianFranzen FlorianFranzen commented Dec 22, 2021

This syncs the workspace crates returned by cargo metadata with the crates inside Cargo.toml, which resolves some issues I was having with naersk as well with some older lsp servers.

@bkchr bkchr added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jan 6, 2022
Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a merge with master and looks good other than a question about bridges.

Cargo.toml Outdated
Comment on lines 105 to 116
"bridges/bin/runtime-common",
"bridges/modules/dispatch",
"bridges/modules/grandpa",
"bridges/modules/messages",
"bridges/primitives/chain-rococo",
"bridges/primitives/chain-wococo",
"bridges/primitives/header-chain",
"bridges/primitives/message-dispatch",
"bridges/primitives/messages",
"bridges/primitives/polkadot-core",
"bridges/primitives/runtime",
"bridges/primitives/test-utils",
Copy link
Member

@ordian ordian Jan 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about bridges pallets as it's added as a subtree and was removed here last time by @HCastano
cc @svyatonik @acatangiu

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I already discussed this with @FlorianFranzen, but he still doesn't has removed them..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo there's no harm in adding these crates to workspace - they're built with the code anyways. We should avoid adding all bridges/* crates - there are crates that shall not be built here (ideally we should remove them from the polkadot repo, but ...).

@bkchr bkchr merged commit 1c78993 into paritytech:master Jan 13, 2022
Wizdave97 pushed a commit to ComposableFi/polkadot that referenced this pull request Feb 3, 2022
* cargo: sync workspace members with dependencies

* Remove bridges stuff

* Fix

Co-authored-by: Bastian Köcher <info@kchr.de>
@FlorianFranzen
Copy link
Contributor Author

@bkchr Thank you, not sure why this dropped off my notifications.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants