-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Fix: Using the Latest GitHub Release type filter should return the release marked as latest #989
Conversation
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Proposal:
when "Latest: true" WDYT? |
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
that
That would be a better query as it would reduce the amount of information retrieved from the API which ultimately will benefit the api limit usage |
I was able to update the unit test (
On the main branch (commit 482425f)
Click to view the new content for the `pkg/plugins/scms/github/release_test.go` test file
Result of the test on the main branch (failing as expected because of the bug I described):
Result on this PR (commit c964768)
|
@dduportal Did you push the updated test somewhere ? Or should I copy paste the code from your example? |
Signed-off-by: Olblak <me@olblak.com>
I did not push anything: you have to copy and paste :) |
@dduportal Thanks for your UT suggestion |
Signed-off-by: Olblak <me@olblak.com>
Fix #969
Another approach than #988
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement