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
20296086
Commit
20296086
authored
Feb 20, 2019
by
Guilhem Saurel
Browse files
debug everywhere
parent
55b6d3bc
Pipeline
#2905
passed with stages
in 1 minute and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0030_remove_project_debug.py
0 → 100644
View file @
20296086
# Generated by Django 2.1.4 on 2019-02-20 10:11
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0029_blank_suffix'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'project'
,
name
=
'debug'
,
),
]
rainboard/models.py
View file @
20296086
...
...
@@ -188,7 +188,6 @@ class Project(Links, NamedModel, TimeStampedModel):
updated
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
tests
=
models
.
BooleanField
(
default
=
True
)
docs
=
models
.
BooleanField
(
default
=
True
)
debug
=
models
.
BooleanField
(
default
=
False
)
from_gepetto
=
models
.
BooleanField
(
default
=
True
)
cmake_name
=
models
.
CharField
(
max_length
=
200
,
blank
=
True
,
null
=
True
)
archived
=
models
.
BooleanField
(
default
=
False
)
...
...
@@ -704,7 +703,7 @@ class Robotpkg(NamedModel):
def
update_images
(
self
):
py3s
=
[
False
,
True
]
if
self
.
name
.
startswith
(
'py-'
)
else
[
False
]
debugs
=
[
False
,
True
]
if
self
.
project
.
debug
else
[
False
]
debugs
=
[
False
,
True
]
for
target
in
Target
.
objects
.
active
():
for
py3
in
py3s
:
for
debug
in
debugs
:
...
...
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