GitLab Bot
e1f8f12bbe
Add latest changes from gitlab-org/gitlab@master
2020-06-19 15:08:39 +00:00
GitLab Bot
47579e24f3
Add latest changes from gitlab-org/gitlab@master
2020-05-27 21:08:05 +00:00
GitLab Bot
1eeef229aa
Add latest changes from gitlab-org/gitlab@master
2020-04-03 03:07:58 +00:00
GitLab Bot
154b9bae14
Add latest changes from gitlab-org/gitlab@master
2020-03-17 21:09:16 +00:00
GitLab Bot
5eb11b697d
Add latest changes from gitlab-org/gitlab@master
2020-01-06 18:08:01 +00:00
GitLab Bot
fb73ca3398
Add latest changes from gitlab-org/gitlab@master
2019-12-27 15:08:16 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
8cc5f27909
Add latest changes from gitlab-org/gitlab@master
2019-12-13 12:07:41 +00:00
GitLab Bot
25989ab7ef
Add latest changes from gitlab-org/gitlab@master
2019-10-18 11:11:44 +00:00
George Koltsov
23dfc5d606
Add code review suggestions
2019-08-12 15:05:49 +01:00
George Koltsov
ba429a6e20
Apply code review feedback
2019-08-08 13:16:33 +01:00
George Koltsov
5ba77a4999
Add author lines to project import comments
2019-08-07 14:01:40 +01:00
Stan Hu
30f52b690f
Avoid storing backtraces from Bitbucket Cloud imports in the database
...
We noticed in
https://gitlab.com/gitlab-com/gl-infra/production/issues/908 some
Bitbucket imports took over a second to load their projects row because
`import_error` was huge due to errors. To prevent this, we now:
1. Clean the backtraces
2. Log the details into importer.log
3. Omit the details from the database
2019-06-19 12:04:24 -07:00
Patrick Derichs
b145d9b873
Refactor spec to reload existing_label right after creation
...
This will avoid timestamp comparison issues later within equality check
with attributes
2019-05-08 12:39:54 +00:00
Nick Thomas
9f05e97aad
Run rubocop -a
2019-03-13 13:42:43 +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
a9ab6dbc63
Refactor use of Shell.import_repository for Wikis
...
The previous behavior would pass in a list of parameters
to Shell, but we can improve this by using the WikiFormatter
and Project models to give us the same information.
2019-02-05 21:33:09 -08:00
Stan Hu
82b6e5378a
Send project name with Gitaly repository requests
...
When hashed storage is in use, it's helpful to have the project
name associated with the request.
Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-02-05 21:33:09 -08:00
Tiago Botelho
4bd8a427d4
Removes all the irrelevant import related code and columns
...
Clears the import related columns and code from the Project
model over to the ProjectImportState model
2018-11-27 12:58:13 +00:00
gfyoung
e166e5747c
Enable some frozen string in lib/gitlab
...
Enable frozen string for the following files:
* lib/gitlab/auth/**/*.rb
* lib/gitlab/badge/**/*.rb
* lib/gitlab/bare_repository_import/**/*.rb
* lib/gitlab/bitbucket_import/**/*.rb
* lib/gitlab/bitbucket_server_import/**/*.rb
* lib/gitlab/cache/**/*.rb
* lib/gitlab/checks/**/*.rb
Partially addresses #47424 .
2018-10-13 02:31:31 -07:00
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
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