Commit graph

5 commits

Author SHA1 Message Date
Stan Hu
a06b7a7d5d Fix Bitbucket Server import only including first 25 pull requests
The change to paginate repos in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22825 caused the
paginator to stop after 25 pull requests because the limit was set to 25
if none was defined. To fix this, we should only stop if the limit has
actually been set and use the limit parameter to determine the maximum
number of items to process per page.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55914
2019-01-06 21:13:00 -08:00
Stan Hu
5b6d5301d9 Paginate Bitbucket Server importer projects
To prevent delays in loading the page and reduce memory usage, limit the
number of projects shown at 25 per page.

Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/50021
2018-11-07 11:37:46 -08:00
Stan Hu
4160a8dd81 Enable frozen_string_literal 2018-07-25 05:22:53 -07:00
Stan Hu
12b031ce8f Fix pagination 2018-07-05 21:11:16 -07:00
Stan Hu
ebd8e4333a WIP: Add support for Bitbucket Server imports 2018-06-25 13:06:10 -07:00