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
57f19baa
Commit
57f19baa
authored
Apr 30, 2021
by
Guilhem Saurel
Browse files
accept upper case in slugs
parent
9966ce6e
Pipeline
#14257
passed with stage
in 3 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
57f19baa
...
...
@@ -1102,7 +1102,7 @@ def update_gitlab(forge, data):
'main_forge'
:
forge
,
'public'
:
public
})
namespace
,
_
=
Namespace
.
objects
.
get_or_create
(
slug
=
data
[
'namespace'
][
'path'
],
namespace
,
_
=
Namespace
.
objects
.
get_or_create
(
slug
__iexact
=
data
[
'namespace'
][
'path'
],
defaults
=
{
'name'
:
data
[
'namespace'
][
'name'
]})
repo
,
_
=
Repo
.
objects
.
get_or_create
(
forge
=
forge
,
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