Skip to content

Add pagination support for get_tree_entries RPC

What does this MR do?

Contributes to #334140 (closed)

MR with related Gitaly changes: gitaly!3611 (merged)

Based on the spike - !65628 (closed) (kudos to @stanhu)

Changes

  • Allow to pass pagination parameters to Gitaly get_tree_entries RPC.
  • Expose pagination cursor in Tree object.

Screenshots or Screencasts (strongly suggested)

The repository tree loads locally with changes applied

Screenshot_2021-07-23_at_13.23.18

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Vasilii Iakliushin

Merge request reports

Loading