| commit | ae362d2f02a0590011da3aecc8ca8717022fa6c6 | [log] [tgz] |
|---|---|---|
| author | Reedy <reedy@wikimedia.org> | Wed Jul 15 17:13:51 2026 +0100 |
| committer | Reedy <reedy@wikimedia.org> | Wed Jul 15 17:13:51 2026 +0100 |
| tree | cb983726bc53df9bdd275ba9fce92c60ca8b52e3 | |
| parent | 16455db05b25e6c88344ac7549e725cc6bc0af2d [diff] |
Upgrading wikimedia/cldr-plural-rule-parser (v3.0.1 => v3.0.2) Bug: T425134 Change-Id: I1e977b665dea13ae1607065c988246c4fa987bb4
Composer managed libraries required or recommended for use with MediaWiki. This repository is maintained for use on the Wikimedia Foundation production and testing clusters, but may be useful for anyone wishing to avoid directly managing MediaWiki dependencies with Composer.
Checkout this library into $IP/vendor using git clone <URL> or add the repository as a git submodule using git submodule add <URL> vendor followed by git submodule update --init.
composer --version. Everyone using the same version means that diffs from the autoloader are minimal and so easier to validate and manually rebase. You can typically do this by running composer self-update 2.10.2 (possibly with sudo).composer require <package> <version> --no-update to do so as composer will then automatically sort the composer.json file.composer update --no-dev to download files and update the autoloader. We strongly recommend you this through Docker, both to avoid running untrusted code, and to exactly align with continous integration, via:docker run --rm -it -u "$(id -u):$(id -g)" -v "$PWD/.git:/src/.git:ro" -v "$PWD:/src" -w /src docker-registry.wikimedia.org/releng/composer-php83:8.3.32 update --no-dev
git diff \
<(git show @{u}:composer/installed.json | jq --raw-output '.packages[] | "\(.name): \(.version)"') \
<(jq --raw-output '.packages[] | "\(.name): \(.version)"' composer/installed.json)
export-ignoreing unwanted files in library's .gitattributes file), you can skip checking them in by listing them in .gitignore file.Note that you MUST pair patches changing versions of libraries used by MediaWiki itself with ones for the "core" repo. Specifically, the patch in mediawiki/core must have a Depends-On footer to the patch in mediawiki/vendor.
The vendor repo has special configuration, which skips the integrity checks and so allowing a circular dependency Gordian knot to be fixed. However, this means that, if merged alone without a pair, you'll cause ALL patches in MediaWiki and ALL extensions to fail their continuous integration tests.
If in doubt, seek advice from regular commiters to this repository.