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

Symlink chain-specs json files to crate where they are used #1171

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

Morganamilo
Copy link
Contributor

When publishing crates, each crate becomes it's own tarball that can't access files from other crates. So symlink the files to be crate local and cargo will replace the symlinks with real files at publish time.

We can't just move all of them as it makes the package larger than the max crates.io package size.

@Morganamilo Morganamilo added the A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Aug 25, 2023
When publishing crates, each crate becomes it's own tarball that can't
access files from other crates. So symlink the files to be crate local
and cargo will replace the symlinks with real files at publish time.

We can't just move all of them as it makes the package larger than the
max crates.io package size.
@Morganamilo Morganamilo added T9-cumulus This PR/Issue is related to cumulus. and removed A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). labels Aug 29, 2023
@Morganamilo Morganamilo requested a review from a team August 30, 2023 11:17
@Morganamilo Morganamilo enabled auto-merge (squash) August 30, 2023 11:55
@Morganamilo Morganamilo merged commit 43c0c09 into master Aug 30, 2023
95 of 98 checks passed
@Morganamilo Morganamilo deleted the morganamilo/symlink branch August 30, 2023 15:04
Daanvdplas pushed a commit that referenced this pull request Sep 11, 2023
When publishing crates, each crate becomes it's own tarball that can't
access files from other crates. So symlink the files to be crate local
and cargo will replace the symlinks with real files at publish time.

We can't just move all of them as it makes the package larger than the
max crates.io package size.

Co-authored-by: Javier Viola <javier@parity.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T9-cumulus This PR/Issue is related to cumulus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants