Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Remove pagination limit on label copy #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

skwi
Copy link

@skwi skwi commented Mar 14, 2019

While transfering a large amount of labels, I found my self limited to 20 by the Gitlab API pagination.

This PR fixes this issue by fetching label with a page loop.

@matm matm added this to the v0.8 milestone Mar 16, 2019
@matm matm self-assigned this Mar 16, 2019
@matm
Copy link
Contributor

matm commented Mar 16, 2019

Thanks @skwi! Before I merge your patch, would you mind adding some UT using fakeClient and the gitlab.GitLaber interface? To validate the patch. Thanks!

@skwi
Copy link
Author

skwi commented Mar 18, 2019

Yes I will. I should be able to find time this week to write the UT.

To be honest, this is the first time I write code in Go so I need some time to find out why UT are now failing, but I'm working on it.

@matm
Copy link
Contributor

matm commented Mar 18, 2019

To be honest, this is the first time I write code in Go so I need some time to find out why UT are now failing, but I'm working on it.

No worries, thanks for your contribution.

@matm
Copy link
Contributor

matm commented Mar 4, 2023

Related to #53

@matm matm modified the milestones: v0.8.0, v0.8.1, v0.9.0 Mar 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants