Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f33707d5
Commit
f33707d5
authored
Jul 01, 2019
by
Markus Koller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix call to removed GitPushService
parent
83271d42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
db/fixtures/development/17_cycle_analytics.rb
db/fixtures/development/17_cycle_analytics.rb
+7
-5
No files found.
db/fixtures/development/17_cycle_analytics.rb
View file @
f33707d5
...
...
@@ -146,11 +146,13 @@ class Gitlab::Seeder::CycleAnalytics
commit_sha
=
issue
.
project
.
repository
.
create_file
(
@user
,
filename
,
"content"
,
message:
"Commit for
#{
issue
.
to_reference
}
"
,
branch_name:
branch_name
)
issue
.
project
.
repository
.
commit
(
commit_sha
)
GitPushService
.
new
(
issue
.
project
,
@user
,
oldrev:
issue
.
project
.
repository
.
commit
(
"master"
).
sha
,
newrev:
commit_sha
,
ref:
'refs/heads/master'
).
execute
Git
::
BranchPushService
.
new
(
issue
.
project
,
@user
,
oldrev:
issue
.
project
.
repository
.
commit
(
"master"
).
sha
,
newrev:
commit_sha
,
ref:
'refs/heads/master'
).
execute
branch_name
end
...
...
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