Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
656fe26d
Commit
656fe26d
authored
Nov 26, 2018
by
Guilhem Saurel
Browse files
id in data["forked_from_project"]
parent
bf9f39be
Pipeline
#1919
passed with stages
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
656fe26d
...
...
@@ -898,7 +898,7 @@ def update_gitlab(forge, data):
repo
.
default_branch
=
data
[
'default_branch'
]
repo
.
description
=
data
[
'description'
]
# TODO license (https://gitlab.com/gitlab-org/gitlab-ce/issues/28267), open_pr
if
'forked_from_project'
in
data
:
if
'forked_from_project'
in
data
and
'id'
in
data
[
'forked_from_project'
]
:
repo
.
forked_from
=
data
[
'forked_from_project'
][
'id'
]
elif
created
or
project
.
main_namespace
is
None
:
project
.
main_namespace
=
namespace
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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