Commit graph

16 commits

Author SHA1 Message Date
Nick Thomas
6b0c6e69e1
Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
Stan Hu
35d3411f77 Fix hooks not being set up properly for bare import Rake task
Closes #41739
2018-01-09 23:39:19 -08:00
Douglas Barbosa Alexandre
08de4746dc Refactoring Gitlab::BareRepositoryImport::Repository 2018-01-03 16:22:00 -02:00
Douglas Barbosa Alexandre
3f5403ab74 Remove unused variable from bare repository importer spec 2018-01-03 16:17:11 -02:00
Douglas Barbosa Alexandre
62ee2ccfcc Refactoring spec for Gitlab::BareRepositoryImport::Repository 2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre
58c2f3b579 Fix Repository#processable? to allow .git repos in the root folder 2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre
582678b5f5 Import directory tree created with hashed storage using import rake task 2018-01-03 16:13:32 -02:00
James Lopez
f2d4b24a94 refactor code to use new import type 2018-01-03 09:10:43 +01:00
James Lopez
54f00b7487 fix wiki check 2018-01-02 10:42:18 +01:00
James Lopez
9d0bceb3f0 add extra spec check 2018-01-02 10:42:18 +01:00
James Lopez
02276f7a70 Fix import scheduled on bare repo import 2018-01-02 10:42:18 +01:00
Stan Hu
f1eaab7bf1 Remove the need for destroy and add a comment in the spec 2017-12-10 23:41:28 -08:00
Stan Hu
86661a3a0b Use build instead of create in importer spec 2017-12-10 23:38:55 -08:00
Stan Hu
e8cced8077 Fix failing importer test case on MySQL due to missing trailing slash in root path 2017-12-08 16:48:24 -08:00
Stan Hu
78f7c3c8a2 Fix gitlab:import:repos Rake task moving repositories into the wrong location
If the source import directory were different from the destination directory,
GitLab would first create a blank repository and then erroneously move the
original one into a subdirectory. Adding an import type prevents this the project
from being initialized in the first place. It was accidentally removed in
1f917cbd49.

Closes #40765
2017-12-08 14:56:43 -08:00
James Lopez
1c8af321dd Improve GitLab Import rake task to work with Hashed Storage and Subgroups 2017-11-07 19:11:42 +00:00