mediawiki/skins/MinervaNeue (main)

sourcepatches
$ date
Thu Nov 11 01:55:16 UTC 2021

$ git clone file:///srv/git/mediawiki-skins-MinervaNeue.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

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
955f1a3eee9404b6e1d60da8667eb6bf944d51db refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 34 installs, 0 updates, 0 removals
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing sebastian/diff (3.0.3): Loading from cache
  - Installing composer/spdx-licenses (1.5.5): Loading from cache
  - Installing composer/semver (3.2.6): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v37.0.0): Loading from cache
  - Installing tysonandre/var_representation_polyfill (0.1.1): Loading from cache
  - Installing symfony/polyfill-php80 (v1.23.1): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.23.1): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.23.1): Loading from cache
  - Installing symfony/polyfill-ctype (v1.23.0): Loading from cache
  - Installing symfony/string (v5.3.10): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.4.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.23.0): Loading from cache
  - Installing symfony/deprecation-contracts (v2.4.0): Loading from cache
  - Installing symfony/console (v5.3.10): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing sabre/event (5.1.4): Loading from cache
  - Installing netresearch/jsonmapper (v4.0.0): Loading from cache
  - Installing microsoft/tolerant-php-parser (v0.1.1): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.5.1): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.3.0): Loading from cache
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Loading from cache
  - Installing composer/xdebug-handler (2.0.2): Loading from cache
  - Installing phan/phan (5.2.0): Loading from cache
  - Installing mediawiki/phan-taint-check-plugin (3.3.2): Loading from cache
  - Installing mediawiki/mediawiki-phan-config (0.11.0): 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.3.1): Loading from cache
tysonandre/var_representation_polyfill suggests installing ext-var_representation (*)
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.14+ is recommended.)
phan/phan suggests installing ext-var_representation (Suggested for converting values to strings in issue messages)
Writing lock file
Generating autoload files
14 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading c:mediawiki/mediawiki-codesniffer from 37.0.0 -> 38.0.0
$ composer update
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 0 installs, 2 updates, 1 removal
  - Removing sebastian/diff (3.0.3)
  - Updating squizlabs/php_codesniffer (3.6.0 => 3.6.1): Loading from cache
  - Updating mediawiki/mediawiki-codesniffer (v37.0.0 => v38.0.0): Loading from cache
Writing lock file
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

{'MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment'}
Tests fail!
$ vendor/bin/phpcbf

PHPCBF RESULT SUMMARY
----------------------------------------------------------------------
FILE                                                  FIXED  REMAINING
----------------------------------------------------------------------
/src/repo/tests/phpunit/skins/SkinMinervaTest.php     1      0
----------------------------------------------------------------------
A TOTAL OF 1 ERROR WERE FIXED IN 1 FILE
----------------------------------------------------------------------

Time: 712ms; Memory: 14MB



$ git checkout .phpcs.xml

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer test
> parallel-lint . --exclude vendor --exclude node_modules
PHP 7.3.29 | 10 parallel jobs
.................................................            49/49 (100 %)


Checked 49 files in 0.2 seconds
No syntax error found
> phpcs -sp --cache
................................................. 49 / 49 (100%)


Time: 95ms; Memory: 8MB

> minus-x check .
MinusX
======
Processing /src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
................................................
All good!

Attempting to npm audit fix
$ npm audit fix --only=dev
npm ERR! code ENOAUDIT
npm ERR! audit Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable.
npm ERR! audit The server said: <!DOCTYPE html>
npm ERR! audit <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
npm ERR! audit <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
npm ERR! audit <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
npm ERR! audit <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
npm ERR! audit <head>
npm ERR! audit <meta http-equiv="refresh" content="0">
npm ERR! audit 
npm ERR! audit <title>prod-frontdoor-lb-west.internal.npmjs.com | 502: Bad gateway</title>
npm ERR! audit <meta charset="UTF-8" />
npm ERR! audit <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
npm ERR! audit <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
npm ERR! audit <meta name="robots" content="noindex, nofollow" />
npm ERR! audit <meta name="viewport" content="width=device-width,initial-scale=1" />
npm ERR! audit <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/main.css" type="text/css" media="screen,projection" />
npm ERR! audit 
npm ERR! audit 
npm ERR! audit </head>
npm ERR! audit <body>
npm ERR! audit <div id="cf-wrapper">
npm ERR! audit 
npm ERR! audit     
npm ERR! audit 
npm ERR! audit     <div id="cf-error-details" class="p-0">
npm ERR! audit         <header class="mx-auto pt-10 lg:pt-6 lg:px-8 w-240 lg:w-full mb-8">
npm ERR! audit             <h1 class="inline-block sm:block sm:mb-2 font-light text-60 lg:text-4xl text-black-dark leading-tight mr-2">
npm ERR! audit               
npm ERR! audit               <span class="cf-error-type">Error</span>
npm ERR! audit               <span class="cf-error-code">502</span>
npm ERR! audit             </h1>
npm ERR! audit             <span class="inline-block sm:block font-mono text-15 lg:text-sm lg:leading-relaxed">Ray ID: 6ac3e65e51bb5c7d &bull;</span>
npm ERR! audit             <span class="inline-block sm:block font-mono text-15 lg:text-sm lg:leading-relaxed">2021-11-11 01:55:42 UTC</span>
npm ERR! audit             <h2 class="text-gray-600 leading-1.3 text-3xl font-light">Bad gateway</h2>
npm ERR! audit         </header>
npm ERR! audit         
npm ERR! audit         <div class="my-8 bg-gradient-gray">
npm ERR! audit             <div class="w-240 lg:w-full mx-auto">
npm ERR! audit                 <div class="clearfix md:px-8">
npm ERR! audit                   
npm ERR! audit <div id="cf-browser-status" class=" relative w-1/3 md:w-full py-15 md:p-0 md:py-8 md:text-left md:border-solid md:border-0 md:border-b md:border-gray-400 overflow-hidden float-left md:float-none text-center">
npm ERR! audit   <div class="relative mb-10 md:m-0">
npm ERR! audit     <span class="cf-icon-browser block md:hidden h-20 bg-center bg-no-repeat"></span>
npm ERR! audit     <span class="cf-icon-ok w-12 h-12 absolute left-1/2 md:left-auto md:right-0 md:top-0 -ml-6 -bottom-4"></span>
npm ERR! audit   </div>
npm ERR! audit   <span class="md:block w-full truncate">You</span>
npm ERR! audit   <h3 class="md:inline-block mt-3 md:mt-0 text-2xl text-gray-600 font-light leading-1.3">Browser</h3>
npm ERR! audit   <span class="leading-1.3 text-2xl text-green-success">Working</span>
npm ERR! audit </div>
npm ERR! audit 
npm ERR! audit <div id="cf-cloudflare-status" class=" relative w-1/3 md:w-full py-15 md:p-0 md:py-8 md:text-left md:border-solid md:border-0 md:border-b md:border-gray-400 overflow-hidden float-left md:float-none text-center">
npm ERR! audit   <div class="relative mb-10 md:m-0">
npm ERR! audit     <span class="cf-icon-cloud block md:hidden h-20 bg-center bg-no-repeat"></span>
npm ERR! audit     <span class="cf-icon-ok w-12 h-12 absolute left-1/2 md:left-auto md:right-0 md:top-0 -ml-6 -bottom-4"></span>
npm ERR! audit   </div>
npm ERR! audit   <span class="md:block w-full truncate">Ashburn</span>
npm ERR! audit   <h3 class="md:inline-block mt-3 md:mt-0 text-2xl text-gray-600 font-light leading-1.3">Cloudflare</h3>
npm ERR! audit   <span class="leading-1.3 text-2xl text-green-success">Working</span>
npm ERR! audit </div>
npm ERR! audit 
npm ERR! audit <div id="cf-host-status" class="cf-error-source relative w-1/3 md:w-full py-15 md:p-0 md:py-8 md:text-left md:border-solid md:border-0 md:border-b md:border-gray-400 overflow-hidden float-left md:float-none text-center">
npm ERR! audit   <div class="relative mb-10 md:m-0">
npm ERR! audit     <span class="cf-icon-server block md:hidden h-20 bg-center bg-no-repeat"></span>
npm ERR! audit     <span class="cf-icon-error w-12 h-12 absolute left-1/2 md:left-auto md:right-0 md:top-0 -ml-6 -bottom-4"></span>
npm ERR! audit   </div>
npm ERR! audit   <span class="md:block w-full truncate">prod-frontdoor-lb-west.internal.npmjs.com</span>
npm ERR! audit   <h3 class="md:inline-block mt-3 md:mt-0 text-2xl text-gray-600 font-light leading-1.3">Host</h3>
npm ERR! audit   <span class="leading-1.3 text-2xl text-red-error">Error</span>
npm ERR! audit </div>
npm ERR! audit 
npm ERR! audit                 </div>
npm ERR! audit               
npm ERR! audit             </div>
npm ERR! audit         </div>
npm ERR! audit 
npm ERR! audit         <div class="w-240 lg:w-full mx-auto mb-8 lg:px-8">
npm ERR! audit             <div class="clearfix">
npm ERR! audit                 <div class="w-1/2 md:w-full float-left pr-6 md:pb-10 md:pr-0 leading-relaxed">
npm ERR! audit                     <h2 class="text-3xl font-normal leading-1.3 mb-4">What happened?</h2>
npm ERR! audit                     <p>The web server reported a bad gateway error.</p>
npm ERR! audit                 </div>
npm ERR! audit               
npm ERR! audit                 <div class="w-1/2 md:w-full float-left leading-relaxed">
npm ERR! audit                     <h2 class="text-3xl font-normal leading-1.3 mb-4">What can I do?</h2>
npm ERR! audit                     <p class="mb-6">Please try again in a few minutes.</p>
npm ERR! audit                 </div>
npm ERR! audit             </div>
npm ERR! audit               
npm ERR! audit         </div>
npm ERR! audit 
npm ERR! audit         <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
npm ERR! audit   <p class="text-13">
npm ERR! audit     <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">6ac3e65e51bb5c7d</strong></span>
npm ERR! audit     <span class="cf-footer-separator sm:hidden">&bull;</span>
npm ERR! audit     <span class="cf-footer-item sm:block sm:mb-1"><span>Your IP</span>: 185.15.56.1</span>
npm ERR! audit     <span class="cf-footer-separator sm:hidden">&bull;</span>
npm ERR! audit     <span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
npm ERR! audit     
npm ERR! audit   </p>
npm ERR! audit </div><!-- /.error-footer -->
npm ERR! audit 
npm ERR! audit 
npm ERR! audit     </div>
npm ERR! audit </div>
npm ERR! audit </body>
npm ERR! audit </html>
npm ERR! audit 
npm ERR! audit 

npm ERR! A complete log of this run can be found in:
npm ERR!     /cache/_logs/2021-11-11T01_55_47_720Z-debug.log

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1374, in main
    libup.run(args.repo, args.output, args.branch)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1318, in run
    self.npm_audit_fix(new_npm_audit)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 188, in npm_audit_fix
    self.check_call(['npm', 'audit', 'fix', '--only=dev'])
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/shell2.py", line 40, in check_call
    res.check_returncode()
  File "/usr/lib/python3.7/subprocess.py", line 428, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['npm', 'audit', 'fix', '--only=dev']' returned non-zero exit status 1.

composer dependencies

Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.