[Moved to GitLab: https://gitlab.wikimedia.org/repos/ci-tools/libup] Cloud VPS Library Upgrader

Clone this repo:

Branches

  1. 00f967e docker: Install php-yaml for translatewiki.net repo by Umherirrender · 1 year, 5 months ago master
  2. c7f6d38 Run npm ci with --legacy-peer-deps by Umherirrender · 1 year, 2 months ago
  3. da93a9c remove ^ from second version in is_greater_than_or_equal_to by Umherirrender · 1 year, 5 months ago
  4. 4d7601b Fix tests by Umherirrender · 1 year, 5 months ago
  5. 258283b Provide php-ast on the LibUp base image by James D. Forrester · 1 year, 6 months ago

To build the docker image: $ ./build.sh

To run libraryupgrader: $ docker run libraryupgrader libup-ng <repo> <output>

To output libraryupgrader help:

$ docker run libraryupgrader libup-ng -h
usage: libup-ng [-h] repo output [--branch BRANCH]

next generation of libraryupgrader

positional arguments:
  repo        Git repository
  output      Path to output results to

optional arguments:
  -h, --help  show this help message and exit
  --branch BRANCH  Git branch

To upgrade mediawiki/core (master branch): $ docker run libraryupgrader libup-ng mediawiki/core /tmp/libup

To upgrade mediawiki/core (REL1_35 branch): $ docker run libraryupgrader libup-ng mediawiki/core /tmp/libup --branch REL1_35