rust-lang / rust-lang/docs.rs

"Releases by Stars" should only show one crate per github repository

Open
#985 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-frontend E-medium mentor P-low
Dominant language
Rust
Stars
1.2k
Forks
232
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Thank you for providing this great site for the Rust ecosystem.
docs.rs has the page where is shows all releases sorted by Github stars. The pages have become so crowded that it is very hard to see anything in them anymore. As an admittedly extreme example, the pages from page 9 to page 210 contain different versions of the rustc-ap-* crates.

I see two problems there:

  1. The page lists all versions of the same crate and assigns them the same number of stars. This makes all the versions appear next to each other in the list. This just crowds the list without contributing much information.
  2. Some crates like the deno and rustc-ap-* ones are part of a collection of crates which are all managed in the same repository. As such they all have the same number of stars and appear next to each other in the list. This can also be on purpose. Grouping into some repository entry, which can list multiple crates could also be a solution.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the releases-by-stars entry point at releases/stars/9 and compare it with later pages such as releases/stars/210. The issue names no source files or tests; clarify whether the result should represent one crate or one GitHub repository, then consider the work done when duplicate versions and repository-related crates no longer crowd the listing.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, rust
Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.