Page MenuHomeSoftware Heritage

Improve heuristics for displaying README files
Closed, MigratedEdits Locked

Description

The current heuristics for picking the README file to render when visiting a repository is not optimal.

See for example:

  1. https://archive.softwareheritage.org/browse/origin/git/url/https://github.com/alandipert/ncsa-mosaic/directory/ We have README.resources.html rendered instead of README.md
  1. https://archive.softwareheritage.org/browse/origin/git/url/https://github.com/chrislgarry/Apollo-11/directory/ We have README.zh_tw.md rendered instead of README.md

it would be better to have this fixed before opening up the archive.