loot / loot.github.io

The website and meta issue tracker.
https://loot.github.io
GNU General Public License v3.0
12 stars 9 forks source link

Masterlist search should search the default branch #44

Closed Ortham closed 8 years ago

Ortham commented 9 years ago

Right now the masterlist search page is searching the master branches, which are outdated. If the GitHub API can communicate which is the default branch, it should be searched, otherwise a dropdown branch selection should be provided.

Ortham commented 9 years ago

One other future improvement to the search functionality would be to use the Repository Contents API when/if the Skyrim masterlist shrinks below 1 MB, as it would only require 1 API call vs. 3 calls to the Git Data API.

Ortham commented 8 years ago

Done in 4600ac9f353cae66d2686aca961b58a3130f65be, the Skyrim masterlist is now < 1 MB so I can use the Contents API, which also uses the repo's default branch unless told otherwise.