GitLab Bot
ab5132651a
Add latest changes from gitlab-org/gitlab@master
2025-06-12 00:12:54 +00:00
GitLab Bot
ef2c517527
Add latest changes from gitlab-org/gitlab@master
2024-11-07 03:22:58 +00:00
GitLab Bot
ed0464bcf5
Add latest changes from gitlab-org/gitlab@master
2024-06-06 21:16:06 +00:00
GitLab Bot
c5410b1ae0
Add latest changes from gitlab-org/gitlab@master
2024-05-27 12:21:04 +00:00
GitLab Bot
f168fb05f0
Add latest changes from gitlab-org/gitlab@master
2024-05-09 15:10:48 +00:00
GitLab Bot
995fb1cd0f
Add latest changes from gitlab-org/gitlab@master
2024-05-02 18:11:29 +00:00
GitLab Bot
172e4a1274
Add latest changes from gitlab-org/gitlab@master
2024-01-17 06:07:23 +00:00
GitLab Bot
92de2642b3
Add latest changes from gitlab-org/gitlab@master
2023-12-18 09:14:26 +00:00
GitLab Bot
c283bdb7bc
Add latest changes from gitlab-org/gitlab@master
2023-12-13 09:12:51 +00:00
GitLab Bot
313ce461ca
Add latest changes from gitlab-org/gitlab@master
2023-12-06 03:14:51 +00:00
GitLab Bot
41ad919dfa
Add latest changes from gitlab-org/gitlab@master
2023-11-28 09:14:21 +00:00
GitLab Bot
aac7267643
Add latest changes from gitlab-org/gitlab@master
2023-11-20 00:11:21 +00:00
GitLab Bot
129d7ea3db
Add latest changes from gitlab-org/gitlab@master
2023-10-12 03:08:54 +00:00
GitLab Bot
5a61836cf3
Add latest changes from gitlab-org/gitlab@master
2023-07-26 06:10:21 +00:00
GitLab Bot
3ae3a2c23f
Add latest changes from gitlab-org/gitlab@master
2023-06-02 00:07:05 +00:00
GitLab Bot
41c4d7ff2a
Add latest changes from gitlab-org/gitlab@master
2023-05-20 09:07:08 +00:00
GitLab Bot
0122d00cac
Add latest changes from gitlab-org/gitlab@master
2022-12-16 18:09:43 +00:00
GitLab Bot
e750680e89
Add latest changes from gitlab-org/gitlab@master
2022-08-17 09:11:44 +00:00
GitLab Bot
8ed0a009f0
Add latest changes from gitlab-org/gitlab@master
2022-05-04 12:07:48 +00:00
GitLab Bot
fdc98c3e3c
Add latest changes from gitlab-org/gitlab@master
2022-01-24 18:14:42 +00:00
GitLab Bot
63b3a14f15
Add latest changes from gitlab-org/gitlab@master
2021-03-03 21:11:13 +00:00
GitLab Bot
a662b146ac
Add latest changes from gitlab-org/gitlab@master
2020-11-05 12:09:05 +00:00
GitLab Bot
a8caa9ce49
Add latest changes from gitlab-org/gitlab@master
2020-09-14 18:09:48 +00:00
GitLab Bot
71da5de44f
Add latest changes from gitlab-org/gitlab@master
2020-08-05 15:09:59 +00:00
GitLab Bot
f155cc9034
Add latest changes from gitlab-org/gitlab@master
2019-10-16 03:06:12 +00:00
George Koltsov
91353779bf
Add changelog entry
2019-08-12 11:16:17 +01:00
George Koltsov
1c2554bfd3
Add BitBucketServerImport project filtering
2019-08-12 11:16:17 +01:00
Yoginth
2f6a20ce66
Fix typos in the whole gitlab-ce project
2019-05-20 14:11:44 +00:00
Andrew Newdigate
3288e1a874
Adds the Rubocop ReturnNil cop
...
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02:00
Stan Hu
a0856cf7b9
Fix BitbucketServer::Client failing with Webmock 3.5.1
...
Webmock 3.1.0 changed the behavior to return `nil` for the body if an
HTTP 204 No Content response were received
(b837e64278
).
Update the Bitbucket Server connection to ignore these No Content
response codes.
2019-02-16 15:30:02 -08:00
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
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
39f252254b
Make sure there's only one slash as path separator
...
In Ruby 2.4, `URI.join("http://test// ", "a").to_s` will
remove the double slash, however it's not the case in
Ruby 2.5. Using chomp should work better for the intention,
as we're not trying to allow things like ../ or / paths
resolution.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
2018-11-09 15:36:45 -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
f2a99398bf
Use a case statement to determine pull request state
2018-08-02 14:45:54 -07:00
Stan Hu
aa5821e571
Assorted Bitbucket Server importer code cleanup based on review
2018-08-01 10:45:04 -07:00
Stan Hu
d2fd6d2351
Deal with subpaths and trailing slashes properly
2018-07-31 21:14:36 -07:00
Stan Hu
fc5df829bd
Use URI.join to avoid slash headaches
2018-07-31 13:22:40 -07:00
Stan Hu
dbef9f2151
Hide error details if there are none
2018-07-31 12:58:26 -07:00
Stan Hu
710d82104d
Track parental relationships in comments
2018-07-31 11:12:10 -07:00
Stan Hu
3cda8c93d8
Fix merge request SHA
2018-07-30 23:37:54 -07:00
Stan Hu
6408cd0020
Use raw_comment
2018-07-28 21:50:48 -07:00
Stan Hu
dd937377cf
Use a class method to consolidate timestamp conversion
2018-07-28 21:48:37 -07:00
Stan Hu
57d1b60f61
Handle invalid JSON from server
2018-07-27 14:29:05 -07:00
Stan Hu
450030e902
Add Accept header for JSON
2018-07-27 12:58:17 -07:00
Stan Hu
3f715bb438
Consolidate server errors and add specs
2018-07-26 23:05:22 -07:00
Stan Hu
7ee9c3c436
Use project key instead of project name for imports
2018-07-26 15:45:38 -07:00
Stan Hu
e52f6bf5f9
Fix failing spec
2018-07-25 22:32:10 -07:00
Stan Hu
f7a7a753a4
Add comment about why using `first`
2018-07-25 21:45:13 -07:00
Stan Hu
930b5e7a5b
Add spec for pull request comments and add comments
2018-07-25 21:39:52 -07:00