-
Notifications
You must be signed in to change notification settings - Fork 209
Closed
Labels
E-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PRmentorThis has instructions for getting startedThis has instructions for getting started
Description
If I look at where match_version
is used, it's always followed by a query on the database fetching the rustdoc_status
.
- here we fetch rustdoc_status
: https://github.com/rust-lang/docs.rs/blob/master/src/web/releases.rs#L486
- here we fetch rustdoc_status
and target_name
: https://github.com/rust-lang/docs.rs/blob/master/src/web/rustdoc.rs#L160
Maybe we can change match_version
to expose some additional information that makes the next queries easier or, even better, unnecessary?
A simple tweak would be to return the id of the release, making the next query easier.
Originally posted by @koenaad in #565 (comment)
Metadata
Metadata
Assignees
Labels
E-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PRmentorThis has instructions for getting startedThis has instructions for getting started