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
8177d89a
Commit
8177d89a
authored
Nov 26, 2018
by
Guilhem Saurel
Browse files
orphan cleaning
parent
d9be4a40
Pipeline
#1921
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 @
8177d89a
...
...
@@ -154,7 +154,8 @@ class Forge(Links, NamedModel):
for
orphan
in
Project
.
objects
.
filter
(
main_namespace
=
None
):
repo
=
orphan
.
repo_set
.
filter
(
forge__source
=
SOURCES
.
gitlab
).
first
()
update_gitlab
(
self
,
self
.
api_data
(
f
'/projects/
{
repo
.
forked_from
}
'
))
if
repo
:
update_gitlab
(
self
,
self
.
api_data
(
f
'/projects/
{
repo
.
forked_from
}
'
))
def
get_projects_redmine
(
self
):
pass
# TODO
...
...
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