Commit graph

19 commits

Author SHA1 Message Date
Thong Kuah
f540ffcef6 Add frozen_string_literal to spec/lib (part 1)
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:25:07 +12:00
Felipe Artur
c40bad741f Fix issuables state_id nil when importing projects from GitHub
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.
2019-05-06 19:45:17 +00:00
Stan Hu
100b050b99 Fix import handling errors in Bitbucket Server importer
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.
2019-01-18 15:54:24 -08:00
Stan Hu
d8ce4f942b Remove date from author line since that is already present in created_at 2018-08-03 06:07:37 -07:00
Stan Hu
61f5c2e38c Add a comment when user can't be identified 2018-08-02 15:52:11 -07:00
Stan Hu
db4ff688da Fix failing spec in fallback diff note change 2018-07-31 15:38:14 -07:00
Stan Hu
2aa4d7f10f Fix bug where fallback diff notes would not have an associated position 2018-07-31 14:30:01 -07:00
Stan Hu
0085b76fb3 Give some context on threaded discussions 2018-07-31 11:33:37 -07:00
Stan Hu
3cda8c93d8 Fix merge request SHA 2018-07-30 23:37:54 -07:00
Stan Hu
69fe32a51c Disable recovery of missing SHAs by default 2018-07-20 09:45:59 -07:00
Stan Hu
2b9ec17e04 Fix Rubocop offenses 2018-07-19 05:36:31 -07:00
Stan Hu
9b584a59e3 Add spec for restore and deleting temp branches 2018-07-19 04:18:57 -07:00
Stan Hu
a19a5b57e4 Improve formatting of diff notes that could not be imported 2018-07-17 21:42:07 -07:00
Stan Hu
099f9fcd13 Fallback to creating a note if DiffNote fails to import 2018-07-17 15:48:01 -07:00
Stan Hu
da02df04ec Code cleanup and test threaded discussions 2018-07-17 15:01:33 -07:00
Stan Hu
adc06476a3 Add spec for importing a DiffNote 2018-07-17 13:42:00 -07:00
Stan Hu
11dd390c11 Add tests for pull request comments 2018-07-15 22:07:39 -07:00
Stan Hu
57c9a89313 Fix assorted bugs and write spec for importing merge event 2018-07-15 15:36:18 -07:00
Stan Hu
1d03ff9308 Add first rev of Bitbucket Server importer test 2018-07-15 14:24:16 -07:00