Stan Hu
660dcd5b7c
Fix Bitbucket Server importer error handling
...
The importer would display a 500 error page if you attempted to import
using a non-existent DNS entry. This commit rescues known network issues
and consolidates them into
BitbucketServer::Connection::ConnectionError`. The previous error
handling in the paginator doesn't work because it returns a lazy
collection.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56154
2019-01-12 22:14:08 -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
3f715bb438
Consolidate server errors and add specs
2018-07-26 23:05:22 -07:00
Stan Hu
4160a8dd81
Enable frozen_string_literal
2018-07-25 05:22:53 -07:00
Stan Hu
c793252e8b
Add support for deleting branches via the Bitbucket Server API
2018-07-13 15:39:24 -07:00
Stan Hu
15220291ae
Add spec for BitbucketServer::Connection
2018-07-12 22:33:36 -07:00
Stan Hu
d3c75ea4d9
Support creating a remote branch to import closed pull requests
2018-07-03 16:37:17 -07:00
Stan Hu
a4cbbfe465
Fix Rubocop complaints
2018-06-28 22:26:33 -07:00
Stan Hu
5728ffbf12
Import standalone pull request comments
2018-06-27 14:25:09 -07:00
Stan Hu
615e180799
More work towards importing pull requests
2018-06-26 15:59:47 -07:00
Stan Hu
7b94e805c7
Fix pull request URLs
2018-06-25 23:13:32 -07:00
Stan Hu
046a5e398d
More work towards supporting Bitbucket Server
2018-06-25 22:40:11 -07:00
Stan Hu
ebd8e4333a
WIP: Add support for Bitbucket Server imports
2018-06-25 13:06:10 -07:00