Page MenuHomePhabricator

Out of date Gerrit version of Skin:Chameleon causes CI build errors on Extension:StickyTOC
Open, Needs TriagePublic

Description

It appears that the version of Chameleon in Gerrit is running outdated version 3.0.0 -- which makes sense because it is archived. However, StickyTOC is also hosted in Gerrit, and lists Chameleon as a dependency.

Longer version:
NPM dependency updates won't pass a build for Extension:StickyTOC, because the version of Bootstrap is marked as too new. However, this version pinning was fixed in Chameleon 3.0.1, one version later than the WMF version. So I naively tried to require a later version, and got this error from the CI:

A dependency error was encountered while installing the extension "StickyTOC": StickyTOC is not compatible with the current installed version of chameleon (3.0.0), it requires: >= 4.0.
chameleon requires Bootstrap to be installed.

However, the upstream repo is at version 4.3.0. People on Mediawiki Discord helped me to identify the problem, but not how to fix it.

Can we fix, either by changing where Jenkins is pulling the repository source from, or by updating the archived repository? Or should we remove Extension:StickyTOC as unsupportable from within Gerrit?