Skip to content

Add progress, size, counts, and analytics to the repositories view

Created by: mike-r-mclaughlin

Feedback

It's difficult to see what's going on with repositories in the current view. Things that would help:

Repositories View (/site-admin/repositories)

  • Show repository sizes
  • When a repo is "cloning", show the progress. This along with the repository size in this view will help answer questions like "Why is this repo taking so long to clone?". Both of these are available by clicking on the repository but if you have many repos in the cloning state, this can be cumbersome.
  • Counts for each state
    • Discovered
    • Cloned
    • Indexed Right now it's difficult to get a bird's eye view of the "current state" (i.e., discovered 10,000 repositories, 5,000 have been cloned, and 2,500 have been indexed, etc.)

Repository Settings Page (/<repo>/settings)

  • Additional analytics about each repository
    • How often does this repo appear in search results
    • How often do people click on results from this repository These help admins determine if it's worth it for them to keep these repositories (i.e., a very large repo that never or rarely shows up in a search might be a candidate to exclude from Sourcegraph)

Customer

https://github.com/sourcegraph/accounts/issues/6716