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

Plans to use crates.io versioning? #1522

Open
drewstone opened this issue Oct 14, 2024 · 3 comments
Open

Plans to use crates.io versioning? #1522

drewstone opened this issue Oct 14, 2024 · 3 comments
Labels

Comments

@drewstone
Copy link
Contributor

Question
Are there plans to support crates.io versioning here so that this project can issue a compatible versioned release too? There are new projects integrating in the Polkadot ecosystem relying on crates.io versions now and they're incompatible with chains using git links.

@boundless-forest
Copy link
Collaborator

There was an attempt at PR #1241. So feel free to submit a PR to make changes.

@conr2d
Copy link
Contributor

conr2d commented Dec 13, 2024

I agree with the need for better compatibility with crates.io versioning, and I’d like to address this issue. However, there are a few considerations to take into account.

If we switch the master branch to depend on crates.io Substrate, all downstream projects using Frontier will also need to change their Substrate dependencies to align with crates.io. To avoid disrupting existing projects, we could manage a separate branch, such as stable2409, which exclusively uses crates.io Substrate for now.

Additionally, I’m in favor of publishing Frontier packages to crates.io. If we move forward with this, we’ll need to establish a clear versioning policy for Frontier packages to ensure consistency and ease of integration.

@boundless-forest
Copy link
Collaborator

To avoid disrupting existing projects, we could manage a separate branch, such as stable2409, which exclusively uses crates.io Substrate for now.

I agree with this solution. What blocks us is that there are some test crates that Frontier relies on from the Polkadot SDK, but they are not published. As far as I know, it seems Parity doesn't want to release those crates. So, we may need to refactor or rewrite the test code in Frontier to remove these dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants