Skip to content
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

fix(sync-templates): keep parachain-template's workspace Cargo.toml #7439

Conversation

iulianbarbu
Copy link
Contributor

@iulianbarbu iulianbarbu commented Feb 3, 2025

Description

Another small fix for sync-templates. We're copying the polkadot-sdk's parachain-template files (including the parachain-template-docs's Cargo.toml) to the directory where we're creating the workspace with all parachain-template members crates, and workspace's toml. The error is that in this directory for the workspace we first create the workspace's Cargo.toml, and then copy the files of the polkadot-sdk's parachain-template, including the Cargo.toml of the parachain-template-docs crate, which overwrites the workspace Cargo.toml. In the end we delete the Cargo.toml (which we assume it is of the parachain-template-docs crate), forgetting that previously there should've been a workspace Cargo.toml, which should still be kept and committed to the template's repository.

The error happens here: https://github.com/paritytech/polkadot-sdk/actions/runs/13111697690/job/36577834127

Integration

N/A

Review Notes

Once again, merging this into master requires re-running sync templates based on latest version on master. Hopefully this will be the last issue related to the workflow itself.

Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@iulianbarbu iulianbarbu requested review from a team as code owners February 3, 2025 15:43
@iulianbarbu iulianbarbu requested review from seemantaggarwal and skunert and removed request for a team February 3, 2025 15:43
@iulianbarbu iulianbarbu self-assigned this Feb 3, 2025
@paritytech-review-bot paritytech-review-bot bot requested a review from a team February 3, 2025 15:44
@iulianbarbu iulianbarbu marked this pull request as draft February 3, 2025 15:45
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
@iulianbarbu iulianbarbu marked this pull request as ready for review February 3, 2025 15:57
@iulianbarbu iulianbarbu added the R0-silent Changes should not be mentioned in any release notes label Feb 3, 2025
@iulianbarbu iulianbarbu requested review from a team, seemantaggarwal and skunert February 3, 2025 15:58
@iulianbarbu iulianbarbu added this pull request to the merge queue Feb 4, 2025
Merged via the queue into paritytech:master with commit 0e386be Feb 4, 2025
243 of 337 checks passed
@iulianbarbu iulianbarbu deleted the fix-sync-templates-cargo-toml-removal branch February 4, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants