1
0
Fork 0

Merge pull request #8794 from composer/revert-8792-patch-3

Revert "Remove the pear repository type from the JSON schema"
pull/8790/head
Jordi Boggiano 2020-04-15 14:09:54 +02:00 committed by GitHub
commit 94372efde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -640,6 +640,7 @@
{ "$ref": "#/definitions/vcs-repository" }, { "$ref": "#/definitions/vcs-repository" },
{ "$ref": "#/definitions/path-repository" }, { "$ref": "#/definitions/path-repository" },
{ "$ref": "#/definitions/artifact-repository" }, { "$ref": "#/definitions/artifact-repository" },
{ "$ref": "#/definitions/pear-repository" },
{ "$ref": "#/definitions/package-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": { "package-repository": {
"type": "object", "type": "object",
"required": ["type", "package"], "required": ["type", "package"],