-
Notifications
You must be signed in to change notification settings - Fork 237
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
Broken pagination function of Stash provider #166
Comments
We have not experienced any issues with the below logic, so we would kindly ask that you provide more details. For example, can you narrow it down to a subset of endpoints and can you describe in more detail the error message or problems you are experiencing as a result of the below logic? Also, are you experiencing this problem through your use of Drone, or are you using this library separately?
|
I use the Abstruse CI, which has code like this test: https://github.com/drone/go-scm/blob/master/scm/driver/stash/repo_test.go#L257
But i think this test is incorrect (reference data). Because in real Bitbucket Enterprise the API answer with pagination looks like this:
if we use the result of func
As you can see, server returns the same data as the first time. This is due to the fact that the value of the " A new data can be received using request:
|
Just a note that in your example the curl statement still has |
It's ok because
|
go-scm/scm/driver/stash/util.go
Lines 15 to 27 in f73f51e
Reference to docs https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html
The text was updated successfully, but these errors were encountered: