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
d8c39df7
Commit
d8c39df7
authored
Jun 30, 2020
by
Guilhem Saurel
Browse files
ordered_projects / get_deps: sorted
parent
85ecb7e5
Pipeline
#9950
passed with stage
in 13 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
d8c39df7
...
...
@@ -1207,6 +1207,6 @@ def ordered_projects():
deps
=
[
dep_pkg
for
dep_cat
,
dep_pkg
,
_
in
lst
if
f
'
\n
include ../../
{
dep_cat
}
/
{
dep_pkg
}
/depend.mk
\n
'
in
cont
]
if
pkg
.
startswith
(
'py-'
)
and
(
cat
,
pkg
[
3
:],
ns
)
in
lst
:
deps
.
append
(
pkg
[
3
:])
return
list
(
set
(
deps
))
return
sorted
(
set
(
deps
))
return
[[
cat
,
pkg
,
ns
,
get_deps
(
cat
,
pkg
,
ns
,
lst
)]
for
cat
,
pkg
,
ns
in
lst
]
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