-
Notifications
You must be signed in to change notification settings - Fork 198
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
Re-generate docs for dependents on generic-array v0.14 #2528
Comments
Some first notes before I can dig deeper: first of all: when we have a list of crate names & exact versions, then we can totally trigger a rebuild for them. For generating that list, our docs.rs database is not very well fitted. While we store the dependencies of each release, it's just a JSON blob so (right now) can't be queried efficiently. So for generating that list we would probably look at the crates.io API or database. One other thing to keep in mind: |
I think the crates.io reverse dependencies list is the right point to start. |
Using the crates.io API I generated the list of releases, @newpavlov can you confirm that the list is fine? Then I'll trigger the rebuilds. Releases that depend on any 0.14 version, taking semver into account
|
@syphar Ideally, we need to re-generate docs for crates which expose If we are fine with resolving this issue only for RustCrypto crates, then one option is to re-generate docs only for crates which have a RustCrypto group owner (e.g. |
🤦 I didn't think about dependencies of dependencies. I'm not sure if doing the crates.io query recursively would even finish. And with semver, would take quite some time to figure out correctly.
Sadly that kind of query is not possible yet (-> #1467).
fine with me for now. Can you confirm that list? releases for these owners with failed build status
SQL statement used (for me)
|
You don't need the "build-status is failed" check (but you need to filter pre versions). The problematic docs are generated properly, they just don't have links generated for |
which? without the build status filter I'm getting 2676 releases, which we could rebuild, but I would prefer having a filter. |
For example, with |
coming back to open issues. I can queue rebuilds for any list of (name, version). To safe us some back and forth around the list I would propose you generate that list, for example based on the crates.io database dump, which has all crates & their dependencies. Or should we just wait for crate authors to ping us? |
Sorry for the late reply! Here is a manually compiled list. It's far from being complete, but should cover most visible crates.
|
I queued the rebuilds. Versions that didn't exist:
|
progress here: https://docs.rs/releases/queue |
Fixed list:
|
queued rebuilds for all three |
Thank you! |
A big number of RustCrypto crates was affected by rust-lang/rust#120983 The bug was fixed, but many crates are still affected since no new releases were uploaded since. For example, see docs for
sha2::Digest
. Since we are currently preparing the next release cycle, we do not plan to publish new patch versions for many affected crates.Would it be possible to re-generate docs for all dependents of generic-array v0.14? The number of affected crates is too big to create this list manually.
The text was updated successfully, but these errors were encountered: