$ date
Fri Mar 5 05:18:10 UTC 2021
$ git clone file:///srv/git/mediawiki-extensions-VisualEditor.git repo --depth=1 -b master
Cloning into 'repo'...
$ git config user.name libraryupgrader
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
$ git submodule update --init
Submodule 'lib/ve' (https://gerrit.wikimedia.org/r/VisualEditor/VisualEditor.git) registered for path 'lib/ve'
Cloning into '/src/repo/lib/ve'...
Submodule path 'lib/ve': checked out '3c56d0611fd9fcf85efd41513a2ae9dd4e42aaa0'
$ grr init
Installed commit-msg hook.
$ git show-ref refs/heads/master
738c3b3a344466fc4671847f09b0541714f188c9 refs/heads/master
$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 31 installs, 0 updates, 0 removals
- Installing squizlabs/php_codesniffer (3.5.8): Loading from cache
- Installing composer/spdx-licenses (1.5.5): Loading from cache
- Installing composer/semver (3.2.4): Loading from cache
- Installing mediawiki/mediawiki-codesniffer (v35.0.0): Loading from cache
- Installing symfony/polyfill-php80 (v1.22.1): Loading from cache
- Installing symfony/polyfill-mbstring (v1.22.1): Loading from cache
- Installing symfony/polyfill-intl-normalizer (v1.22.1): Loading from cache
- Installing symfony/polyfill-intl-grapheme (v1.22.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.22.1): Loading from cache
- Installing symfony/string (v5.2.4): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/service-contracts (v2.2.0): Loading from cache
- Installing symfony/polyfill-php73 (v1.22.1): Loading from cache
- Installing symfony/console (v5.2.4): Loading from cache
- Installing psr/log (1.1.3): Loading from cache
- Installing sabre/event (5.1.2): Loading from cache
- Installing netresearch/jsonmapper (v2.1.0): Loading from cache
- Installing microsoft/tolerant-php-parser (v0.0.23): Loading from cache
- Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
- Installing webmozart/assert (1.9.1): Loading from cache
- Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
- Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
- Installing felixfbecker/advanced-json-rpc (v3.2.0): Loading from cache
- Installing composer/xdebug-handler (1.4.5): Loading from cache
- Installing phan/phan (3.2.6): Loading from cache
- Installing mediawiki/phan-taint-check-plugin (3.2.1): Loading from cache
- Installing mediawiki/mediawiki-phan-config (0.10.6): Loading from cache
- Installing mediawiki/minus-x (1.1.1): Loading from cache
- Installing php-parallel-lint/php-console-color (v0.3): Loading from cache
- Installing php-parallel-lint/php-console-highlighter (v0.5): Loading from cache
- Installing php-parallel-lint/php-parallel-lint (v1.2.0): Loading from cache
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.8+ is recommended.)
Writing lock file
Generating autoload files
12 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Attempting to npm audit fix
$ npm audit fix --only=dev
> core-js@3.9.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> jpeg-recompress-bin@4.0.0 postinstall /src/repo/node_modules/jpeg-recompress-bin
> node lib/install.js
✔ jpeg-recompress pre-build test passed successfully
> gifsicle@4.0.1 postinstall /src/repo/node_modules/gifsicle
> node lib/install.js
✔ gifsicle pre-build test passed successfully
> guetzli@2.0.0 postinstall /src/repo/node_modules/guetzli
> node lib/install.js
⚠ Command failed: /src/repo/node_modules/guetzli/vendor/guetzli --verbose
Guetzli JPEG compressor. Usage:
guetzli [flags] input_filename output_filename
Flags:
--verbose - Print a verbose trace of all attempts to standard output.
--quality Q - Visual quality to aim for, expressed as a JPEG quality value.
--memlimit M - Memory limit in MB. Guetzli will fail if unable to stay under
the limit. Default is 6000 MB
--nomemlimit - Do not limit memory usage.
⚠ guetzli pre-build test failed
ℹ compiling from source
✔ guetzli built successfully
> mozjpeg@6.0.1 postinstall /src/repo/node_modules/mozjpeg
> node lib/install.js
✔ mozjpeg pre-build test passed successfully
> optipng-bin@6.0.0 postinstall /src/repo/node_modules/optipng-bin
> node lib/install.js
✔ optipng pre-build test passed successfully
> pngquant-bin@5.0.2 postinstall /src/repo/node_modules/pngquant-bin
> node lib/install.js
✔ pngquant pre-build test passed successfully
> zopflipng-bin@5.0.0 postinstall /src/repo/node_modules/zopflipng-bin
> node lib/install.js
✔ zopflipng pre-build test passed successfully
added 963 packages from 937 contributors in 64.1s
95 packages are looking for funding
run `npm fund` for details
fixed 0 of 1 vulnerability in 963 scanned packages
1 package update for 1 vulnerability involved breaking changes
(use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation
> core-js@3.9.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> zopflipng-bin@5.0.0 postinstall /src/repo/node_modules/zopflipng-bin
> node lib/install.js
✔ zopflipng pre-build test passed successfully
> pngquant-bin@5.0.2 postinstall /src/repo/node_modules/pngquant-bin
> node lib/install.js
✔ pngquant pre-build test passed successfully
> optipng-bin@6.0.0 postinstall /src/repo/node_modules/optipng-bin
> node lib/install.js
✔ optipng pre-build test passed successfully
> mozjpeg@6.0.1 postinstall /src/repo/node_modules/mozjpeg
> node lib/install.js
✔ mozjpeg pre-build test passed successfully
> jpeg-recompress-bin@4.0.0 postinstall /src/repo/node_modules/jpeg-recompress-bin
> node lib/install.js
✔ jpeg-recompress pre-build test passed successfully
> guetzli@2.0.0 postinstall /src/repo/node_modules/guetzli
> node lib/install.js
⚠ Command failed: /src/repo/node_modules/guetzli/vendor/guetzli --verbose
Guetzli JPEG compressor. Usage:
guetzli [flags] input_filename output_filename
Flags:
--verbose - Print a verbose trace of all attempts to standard output.
--quality Q - Visual quality to aim for, expressed as a JPEG quality value.
--memlimit M - Memory limit in MB. Guetzli will fail if unable to stay under
the limit. Default is 6000 MB
--nomemlimit - Do not limit memory usage.
⚠ guetzli pre-build test failed
ℹ compiling from source
✔ guetzli built successfully
> gifsicle@4.0.1 postinstall /src/repo/node_modules/gifsicle
> node lib/install.js
✔ gifsicle pre-build test passed successfully
added 963 packages in 55.506s
$ npm test
> visualeditor@0.0.0 test /src/repo
> grunt test
Running "jsduckcatconfig:main" (jsduckcatconfig) task
>> File ".jsduck/categories.json" written.
Running "buildloader:egiframe" (buildloader) task
>> File ".jsduck/eg-iframe.html" written.
Running "tyops:src" (tyops) task
>> No typos found; 350 files checked for 16 typos.
Running "eslint:all" (eslint) task
Running "stylelint:all" (stylelint) task
>> Linted 74 files without errors
Running "banana:all" (banana) task
>> 3 message directories checked.
Done.
$ git add .
$ git commit -F /tmp/tmpju5_yek8
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
.