Skip to content

Feat: Added pagination

Kerri Miller requested to merge github/fork/sattellite/trunk into trunk

Created by: sattellite

Description Added pagination to all listing commands: pipeline list, mr list, mr view, label list, issue view issue list

Added options -p(--page) and -P(--per-page) for control API pagination.

Motivation and Context In my GL installation I have many issues and merge requests, but cannot view more than first 20 items (by GitLab API behaviour). API allow view more items by pagination and used API package supports pagination.

Test Tests was not added because project have not good tests at all.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports