crates.io
crates.io copied to clipboard
Add `FixFeature2` background worker job
This job "fixes" the features2 entries by moving all features into feature2 if feature2 already has content. This should avoid a mismatch of features pointing to features2 for older cargo versions.
Related:
- https://github.com/rust-lang/crates.io/pull/6168/
It looks like this would affect 2049 files in the index, which is an uncomfortably large number. It would be good to get some data on how long that will affect the index update, particularly with a cached copy that hasn't been updated in a while (like sometime between Jan 13 and Feb 1 to be after the normalization commit).
:umbrella: The latest upstream changes (presumably #5066) made this pull request unmergeable. Please resolve the merge conflicts.