Rename some crates for publishing to crates.io#12837
Rename some crates for publishing to crates.io#12837paritytech-processbot[bot] merged 3 commits intoparitytech:masterfrom
Conversation
bkchr
left a comment
There was a problem hiding this comment.
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.
| 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.
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
| 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.
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.
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.tomls.
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.
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.
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