1
0
Fork 0

Loosen the validation for the URL field of VCS repositories

The URL of the VCS repository may not match the uri pattern of the JSON
schema spec, for instance when using a SSH URL of the repository.
pull/6027/head
Christophe Coevoet 2017-01-02 16:23:29 +01:00
parent 5e8776ae12
commit 37505f40f4
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@
"required": ["type", "url"], "required": ["type", "url"],
"properties": { "properties": {
"type": { "type": "string", "enum": ["vcs", "github", "git", "gitlab", "git-bitbucket", "hg", "hg-bitbucket", "fossil", "perforce", "svn"] }, "type": { "type": "string", "enum": ["vcs", "github", "git", "gitlab", "git-bitbucket", "hg", "hg-bitbucket", "fossil", "perforce", "svn"] },
"url": { "type": "string", "format": "uri" }, "url": { "type": "string" },
"no-api": { "type": "boolean" }, "no-api": { "type": "boolean" },
"secure-http": { "type": "boolean" }, "secure-http": { "type": "boolean" },
"svn-cache-credentials": { "type": "boolean" }, "svn-cache-credentials": { "type": "boolean" },