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

Filter out placeholders from crates.io #15

Merged
merged 3 commits into from
May 27, 2024

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented May 24, 2024

The current implementation filters out placeholders from Plan.toml.

There is however a problem with placeholders that are NOT marked as 0.0.0 in Plan.toml, but should not be treated as valid crates.

For example: pallet-parachain-template is not filtered out as a placeholder, but should be - all its versions have been yanked.

This change filters out packages from crates.io that have max_version as 0.0.0 - so they are just placeholders.

@rzadp rzadp requested a review from patriciobcs May 24, 2024 18:14
Copy link
Collaborator

@patriciobcs patriciobcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@patriciobcs patriciobcs merged commit 6db0d3c into main May 27, 2024
1 check passed
@rzadp rzadp deleted the rzadp/filter-out-placeholders branch May 27, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants