2014-05-11 10:00:35 +00:00
|
|
|
{
|
|
|
|
|
"name": "mediawiki/core",
|
|
|
|
|
"description": "Free software wiki application developed by the Wikimedia Foundation and others",
|
|
|
|
|
"keywords": ["mediawiki", "wiki"],
|
|
|
|
|
"homepage": "https://www.mediawiki.org/",
|
|
|
|
|
"authors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "MediaWiki Community",
|
|
|
|
|
"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
|
|
|
|
|
}
|
|
|
|
|
],
|
2015-01-31 23:49:49 +00:00
|
|
|
"license": "GPL-2.0+",
|
2014-05-11 10:00:35 +00:00
|
|
|
"support": {
|
2014-12-11 20:54:59 +00:00
|
|
|
"issues": "https://bugs.mediawiki.org/",
|
2014-05-11 10:00:35 +00:00
|
|
|
"irc": "irc://irc.freenode.net/mediawiki",
|
|
|
|
|
"wiki": "https://www.mediawiki.org/"
|
|
|
|
|
},
|
|
|
|
|
"require": {
|
2016-07-10 20:44:18 +00:00
|
|
|
"composer/semver": "1.4.1",
|
2015-12-19 00:58:19 +00:00
|
|
|
"cssjanus/cssjanus": "1.1.2",
|
2016-04-06 23:30:41 +00:00
|
|
|
"ext-ctype": "*",
|
2015-02-23 15:03:24 +00:00
|
|
|
"ext-iconv": "*",
|
2016-04-06 23:30:41 +00:00
|
|
|
"ext-json": "*",
|
2016-01-29 19:42:44 +00:00
|
|
|
"ext-mbstring": "*",
|
2016-04-06 23:30:41 +00:00
|
|
|
"ext-xml": "*",
|
2015-11-23 00:37:33 +00:00
|
|
|
"liuggio/statsd-php-client": "1.0.18",
|
2015-09-18 18:52:43 +00:00
|
|
|
"mediawiki/at-ease": "1.1.0",
|
2016-09-13 18:48:04 +00:00
|
|
|
"oojs/oojs-ui": "0.17.9",
|
2016-02-06 18:14:16 +00:00
|
|
|
"oyejorge/less.php": "1.7.0.10",
|
2016-01-27 22:44:25 +00:00
|
|
|
"php": ">=5.5.9",
|
2014-10-30 18:21:34 +00:00
|
|
|
"psr/log": "1.0.0",
|
2015-04-22 16:46:29 +00:00
|
|
|
"wikimedia/assert": "0.2.2",
|
2015-10-29 22:56:07 +00:00
|
|
|
"wikimedia/base-convert": "1.0.1",
|
2016-05-30 04:21:00 +00:00
|
|
|
"wikimedia/cdb": "1.4.1",
|
2015-09-24 07:15:49 +00:00
|
|
|
"wikimedia/cldr-plural-rule-parser": "1.0.0",
|
2016-03-10 16:47:40 +00:00
|
|
|
"wikimedia/composer-merge-plugin": "1.3.1",
|
2016-04-12 20:20:20 +00:00
|
|
|
"wikimedia/html-formatter": "1.0.1",
|
2016-05-04 22:12:35 +00:00
|
|
|
"wikimedia/ip-set": "1.1.0",
|
2016-02-01 20:44:03 +00:00
|
|
|
"wikimedia/php-session-serializer": "1.0.3",
|
2015-09-23 01:35:38 +00:00
|
|
|
"wikimedia/relpath": "1.0.3",
|
2015-10-28 22:31:47 +00:00
|
|
|
"wikimedia/running-stat": "1.1.0",
|
2016-09-29 08:16:05 +00:00
|
|
|
"wikimedia/scoped-callback": "1.0.0",
|
2015-08-29 19:46:03 +00:00
|
|
|
"wikimedia/utfnormal": "1.0.3",
|
2016-07-21 00:54:04 +00:00
|
|
|
"wikimedia/wrappedstring": "2.2.0",
|
2015-12-19 00:28:26 +00:00
|
|
|
"zordius/lightncandy": "0.23"
|
2014-05-11 10:00:35 +00:00
|
|
|
},
|
|
|
|
|
"require-dev": {
|
2016-09-28 02:56:07 +00:00
|
|
|
"composer/spdx-licenses": "1.1.4",
|
2016-01-02 12:16:21 +00:00
|
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
Upgrade justinrainbow/json-schema to ~3.0
The release between 1.6.1 and 3.0.0 has a huge amount of code
maintenance changes, as well as internal optimization and some
"visible" changes (as well as the one mentioned in the linked
task).
However, it's a version jump over 2 major versions, which is,
by it's definition a major change ;). Nonetheless, the (for us)
important api has changed marginally: Instead of using the
JsonSchema\Uri\UriRetriever class to retrieve the schema, we now use
the $ref keyword to reference the json schema file (which also is
an internal optimization). In this way, we let the json-schema library
decide, how to resolve a ref (and the schema) instead of relying
on the UriRetriever api to be public and stable.
The versions also include various bug fixes (which, as far as I know,
doesn't apply to us).
I tested this change with various combinations of valid and invalid
extension.json schemas (version 2 as well as version 3). Given that
there were no major changes to the schema interpretation itself, and
the good test coverage of the library, there shouldn't be a high risk
because of this change.
The full list of changes can be found at:
https://github.com/justinrainbow/json-schema/compare/1.6.1...3.0.0
as well as the changelogs of the single versions:
https://github.com/justinrainbow/json-schema/releases
Bug: T141281
Depends-On: I5687286da9f7fa2bb2b84699fa43ab3c2547fe03
Change-Id: Ie37e2ebc48684783abf8d99d2f775ee6a5988da7
2016-08-15 17:36:00 +00:00
|
|
|
"justinrainbow/json-schema": "~3.0",
|
2016-05-28 12:04:37 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "0.7.2",
|
2016-04-02 20:52:02 +00:00
|
|
|
"monolog/monolog": "~1.18.2",
|
2016-08-15 06:00:27 +00:00
|
|
|
"nikic/php-parser": "2.1.0",
|
2015-12-19 00:59:10 +00:00
|
|
|
"nmred/kafka-php": "0.1.5",
|
2016-03-20 12:12:41 +00:00
|
|
|
"phpunit/phpunit": "4.8.24",
|
2015-09-27 05:16:10 +00:00
|
|
|
"wikimedia/avro": "1.7.7"
|
2014-05-11 10:00:35 +00:00
|
|
|
},
|
|
|
|
|
"suggest": {
|
2015-09-27 05:16:10 +00:00
|
|
|
"ext-apc": "Local data and opcode cache",
|
2015-08-14 18:04:47 +00:00
|
|
|
"ext-fileinfo": "Improved mime magic detection",
|
|
|
|
|
"ext-intl": "ICU integration",
|
|
|
|
|
"ext-wikidiff2": "Diff accelerator",
|
|
|
|
|
"monolog/monolog": "Flexible debug logging system",
|
Produce monolog messages through kafka+avro
This allows a logging channel to be configured to write
directly to kafka. Logs can be serialized either to json
blobs or the more compact apache avro format.
The Kafka handler for monolog needs a list of one of more
kafka servers to query cluster metadata from. This should be
able to use any monolog formatter, although some like
JsonFormatter require you to disable formatBatch as Kafka
protocol would prefer to encode each record independently in
the protocol. This requires the nmred/kafka-php library,
version >= 1.3.0.
Adds a new formatter which serializes to the apache avro
format. This is a compact binary format which uses pre-
defined schemas. This initial implementation is very simple
and takes the plain schemas as a constructor argument.
Adds a new option to MonologSpi to wrap handlers in a
BufferHandler. This doesn't flush until the request shuts
down and prevents any network requests in the logger from
adding latency to web requests.
Related mediawiki/vendor update: Ibfe4bd2036ae8e998e2973f07bd9a6f057691578
The necessary config is something like:
array(
'loggers' => array(
'CirrusSearchRequests' => array(
'handlers' => array( 'kafka' ),
),
),
'handlers' => array(
'kafka' => array(
'factory' => '\\MediaWiki\\Logger\\Monolog\\KafkaHandler::factory',
'args' => array( 'localhost:9092' ),
'formatter' => 'avro',
'buffer' => true,
),
),
'formatters' => array(
'avro' => array(
'class' => '\\MediaWiki\\Logger\\Monolog\\AvroFormatter',
'args' => array(
array(
'CirrusSearchRequests' => array(
'type' => 'record',
'name' => 'CirrusSearchRequests'
'fields' => array( ... )
),
),
),
),
),
)
Bug: T106256
Change-Id: I6ee744b3e5306af0bed70811b558a543eed22840
2015-08-04 18:02:47 +00:00
|
|
|
"nmred/kafka-php": "Send debug log events to kafka",
|
2015-08-14 18:04:47 +00:00
|
|
|
"pear/mail": "Mail sending support",
|
2015-08-14 18:58:04 +00:00
|
|
|
"pear/mail_mime": "Mail sending support",
|
Produce monolog messages through kafka+avro
This allows a logging channel to be configured to write
directly to kafka. Logs can be serialized either to json
blobs or the more compact apache avro format.
The Kafka handler for monolog needs a list of one of more
kafka servers to query cluster metadata from. This should be
able to use any monolog formatter, although some like
JsonFormatter require you to disable formatBatch as Kafka
protocol would prefer to encode each record independently in
the protocol. This requires the nmred/kafka-php library,
version >= 1.3.0.
Adds a new formatter which serializes to the apache avro
format. This is a compact binary format which uses pre-
defined schemas. This initial implementation is very simple
and takes the plain schemas as a constructor argument.
Adds a new option to MonologSpi to wrap handlers in a
BufferHandler. This doesn't flush until the request shuts
down and prevents any network requests in the logger from
adding latency to web requests.
Related mediawiki/vendor update: Ibfe4bd2036ae8e998e2973f07bd9a6f057691578
The necessary config is something like:
array(
'loggers' => array(
'CirrusSearchRequests' => array(
'handlers' => array( 'kafka' ),
),
),
'handlers' => array(
'kafka' => array(
'factory' => '\\MediaWiki\\Logger\\Monolog\\KafkaHandler::factory',
'args' => array( 'localhost:9092' ),
'formatter' => 'avro',
'buffer' => true,
),
),
'formatters' => array(
'avro' => array(
'class' => '\\MediaWiki\\Logger\\Monolog\\AvroFormatter',
'args' => array(
array(
'CirrusSearchRequests' => array(
'type' => 'record',
'name' => 'CirrusSearchRequests'
'fields' => array( ... )
),
),
),
),
),
)
Bug: T106256
Change-Id: I6ee744b3e5306af0bed70811b558a543eed22840
2015-08-04 18:02:47 +00:00
|
|
|
"pear/mail_mime-decode": "Mail sending support",
|
|
|
|
|
"wikimedia/avro": "Binary serialization format used with kafka"
|
2014-09-23 19:31:30 +00:00
|
|
|
},
|
|
|
|
|
"autoload": {
|
|
|
|
|
"psr-0": {
|
|
|
|
|
"ComposerHookHandler": "includes/composer"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2015-01-06 18:47:25 +00:00
|
|
|
"lint": "parallel-lint --exclude vendor",
|
2016-02-17 10:31:52 +00:00
|
|
|
"phpcs": "phpcs -p -s",
|
|
|
|
|
"fix": "phpcbf",
|
2015-09-27 05:16:10 +00:00
|
|
|
"pre-install-cmd": "ComposerHookHandler::onPreInstall",
|
|
|
|
|
"pre-update-cmd": "ComposerHookHandler::onPreUpdate",
|
2015-01-06 18:47:25 +00:00
|
|
|
"test": [
|
|
|
|
|
"composer lint",
|
|
|
|
|
"composer phpcs"
|
2015-09-27 05:16:10 +00:00
|
|
|
]
|
2014-12-02 17:19:18 +00:00
|
|
|
},
|
|
|
|
|
"config": {
|
2015-09-27 05:16:10 +00:00
|
|
|
"optimize-autoloader": true,
|
|
|
|
|
"prepend-autoloader": false
|
2014-12-30 23:42:32 +00:00
|
|
|
},
|
|
|
|
|
"extra": {
|
|
|
|
|
"merge-plugin": {
|
|
|
|
|
"include": [
|
|
|
|
|
"composer.local.json"
|
2015-11-06 22:11:35 +00:00
|
|
|
],
|
|
|
|
|
"merge-dev": false
|
2014-12-30 23:42:32 +00:00
|
|
|
}
|
2014-05-11 10:00:35 +00:00
|
|
|
}
|
|
|
|
|
}
|