Last modified: 2013-07-22 18:28:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44694, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42694 - Jenkins: Handle extension dependencies in mediawiki-extensions-* jobs
Jenkins: Handle extension dependencies in mediawiki-extensions-* jobs
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on: 30234
Blocks: 39950
  Show dependency treegraph
 
Reported: 2012-12-04 19:36 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-07-22 18:28 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-12-04 19:36:00 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2012-12-10 12:06:29 UTC
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
Comment 2 Antoine "hashar" Musso (WMF) 2012-12-14 13:55:08 UTC
The related Jenkins Job Builder fix for Wikibase is at https://gerrit.wikimedia.org/r/#/c/38528/
Comment 3 Antoine "hashar" Musso (WMF) 2013-01-29 15:13:09 UTC
I have setup a composer repository in labs:

http://integration-composer.instance-proxy.wmflabs.org/ (that URL will eventually disappear).

Some basic doc:
https://www.mediawiki.org/wiki/Composer#Our_own_repository
Comment 4 Antoine "hashar" Musso (WMF) 2013-07-22 18:28:52 UTC
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'.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links