Revert "Remove the pear repository type from the JSON schema"

main
Jordi Boggiano 4 years ago committed by GitHub
parent fd6e13dddc
commit 91dcde2059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -640,6 +640,7 @@
{ "$ref": "#/definitions/vcs-repository" },
{ "$ref": "#/definitions/path-repository" },
{ "$ref": "#/definitions/artifact-repository" },
{ "$ref": "#/definitions/pear-repository" },
{ "$ref": "#/definitions/package-repository" }
]
},
@ -752,6 +753,28 @@
}
}
},
"pear-repository": {
"type": "object",
"required": ["type", "url"],
"properties": {
"type": { "type": "string", "enum": ["pear"] },
"url": { "type": "string" },
"canonical": { "type": "boolean" },
"only": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"vendor-alias": { "type": "string" }
}
},
"package-repository": {
"type": "object",
"required": ["type", "package"],

Loading…
Cancel
Save