diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-25 23:47:49 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-25 23:47:49 -0300 |
commit | d082b78998d43349f6d0cbaeb90bb448aa1188c3 (patch) | |
tree | 441d3b85c44412863514ae24f48bf96f42ce497f /lib/tasks | |
parent | f184cb433b90e5b03d8a2ecf9916e7a1bfda5ee9 (diff) | |
download | gitlab-ce-d082b78998d43349f6d0cbaeb90bb448aa1188c3.tar.gz |
Add basic progress output to GitHub import
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/import.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake index e22424c98d3..bc76d7edc55 100644 --- a/lib/tasks/import.rake +++ b/lib/tasks/import.rake @@ -7,7 +7,7 @@ class GithubImport end def initialize(token, gitlab_username, project_path, extras) - @options = { url: 'https://api.github.com', token: token } + @options = { url: 'https://api.github.com', token: token, verbose: true } @project_path = project_path @current_user = User.find_by_username(gitlab_username) @github_repo = extras.empty? ? nil : extras.first @@ -28,7 +28,7 @@ class GithubImport private def show_warning! - puts "This will import GH #{@repo['full_name'].bright} into GL #{@project_path.bright} as #{@current_user.name}" + puts "This will import GitHub #{@repo['full_name'].bright} into GitLab #{@project_path.bright} as #{@current_user.name}" puts "Permission checks are ignored. Press any key to continue.".color(:red) STDIN.getch |