Last modified: 2014-07-28 08:21:26 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 T66513, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64513 - ResourceLoader: Add test to ensure all dependencies have the same targets
ResourceLoader: Add test to ensure all dependencies have the same targets
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.24rc
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-27 18:31 UTC by Umherirrender
Modified: 2014-07-28 08:21 UTC (History)
4 users (show)

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


Attachments

Description Umherirrender 2014-04-27 18:31:59 UTC
When a resourceloader module has target 'mobile', all its dependencies must also have target 'mobile'.
Please add a test to ensure this. Thanks.
Same for desktop and mabye for future targets, we are not aware right now.

See Gerrit change #125426 and Gerrit change #129977, where a new module does not have the target and breaks MobileFrontend.

Feel free to move it to the right component or close it, when not relevant.
Comment 1 Krinkle 2014-04-27 18:34:23 UTC
Sounds good.
Comment 2 Gerrit Notification Bot 2014-04-27 22:59:06 UTC
Change 130024 had a related patch set (by Bartosz Dziewoński) published:
ResourceLoader: Test that no modules have unfulfillable dependency targets

https://gerrit.wikimedia.org/r/130024
Comment 3 Gerrit Notification Bot 2014-04-28 21:38:43 UTC
Change 130024 abandoned by Bartosz Dziewoński:
ResourceLoader: Test that no modules have unfulfillable dependency targets

https://gerrit.wikimedia.org/r/130024
Comment 4 Jon 2014-04-28 23:41:52 UTC
Bartosz thanks for having a go. I agree this would be something useful to have - if not a bit tricky to realise :)

Essentially you'd have to go through every module and then resolve every dependency (including parents of dependencies) to ensure it has the same set of targets.
Comment 5 Gerrit Notification Bot 2014-06-26 17:29:43 UTC
Change 130024 restored by Bartosz Dziewoński:
ResourceLoader: Test that no modules have unfulfillable dependency targets

https://gerrit.wikimedia.org/r/130024
Comment 6 Gerrit Notification Bot 2014-07-27 21:21:45 UTC
Change 130024 merged by jenkins-bot:
ResourceLoader: Test that all module dependencies are satisfiable

https://gerrit.wikimedia.org/r/130024
Comment 7 Umherirrender 2014-07-28 08:21:26 UTC
was successfully merged

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


Navigation
Links