summaryrefslogtreecommitdiff
path: root/lib/gitlab/bitbucket_server_import/importer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot2021-09-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-2/+1
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-9/+62
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-13/+30
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-061-1/+0
|
* Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898GitLab Bot2019-12-161-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-131-10/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-191-1/+0
|
* Avoid calling freeze on already frozen strings in lib/gitlabdineshpanda2019-09-041-1/+1
|
* Fix issuables state_id nil when importing projects from GitHubFelipe Artur2019-05-061-0/+1
| | | | | | Issues and merge requests imported from GitHub are having state_id set to null. This fixes the GitHub project importer and schedule migrations to fix state_id.
* Run rubocop -aNick Thomas2019-03-131-23/+17
|
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-1/+1
| | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
* Fix import handling errors in Bitbucket Server importerStan Hu2019-01-181-2/+2
| | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20724 removed `Gitlab::Git::RepositoryMirroring::RemoteError`, but this was still being handled in the Bitbucket Server importer and only encountered if some exception other than `Gitlab::Shell::Error` were thrown.
* Remove unnecessary includes of ShellAdapterStan Hu2018-12-051-2/+0
| | | | | | | | | | Determined by running the script: ``` included = `git grep --name-only ShellAdapter`.chomp.split("\n") used = `git grep --name-only gitlab_shell`.chomp.split("\n") included - used ```
* Removes all the irrelevant import related code and columnsTiago Botelho2018-11-271-1/+1
| | | | | Clears the import related columns and code from the Project model over to the ProjectImportState model
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Add JSON logging for Bitbucket Server importerStan Hu2018-08-301-3/+60
| | | | Adds an importer.log so that it's easier to track what's happening with the import.
* Bitbucket Server importer: Eliminate most idle-in-transaction issuesStan Hu2018-08-261-8/+10
| | | | | | | | | | | Just like with the GitHub importer, the Bitbucket Server importer can hit the default 60 s idle-in-transaction timeouts if it takes too long to create the merge request. We solve this by using the same approach as the GitHub importer: 1. Bypass all validation and hooks in creating a merge request 2. Insert the Git data in a separate transaction Part of #50021
* Remove date from author line since that is already present in `created_at`Stan Hu2018-08-031-1/+1
|
* Add a comment when user can't be identifiedStan Hu2018-08-021-2/+10
|
* Fix failing spec in fallback diff note changeStan Hu2018-07-311-2/+2
|
* Improve formatting of fallback diff noteStan Hu2018-07-311-1/+6
|
* Fix bug where fallback diff notes would not have an associated positionStan Hu2018-07-311-3/+3
|
* Handle empty description fieldStan Hu2018-07-311-1/+1
|
* Give some context on threaded discussionsStan Hu2018-07-311-1/+9
|
* Fix Rubocop complaint about update_attributesStan Hu2018-07-311-1/+1
|
* Fix merge request SHAStan Hu2018-07-301-1/+1
|
* No need to look up commit SHA since Bitbucket has a full-length SHAStan Hu2018-07-301-2/+0
|
* Restrict to confirmed users and allow memoization of unkonwn e-mailsStan Hu2018-07-281-2/+2
|
* Remove merge request deletion codeStan Hu2018-07-201-2/+0
|
* Disable recovery of missing SHAs by defaultStan Hu2018-07-201-2/+9
|
* Fix and clean up code for deleting branchesStan Hu2018-07-181-20/+27
|
* Improve formatting of diff notes that could not be importedStan Hu2018-07-171-1/+1
|
* Some formatting cleanupStan Hu2018-07-171-7/+4
|
* Fallback to creating a note if DiffNote fails to importStan Hu2018-07-171-4/+22
|
* Code cleanup and test threaded discussionsStan Hu2018-07-171-16/+11
|
* Simplify user lookupsStan Hu2018-07-171-5/+4
|
* Remove unneeded methodStan Hu2018-07-171-4/+0
|
* Add tests for pull request commentsStan Hu2018-07-151-6/+9
|
* Fix assorted bugs and write spec for importing merge eventStan Hu2018-07-151-3/+5
|
* Delete temporary branches after an importStan Hu2018-07-131-0/+12
|
* Make Connection#post consistent with Connection#get and add specsStan Hu2018-07-121-5/+4
|
* Batch re-creating branches and fetching the remoteStan Hu2018-07-051-24/+51
|
* Reduce number of API requests and fix merge request eventsStan Hu2018-07-051-52/+43
|
* Assign merge event to ghost user if committer cannot be foundStan Hu2018-07-031-0/+7
|
* Support creating a remote branch to import closed pull requestsStan Hu2018-07-031-1/+57
|
* Add merge commit SHAStan Hu2018-07-011-2/+4
|
* Fix Rubocop complaintsStan Hu2018-06-281-1/+1
|