Skip to content

don't delete full crates from docs.rs when only a version was deleted #2163

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

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

syphar
Copy link
Member

@syphar syphar commented Jul 4, 2023

related to https://rust-lang.zulipchat.com/#narrow/stream/356853-t-docs-rs/topic/glium.20gone
where we delete all releases for a crate while only one or more releases were deleted.

This was coming at least from a bug in the crates-index-diff docs: https://docs.rs/crates-index-diff/latest/crates_index_diff/enum.Change.html where it also emits Deleted for a version-delete, not only a crate-delete.

Draft PR for a fix: Byron/crates-index-diff-rs#38

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Jul 4, 2023
@syphar syphar force-pushed the fix-version-delete branch from 3c94cc0 to 822811a Compare July 4, 2023 05:17
@Byron
Copy link
Member

Byron commented Jul 4, 2023

With the new release of crates-index-diff I think this PR should be changed to take advantage of the new separation between crate-deletions and version-deletions. Thanks again to @syphar for implementing this.

@syphar syphar force-pushed the fix-version-delete branch from 822811a to efe3d0e Compare July 4, 2023 06:20
@syphar syphar force-pushed the fix-version-delete branch from efe3d0e to 538c0ff Compare July 4, 2023 06:40
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

LGTM!

@syphar syphar marked this pull request as ready for review July 5, 2023 05:40
@syphar syphar merged commit 84edb41 into rust-lang:master Jul 5, 2023
@syphar syphar deleted the fix-version-delete branch July 5, 2023 05:45
@syphar syphar added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it labels Jul 5, 2023
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