homebrewhub
homebrewhub copied to clipboard
Add ordering by release date
Add the possibility to order results by release date.
How should entries without a release date be treated? Use the date of the commit that introduced them in the database?
I think a good first step is calculating how many entries don't have a release date. If there's not that many, it could be worth to try and manually find release dates (or estimates) and contribute these to the database. Otherwise, I would consider having the release date as null as having them appear at the end, sorted by title or similar.
I think a good first step is calculating how many entries don't have a release date. If there's not that many, it could be worth to try and manually find release dates (or estimates) and contribute these to the database. Otherwise, I would consider having the release date as
nullas having them appear at the end, sorted by title or similar.
Let me clarify this a bit:
- This issue is about adding the functionality on the API to sort by the release date field, which is something well defined in the game schema. Nothing more, no populating or inputting data involved.
- A lot (probably most) of the entries have no release date set in their game.json in the database repository. "To try and manually find release dates" is a major task that requires a huge commitment. What we could do there is open some kind of issues to promote this type of work, on the database repository.
- My suggestion here was to add an additional field (which can be computed from the database git data) which exposes when the entry was first added to the git repository. Some kind of "Released on Homebrew Hub".