-
Notifications
You must be signed in to change notification settings - Fork 619
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
Remove version_authors and clean up old data #3549
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
12dd95d
to
6f50210
Compare
Clean up front end data
1e64a7f
to
10c9445
Compare
Can you help with the patch file issue? I'm actually tempted to delete the patch file as it doesn't seem to be helping us? Because since we don't update it every time, it must be expired? Or do I still have a misunderstanding of how patch file works? |
Pushed a commit on your branch fixing the patch!
The patching tool is quite smart, and in most cases it will adapt to other @@ -1016,6 +1031,7 @@
joinable!(publish_limit_buckets -> users (user_id));
joinable!(publish_rate_overrides -> users (user_id));
joinable!(readme_renderings -> versions (version_id));
+joinable!(recent_crate_downloads -> crates (crate_id));
joinable!(version_authors -> versions (version_id));
joinable!(version_downloads -> versions (version_id));
joinable!(version_owner_actions -> api_tokens (api_token_id)); The patching tool will apply this patch (adding the highlighted line) relative to the three lines above and below it. As long as those three lines above and below are not changed the tool will be able to apply the patch even if the rest of the file completely changes. The problem here is that one of the lines below did change, as you removed the To fix this issue, in my commit I had to remove the @@ -1016,6 +1031,7 @@
joinable!(publish_limit_buckets -> users (user_id));
joinable!(publish_rate_overrides -> users (user_id));
joinable!(readme_renderings -> versions (version_id));
+joinable!(recent_crate_downloads -> crates (crate_id));
joinable!(version_downloads -> versions (version_id));
joinable!(version_owner_actions -> api_tokens (api_token_id));
joinable!(version_owner_actions -> users (user_id)); If you have more questions around this just ask! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving the rest of the review back to Carol. r? @carols10cents
Co-authored-by: Pietro Albini <[email protected]>
@pietroalbini It's working well. Thanks! |
Thank you so much! |
📌 Commit 70c8e2a has been approved by |
☀️ Test successful - checks-actions |
close rust-lang/rust#83227