Page MenuHomePhabricator

Jenkins: Handle extension dependencies in mediawiki-extensions-* jobs
Closed, ResolvedPublic

Description

Jeroen submitted a change adding a new Job for the Maps extension thought that is using the old system and it is not triggered by Zuul.

I could easily add the new job using the new Jenkins Job Builder but the extension depends upon Validator extension. I do not have yet a way to resolve extension dependency.

TranslateNotifications has a similiar issue, it requires Translate extension. Lot of i18n ext also require the cldr ext.

A possibility would be to start writing metadata files for Composer and reuse them with a home script that would find out the dependencies and fetch from our Gerrit install.


Version: unspecified
Severity: normal

Details

Reference
bz42694

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:46 AM
bzimport set Reference to bz42694.

Got a shell script workaround that would let us install a list of extension:

https://gerrit.wikimedia.org/r/#/c/37824/

Example usage:

fetch-mw-ext Diff,Validator

This is fixed with the shell script workaround and the ugly dependencies: parameter in JJB. To get a proper dependency system, follow up is on bug 30234 'Allow definition of extension dependencies'.