1
0
Fork 0

Add the new repository options in the JSON schema

pull/8763/head
Christophe Coevoet 2020-04-10 13:40:02 +02:00 committed by GitHub
parent 40a35abb94
commit 4497046f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 79 additions and 1 deletions

View File

@ -650,6 +650,19 @@
"properties": { "properties": {
"type": { "type": "string", "enum": ["composer"] }, "type": { "type": "string", "enum": ["composer"] },
"url": { "type": "string" }, "url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"options": { "options": {
"type": "object", "type": "object",
"additionalProperties": true "additionalProperties": true
@ -664,6 +677,19 @@
"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" }, "url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"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" },
@ -684,6 +710,19 @@
"properties": { "properties": {
"type": { "type": "string", "enum": ["path"] }, "type": { "type": "string", "enum": ["path"] },
"url": { "type": "string" }, "url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"options": { "options": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -698,7 +737,20 @@
"required": ["type", "url"], "required": ["type", "url"],
"properties": { "properties": {
"type": { "type": "string", "enum": ["artifact"] }, "type": { "type": "string", "enum": ["artifact"] },
"url": { "type": "string" } "url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
}
} }
}, },
"pear-repository": { "pear-repository": {
@ -707,6 +759,19 @@
"properties": { "properties": {
"type": { "type": "string", "enum": ["pear"] }, "type": { "type": "string", "enum": ["pear"] },
"url": { "type": "string" }, "url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"vendor-alias": { "type": "string" } "vendor-alias": { "type": "string" }
} }
}, },
@ -715,6 +780,19 @@
"required": ["type", "package"], "required": ["type", "package"],
"properties": { "properties": {
"type": { "type": "string", "enum": ["package"] }, "type": { "type": "string", "enum": ["package"] },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"package": { "package": {
"oneOf": [ "oneOf": [
{ "$ref": "#/definitions/inline-package" }, { "$ref": "#/definitions/inline-package" },