Skip to content

Gitlab Tree client implementation doesn't support pagination #158

@ranatrk

Description

@ranatrk

Describe the bug

  • Gitlab tree is implemented in a pull request.

  • The gitlab client uses the xanzy/go-gitlab module which doesn't support the pagination using keyset mentioned in the gitlab tree docs and gitlab keyset docs. This is based on an existing issue in xanzy/go-gitlab

  • The current maximum number of files retrieved from gitlab trees is 100 files per request.

To Reproduce

Retrieving a tree with more than 100 files+directories combined using the tree client

Expected behavior

Pagination implemented for gitlab tree list(either the user requesting following pages, or internally until all results are retrieved with a maximum number of pages used to limit recursivness)

Additional context

  • Go version: go1.18
  • Git provider: Implemented in pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions