aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.56k stars 374 forks source link

repo and snapshots packages filter api add 'maximumVersion' query parameter support #1285

Closed neolynx closed 3 months ago

neolynx commented 5 months ago

repo and snapshots packages filter api add 'maximumVersion' query parameter support

example: curl http://localhost:8080/api/repos/test/packages\?maximumVersion\=1

Change-Id: Ie9ffd36146bf017bbb353737f32360f7b73d6b0a

Replaces #1088

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Description of the Change

Checklist

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 8.69565% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 74.74%. Comparing base (8d09c20) to head (b7e3e3e). Report is 1 commits behind head on master.

Files Patch % Lines
api/api.go 8.69% 20 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1285 +/- ## ========================================== - Coverage 74.79% 74.74% -0.05% ========================================== Files 144 144 Lines 16256 16271 +15 ========================================== + Hits 12158 12162 +4 - Misses 3156 3169 +13 + Partials 942 940 -2 ```

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