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

Correctly handle pagination for gitea api request #1220

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

olblak
Copy link
Member

@olblak olblak commented Mar 12, 2023

While working on the gitlab integration, I realize that I wasn't correctly handling pagination on gitea.
The reason is that during my tests, I have a lot less data on my gitea instance.
The consequence is that Updatecli wouldn't detect older information

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak changed the title correctly handle pagination for gitea api queries correctly handle pagination for gitea api request Mar 12, 2023
@olblak olblak modified the milestones: 0.46.0, 0.47.0 Mar 12, 2023
@olblak olblak changed the title correctly handle pagination for gitea api request Correctly handle pagination for gitea api request Mar 12, 2023
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak merged commit 53746a1 into updatecli:main Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant