Last modified: 2014-08-21 13:27:28 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 T43683, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41683 - Install PHP xdiff extension on gallium (PHPUnit skipping tests)
Install PHP xdiff extension on gallium (PHPUnit skipping tests)
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
: 68642 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-02 10:58 UTC by Chad H.
Modified: 2014-08-21 13:27 UTC (History)
6 users (show)

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


Attachments

Description Chad H. 2012-11-02 10:58:58 UTC
Right now we're skipping some tests since we don't have xdiff available to us. See for example: https://integration.mediawiki.org/ci/job/MediaWiki-Tests-Databaseless/8596/console

IIRC, it has to be done by hand, though. Install libxdiff, then compile the pecl extension.

http://www.xmailserver.org/xdiff-lib.html
http://www.php.net/manual/en/intro.xdiff.php
Comment 1 Antoine "hashar" Musso (WMF) 2012-11-02 11:43:56 UTC
We need to have the extension packages for Precise and uploaded to WMF apt repository. Can be done via some Debian helping script which creates packages out of pecl.  Will poke ops about it.
Comment 2 Antoine "hashar" Musso (WMF) 2012-12-03 07:43:18 UTC
Low priority, we do not use that extension on the cluster and most people do not have it anyway.
Comment 3 Leslie Carr 2013-04-18 18:39:01 UTC
If someone can package this for precise, we would be happy to install.
Comment 4 Chad H. 2013-04-18 18:50:16 UTC
Considering we don't use this ourselves, and very few third party users use it either, marking lowest priority.

(I'm wondering if we even need the feature at all, but that'd be another bug)
Comment 5 Antoine "hashar" Musso (WMF) 2013-04-18 19:23:21 UTC
I looked a bit at it. That requires libxdiff which is not packaged.  I dont think we should invest any time on that.

If we do not use xdiff, we might want to fill another bug to remove xdiff from MediaWiki core.
Comment 6 Leslie Carr 2013-04-18 20:50:22 UTC
+1

(In reply to comment #5)
> I looked a bit at it. That requires libxdiff which is not packaged.  I dont
> think we should invest any time on that.
> 
> If we do not use xdiff, we might want to fill another bug to remove xdiff
> from
> MediaWiki core.
Comment 7 Antoine "hashar" Musso (WMF) 2013-07-16 16:28:56 UTC
xdiff is used in mw/core by maintenance/storage/recompressTracked.php   Maybe we can find out a way to completely hide the skipped tests in Jenkins
Comment 8 Antoine "hashar" Musso (WMF) 2014-07-28 09:37:23 UTC
*** Bug 68642 has been marked as a duplicate of this bug. ***
Comment 9 Rainer Rillke @commons.wikimedia 2014-07-29 23:20:49 UTC
well i got it installed locally and it even worked -- https://www.mediawiki.org/wiki/Manual_talk:PHP_unit_testing/Installing_PHPUnit
Comment 10 Antoine "hashar" Musso (WMF) 2014-08-21 13:27:28 UTC
Probably nobody is going to package libxdiff / php-xdiff so we can get installed so I am closing this bug.  If there is anyone willing to actually handle the packaging grunt work and have the result uploaded on apt.wikimedia.org, it would then be trivial to have the PHP module on Jenkins servers.

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


Navigation
Links