Commit Graph

73 Commits

Author SHA1 Message Date
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Stan Hu 8c467b9175 Fix Bitbucket Cloud importer omitting replies
Inline diff comments did not have the proper position, so even though
they had line codes the merge request validation would fail. Now
we cache the line position for each parent comment and use that.

Closes #50052
2018-08-07 14:34:25 -07:00
Ahmad Sherif ddfc661f79 Use shard name in Git::GitlabProjects instead of shard path
Closes gitaly#1110
2018-04-03 16:22:13 +02:00
Dmitriy Zaporozhets aeab4e6263
Use Project#full_name instead of name_with_namespace
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-03-07 16:07:09 +02:00
Nick Thomas f2977c63a8
Fix bitbucket wiki import with hashed storage enabled 2017-11-20 16:14:41 +00:00
Alejandro Rodríguez 9fdde3693b Move line code generation into Gitlab::Git
Having a distinct class just for that was a bit overkill
2017-10-12 22:13:05 -03:00
Alejandro Rodríguez faa9bd402d Create a Gitlab::Git submodule for conlict-related files
Rename classes to (hopefully) clearer names while we're doing that.
2017-10-12 22:03:15 -03:00
Alejandro Rodríguez f72598b659 Move Gitlab::Diff::LineCode to module Gitlab::Git 2017-10-12 21:45:16 -03:00
Douwe Maan c19d5ac1a2 Expand truncated Bitbucket pull request source/target SHA if possible 2017-09-25 10:22:28 +02:00
Gabriel Mazetto abb878326c Rename many path_with_namespace -> full_path 2017-08-01 07:26:58 +02:00
Valery Sizov 3bc114a7c1 [BB Importer] Save the error trace and the whole raw document 2017-04-11 19:27:15 +03:00
Dongqing Hu 6dd7695444 Labels support color names in backend 2017-03-29 11:45:15 +00:00
Valery Sizov 5b0ebbe5b4 Add Wiki import to BB importer 2016-12-19 20:48:08 +02:00
Douglas Barbosa Alexandre fe9a372c0b Fix import issues method 2016-12-16 19:11:48 -02:00
Douglas Barbosa Alexandre dbe2ac8ccc Fix rubucop offenses 2016-12-16 17:11:54 -02:00
Valery Sizov 7985b52286 BB importer: Adressed more review comments 2016-12-16 17:36:56 +02:00
Valery Sizov b0501c34c4 BB importer: address review comment 2016-12-16 15:40:38 +02:00
Valery Sizov 3b4e81eed5 BB importer: Milestone importer 2016-12-16 13:24:12 +02:00
Valery Sizov 26628fb91a BB importer: Fixed bug with putting expired token to a project.clone_url 2016-12-15 14:19:28 +02:00
Valery Sizov 6bbe2f118e BB importer: More advanced error handling 2016-12-14 15:18:30 +02:00
Valery Sizov 8f0cef0b6e BB importer: Refactoring user importing logic[ci skip] 2016-12-14 12:35:13 +02:00
Valery Sizov e39f024029 BB importer: Adding created_by only when used is not found[ci skip] 2016-12-13 21:28:07 +02:00
Valery Sizov ff2193a3db Fix specs 2016-12-09 19:40:22 +02:00
Valery Sizov cc30a9f7ed Fix rubocop[ci skip] 2016-12-09 17:25:45 +02:00
Valery Sizov 00cd864237 BitBucket importer: import issues with labels 2016-12-07 18:04:02 +02:00
Valery Sizov 98c0eb0f75 BitBucket refactoring. Iteration 3 2016-12-07 15:54:32 +02:00
Valery Sizov b12d654183 BitBuckpet importer. Refactoring. Iteration 2 2016-12-07 14:00:06 +02:00
Valery Sizov 67b7637e5d Apply review comments. Iteration 1 2016-12-07 11:33:32 +02:00
Valery Sizov ee8433466e Fix importing PRs with not existing branches 2016-12-06 17:12:11 +02:00
Valery Sizov 54221b5a3b Fix inline comment importing for 1:1 diff type 2016-12-05 21:14:46 +02:00
Stan Hu 7a155137a4 Fix spec for Bitbucket importer 2016-11-21 22:06:09 -08:00
Stan Hu 402cc95c1a Fix Bitbucket importer spec to pass with 2.0 API 2016-11-21 20:49:40 -08:00
Stan Hu b8bf28348f Rubocop fixes 2016-11-21 16:47:29 -08:00
Stan Hu ea393e6f30 Import pull request comments 2016-11-21 16:47:28 -08:00
Stan Hu 82d7a3a3dd Fix typos in pull requests failing to import 2016-11-21 16:47:28 -08:00
Stan Hu 9860488360 Fix missing Bitbucket ProjectController changes for specifying namespace/project 2016-11-21 16:47:28 -08:00
Douglas Barbosa Alexandre 704115c726 Import opened pull request from Bitbucket 2016-11-21 16:47:27 -08:00
Douglas Barbosa Alexandre 317b020932 Refactoring Bitbucket importer to use the new OAuth2 client 2016-11-21 16:47:26 -08:00
Douglas Barbosa Alexandre 3c756b83ef Remove client for the Bitbucket API version 1.0 2016-11-21 16:47:26 -08:00
Douglas Barbosa Alexandre 267e27b0cd Remove code to clone Bitbucket repositories using SSH 2016-11-21 16:47:26 -08:00
Douglas Barbosa Alexandre ceac7878e9 Clone Bitbucket repositories over HTTPS 2016-11-21 16:47:26 -08:00
Andrew Smith 9a9e22a88c
Rename `gl_user_id` to `gitlab_user_id` in importer classes 2016-09-08 11:57:22 +10:00
Robert Speicher 51c167eeb7 Enable Performance/RangeInclude cop and fix single offense 2016-05-23 13:10:42 -04:00
James Lopez 1322c981a0 create import data in service 2016-05-10 11:10:51 +02:00
James Lopez ce9310d63f fix var error 2016-04-27 09:28:08 +02:00
James Lopez a1a1d1f7de refactored create_or_update_import_data 2016-04-07 15:08:38 +02:00
James Lopez 15044e7d85 refactored a few things based on MR feedback 2016-04-07 15:00:20 +02:00
James Lopez b97654393e fix some issues with credentials 2016-04-06 10:36:30 +02:00
James Lopez 5e51fce4dc some refactoring to symbolise keys across importers and left a TODO 2016-04-05 15:41:15 +02:00
James Lopez 255cd31652 fixes after more import testing 2016-04-01 17:27:07 +02:00