v2.0.6
This update does not change any user facing functionality but will be used by khinsider-index.
For the unfamiliar, that repository that continually scans khinsider to build the index. The index is just a list of album names and URLs of where they live. When you use khinsider search
, that list is downloaded and powers the album list you see. Because the repo is updating the search index all the time, you're able to see the latest albums without continually downloading khinsider
all the time.
Anyway, some albums have the exact same name but different URLs. For example, there are three instances of 007 - NightFire
for Gamecube, Xbox and PS2.
Previously, this wasn't handled so the last would win. One version of the index might surface the Gamecube version while another would surface the Xbox version. This also creates an unnecessary number of index changes as the index is always seen as having "new" items each run.
This change updates the index to add the album slug to the album name so now instead of 007 - NightFire
, you would see 007 NightFire (007-nightfire-2002-ps2)
, 007 NightFire (007-nightfire-2002-xbox)
and 007 NightFire (007-nightfire-2002-gc)
Anyway, there is no need to actually update if you're a user. You'll benefit from this change to the search index the next time you run khinsider search
but as always, you can manually generate the index yourself via the hidden command khinsider index
.
The khinsider-index
repository has no hidden infrastructure behind the scenes as it just runs that command periodically.
That said, I may move the hosting of that file to my own site in future as Github will rate limit users after 60 requests/hour off the top of my head. The real fix is probably just to only check for an updated index once a day.
What's Changed
- Configure Renovate by @renovate in #19
- Add support for albums that share the same name by @marcus-crane in #23
New Contributors
Full Changelog: v2.0.5...v2.0.6