1
0
Fork 0

Update docs and schema for new config option

pull/1086/head
Jordi Boggiano 2012-09-08 00:44:19 +02:00
parent 5b419c76ca
commit 7023767501
2 changed files with 18 additions and 0 deletions

View File

@ -567,6 +567,9 @@ The following options are supported:
* **process-timeout:** Defaults to `300`. The duration processes like git clones * **process-timeout:** Defaults to `300`. The duration processes like git clones
can run before Composer assumes they died out. You may need to make this can run before Composer assumes they died out. You may need to make this
higher if you have a slow connection or huge vendors. higher if you have a slow connection or huge vendors.
* **github-protocols:** Defaults to `["git", "https", "http"]`. A list of
protocols to use for github.com clones, in priority order. Use this if you are
behind a proxy or have somehow bad performances with the git protocol.
* **notify-on-install:** Defaults to `true`. Composer allows repositories to * **notify-on-install:** Defaults to `true`. Composer allows repositories to
define a notification URL, so that they get notified whenever a package from define a notification URL, so that they get notified whenever a package from
that repository is installed. This option allows you to disable that behaviour. that repository is installed. This option allows you to disable that behaviour.

View File

@ -115,6 +115,21 @@
"bin-dir": { "bin-dir": {
"type": "string", "type": "string",
"description": "The location where all binaries are linked, defaults to \"vendor/bin\"." "description": "The location where all binaries are linked, defaults to \"vendor/bin\"."
},
"process-timeout": {
"type": "integer",
"description": "The timeout in seconds for process executions, defaults to 300 (5mins)."
},
"notify-on-install": {
"type": "boolean",
"description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true."
},
"github-protocols": {
"type": "array",
"description": "A list of protocols to use for github.com clones, in priority order, defaults to [\"git\", \"https\", \"http\"].",
"items": {
"type": "string"
}
} }
} }
}, },