Yorick Peterse
48cb1c5096
Restore GH enterprise support in the Rake task
...
This restores GH enterprise support in the GH import Rake task.
2017-11-08 21:20:46 +01:00
Yorick Peterse
ff082a003d
Fix the GH importer Rake task
...
This task was broken in a few areas with the removal of the old GitHub
importer code.
2017-11-08 18:17:27 +01:00
Yorick Peterse
6e242e8223
Replace old GH importer with the parallel importer
2017-11-07 23:25:03 +01:00
Rémy Coutable
f50b95b007
Ensure the import:github
task doesn't schedule an import job
...
The point of this task is to run the import in the foreground, so it
shouldn't schedule an import job!
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-05 10:48:26 +02:00
Rémy Coutable
80e4fee782
Don't mark the import as finished if it wasn't successful in the import:github
task
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-05 10:48:26 +02:00
Sean McGivern
5883ce95ef
current_application_settings
belongs on Gitlab::CurrentSettings
...
The initializers including this were doing so at the top level, so every object
loaded after them had a `current_application_settings` method. However, if
someone had rack-attack enabled (which was loaded before these initializers), it
would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't
have that method.
To fix this:
1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need
`Object.new.current_application_settings` to work.
2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it
like that in several places.
3. Change the initializers to use that new form.
2017-08-31 13:38:33 +01:00
Bob Van Landuyt
22ef4ba3a4
Migrate creation of nested groups into a service
2017-08-23 13:36:38 +02:00
Douglas Barbosa Alexandre
812620527f
Fix small typoe on GitHub import rake task
2017-08-07 13:06:12 -03:00
Douglas Barbosa Alexandre
51186e72c5
Use a custom root endpoint if defined on GH ominiauth provider settings
2017-08-07 13:06:12 -03:00
Douglas Barbosa Alexandre
81995317f9
Use project.import_url to fetch repositories from Github
2017-08-07 13:06:12 -03:00
Tiago Botelho
810866ecb6
backports changed import logic from pull mirroring feature into CE
2017-06-05 23:09:10 +01:00
Douglas Barbosa Alexandre
d082b78998
Add basic progress output to GitHub import
2017-04-25 23:47:49 -03:00
Douglas Barbosa Alexandre
f184cb433b
Fix undefined attribute params from import task
2017-04-25 23:19:30 -03:00
Douglas Barbosa Alexandre
e50606cd2d
Refactor rake task to to import GitHub repositores
2017-04-24 16:17:52 -03:00
Douglas Barbosa Alexandre
bf0717802f
Does not remove the GitHub remote when importing from GitHub
2017-04-18 00:22:33 +00:00
Douglas Barbosa Alexandre
d4058995da
Fix rake test to import Github repositories
2017-04-07 14:45:08 -03:00
James Lopez
fca0097c0f
Github import rake task
2017-04-06 12:47:40 +00:00