版本库大写转小写,解决路径问题
This commit is contained in:
parent
9a9250f6e1
commit
2122a06608
|
@ -265,6 +265,7 @@ update
|
||||||
end
|
end
|
||||||
@repository.project = @project
|
@repository.project = @project
|
||||||
@repository.type = 'Repository::Gitlab'
|
@repository.type = 'Repository::Gitlab'
|
||||||
|
@repository.identifier = @repository.identifier.downcase
|
||||||
@repository.url = @repository.identifier
|
@repository.url = @repository.identifier
|
||||||
if request.post? && @repository.save
|
if request.post? && @repository.save
|
||||||
s = Trustie::Gitlab::Sync.new
|
s = Trustie::Gitlab::Sync.new
|
||||||
|
|
Loading…
Reference in New Issue