thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
138 stars 28 forks source link

Implement PackageVersionManager as QuerySet and add listed_in filter #913

Closed anttimaki closed 11 months ago

anttimaki commented 12 months ago

Implement PackageVersionManager as QuerySet and add listed_in filter

Define Manager as a QuerySet to make the methods chainable by default. Add a new method for filtering PackageVersions by the Community where the related package is listed.

Refs TS-1980

anttimaki commented 12 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

codecov[bot] commented 12 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (17a2dde) 92.51% compared to head (2b0fbd1) 92.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #913 +/- ## ======================================= Coverage 92.51% 92.51% ======================================= Files 275 275 Lines 8132 8135 +3 Branches 771 771 ======================================= + Hits 7523 7526 +3 Misses 504 504 Partials 105 105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.