Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GitLab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
projects.thm.de
GitLab
Commits
1d410ac9
Commit
1d410ac9
authored
Dec 07, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project repository size and commit count during import:repos task
Closes #3848
parent
54d0ff98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
CHANGELOG
CHANGELOG
+1
-0
lib/tasks/gitlab/import.rake
lib/tasks/gitlab/import.rake
+2
-0
No files found.
CHANGELOG
View file @
1d410ac9
...
...
@@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.3.0 (unreleased)
- Bump gollum-lib to 4.1.0 (Stan Hu)
- Fix broken group avatar upload under "New group" (Stan Hu)
- Update project repositorize size and commit count during import:repos task (Stan Hu)
- Fix API setting of 'public' attribute to false will make a project private (Stan Hu)
- Handle and report SSL errors in Web hook test (Stan Hu)
- Fix: Assignee selector is empty when 'Unassigned' is selected (Jose Corcuera)
...
...
lib/tasks/gitlab/import.rake
View file @
1d410ac9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment