wikimedia/portals (main)

sourcepatches
$ date
Sat May 15 18:49:21 UTC 2021

$ git clone file:///srv/git/wikimedia-portals.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 'prod' (https://gerrit.wikimedia.org/r/wikimedia/portals/deploy) registered for path 'prod'
Cloning into '/src/repo/prod'...
Submodule path 'prod': checked out 'ae1009042ab69b0ea76ce04463cb917416567f94'

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
9319c967d23e365f905dd973c1ca14d1323146e5 refs/heads/master

Upgrading n:eslint-config-wikimedia from 0.17.0 -> 0.20.0
$ npm install

> iltorb@2.4.5 install /src/repo/node_modules/iltorb
> node ./scripts/install.js || node-gyp rebuild

info looking for cached prebuild @ /cache/_prebuilds/2a34dd-iltorb-v2.4.5-node-v64-linux-x64.tar.gz
info found cached prebuild 
info unpacking @ /cache/_prebuilds/2a34dd-iltorb-v2.4.5-node-v64-linux-x64.tar.gz
info unpack resolved to /src/repo/node_modules/iltorb/build/bindings/iltorb.node
info unpack required /src/repo/node_modules/iltorb/build/bindings/iltorb.node successfully
info install Successfully installed iltorb binary!

> phantomjs-prebuilt@2.1.16 install /src/repo/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...

Received 22866K total.
Extracting tar contents (via spawned process)
Removing /src/repo/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1621104763757/phantomjs-2.1.1-linux-x86_64 -> /src/repo/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /src/repo/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> pre-commit@1.2.2 install /src/repo/node_modules/pre-commit
> node install.js


> core-js@2.6.11 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js-bundle@3.6.5 postinstall /src/repo/node_modules/core-js-bundle
> node -e "try{require('./postinstall')}catch(e){}"


> core-js@3.12.1 postinstall /src/repo/node_modules/eslint-plugin-compat/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> spawn-sync@1.0.15 postinstall /src/repo/node_modules/spawn-sync
> node postinstall

npm WARN notsup Unsupported engine for eslint-plugin-wdio@7.4.2: wanted: {"node":">=12.0.0"} (current: {"node":"10.24.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: eslint-plugin-wdio@7.4.2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1840 packages from 1356 contributors and audited 1844 packages in 203.783s

105 packages are looking for funding
  run `npm fund` for details

found 444 vulnerabilities (3 low, 44 moderate, 395 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm update eslint -depth 10
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ eslint@7.26.0
added 11 packages from 10 contributors, removed 2 packages, updated 24 packages and audited 1853 packages in 107.414s

101 packages are looking for funding
  run `npm fund` for details

found 441 vulnerabilities (3 low, 44 moderate, 392 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

$ ./node_modules/.bin/eslint . --fix

Oops! Something went wrong! :(

ESLint: 7.26.0

Error: ELOOP: too many symbolic links encountered, stat '/src/repo/src/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal'
    at Object.statSync (fs.js:855:3)
    at statSafeSync (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:122:19)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:436:55)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)

$ ./node_modules/.bin/eslint . -f json

Oops! Something went wrong! :(

ESLint: 7.26.0

Error: ELOOP: too many symbolic links encountered, stat '/src/repo/src/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal'
    at Object.statSync (fs.js:855:3)
    at statSafeSync (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:122:19)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:436:55)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1197, 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 1140, in run
    self.npm_upgrade(plan)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 869, in npm_upgrade
    hook(update)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 952, in _handle_eslint
    './node_modules/.bin/eslint'] + files + ['-f', 'json'], ignore_returncode=True))
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.