-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Rename some crates for publishing to crates.io #12837
Rename some crates for publishing to crates.io #12837
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the one nitpick, it looks good.
@@ -1,5 +1,5 @@ | |||
[package] | |||
name = "remote-externalities" | |||
name = "remote-ext" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name = "remote-ext" | |
name = "frame-remote-ext" |
Or something similar, but it should be more expressive.
CC @kianenigma
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other name I've reserved is frame-remote-externalities
. I'll change to that, then.
Failure of https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2115137#L1544 seems to be related to a bug in |
I think the fix was effective as per https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2116743#L1811 which didn't fail to compile
I'll try to fix that. |
Fixed as per https://gitlab.parity.io/parity/mirrors/substrate/builds/2117207 |
7fdddae
to
2560895
Compare
@@ -19,7 +19,7 @@ log = "0.4" | |||
parking_lot = "0.12.1" | |||
thiserror = "1.0" | |||
wasm-timer = "0.2.5" | |||
beefy-primitives = { version = "4.0.0-dev", path = "../../primitives/beefy" } | |||
beefy-primitives = { version = "4.0.0-dev", path = "../../primitives/beefy", package = "sp-beefy" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
Why not go full rename from the get-go?
beefy-primitives = { version = "4.0.0-dev", path = "../../primitives/beefy", package = "sp-beefy" } | |
sp-beefy = { version = "4.0.0-dev", path = "../../primitives/beefy" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would incur touching the .rs
files as well, right? I followed @athei 's suggestion from https://forum.parity.io/t/new-names-suggestions-for-squatted-crates/1513/2 of only changing the Cargo.toml
s.
I went with this approach because it minimizes the amount of changes I have to do in this PR and the companions. However, I'm open to whatever approach is the most agreed upon. Changing the .rs
files wouldn't be difficult, it'd just be more work. Also it might require more reviews from other teams.
Do you strongly prefer the full rename or is it acceptable to leave it like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless there's some hurry with this PR, I would prefer the full rename, otherwise you can kick the can down the road and someone will do it later; not blocking the PR on this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are a bit in a hurry with it; since we want to release the crates ASAP.
bot merge |
* rename some crates for publishing to crates.io * s/remote-ext/frame-remote-externalities
* rename some crates for publishing to crates.io * s/remote-ext/frame-remote-externalities
* rename some crates for publishing to crates.io * s/remote-ext/frame-remote-externalities
For context see https://forum.parity.io/t/new-names-suggestions-for-squatted-crates/1513.
close https://github.com/paritytech/release-engineering/issues/132
polkadot companion: paritytech/polkadot#6385
cumulus companion: paritytech/cumulus#1944