diff options
author | Stan Hu <stanhu@gmail.com> | 2015-12-07 23:01:53 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-12-08 09:08:22 -0800 |
commit | 1d410ac96a96462d9f48ec4e43a4e819bbffdeee (patch) | |
tree | 5f91c8f248f5cf0ff77a193fbf2aa4e768574e2e /lib/tasks | |
parent | 54d0ff982b41cc6e362529530a8a36ca4934f376 (diff) | |
download | gitlab-ce-1d410ac96a96462d9f48ec4e43a4e819bbffdeee.tar.gz |
Update project repository size and commit count during import:repos task
Closes #3848
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/import.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake index c1ee271ae2b..1c04f47f08f 100644 --- a/lib/tasks/gitlab/import.rake +++ b/lib/tasks/gitlab/import.rake @@ -64,6 +64,8 @@ namespace :gitlab do if project.persisted? puts " * Created #{project.name} (#{repo_path})".green + project.update_repository_size + project.update_commit_count else puts " * Failed trying to create #{project.name} (#{repo_path})".red puts " Errors: #{project.errors.messages}".red |