Skip to content

include download stats in sqlite query#314

Merged
blast-hardcheese merged 7 commits intomainfrom
dstewart/include-download-stats-in-sqlite-query
Dec 7, 2024
Merged

include download stats in sqlite query#314
blast-hardcheese merged 7 commits intomainfrom
dstewart/include-download-stats-in-sqlite-query

Conversation

@blast-hardcheese
Copy link
Contributor

@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
@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