Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include download stats in sqlite query #314

Merged

Conversation

blast-hardcheese
Copy link
Collaborator

@blast-hardcheese blast-hardcheese commented Dec 7, 2024

Why

In an attempt to make the fallback a little nicer without ballooning the database too much, let's include download_count so we can impose some sort of sensible ordering.

I added some heuristics to the query builder to make it feel a little better to use with imprecise queries.

What changed

Add ordering sqlite fallback by download_count

Test plan

CI

@blast-hardcheese blast-hardcheese requested a review from a team as a code owner December 7, 2024 03:26
@blast-hardcheese blast-hardcheese requested review from ryantm and removed request for a team December 7, 2024 03:26
@blast-hardcheese blast-hardcheese force-pushed the dstewart/include-download-stats-in-sqlite-query branch from 1919a90 to 567192e Compare December 7, 2024 04:15
@blast-hardcheese blast-hardcheese force-pushed the dstewart/include-download-stats-in-sqlite-query branch from d720f69 to bcb40b5 Compare December 7, 2024 05:42
@blast-hardcheese blast-hardcheese merged commit f0410f0 into main Dec 7, 2024
5 checks passed
@blast-hardcheese blast-hardcheese deleted the dstewart/include-download-stats-in-sqlite-query branch December 7, 2024 05:54
@blast-hardcheese blast-hardcheese added the enhancement New feature or request label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants