Set up and document a standardized way for extensions to run phan, locally and via CI.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Phan for extensions | integration/config | master | +47 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Addshore | T153039 CI: Support running phan for extensions | |||
Resolved | EBernhardson | T153040 Migrate phan for CirrusSearch to jenkins |
Event Timeline
I filed T153040 as a subtask, and hopefully resolving that will also give us a framework we can copy for other extensions.
For manual use I have added phan configs to a bunch of WMDE extensions.
https://gerrit.wikimedia.org/r/#/c/328917/
https://gerrit.wikimedia.org/r/#/c/330257/
https://gerrit.wikimedia.org/r/#/c/330260/
https://gerrit.wikimedia.org/r/#/c/330261/
https://gerrit.wikimedia.org/r/#/c/330263/
It would be great to have this running on jenkins for these extensions once there is a job ready.
Patches involced
https://gerrit.wikimedia.org/r/330396
https://gerrit.wikimedia.org/r/#/c/331791/
https://gerrit.wikimedia.org/r/#/c/331795/
https://gerrit.wikimedia.org/r/#/c/331796/
Patches introducing phan configs to extensions can be found @
https://gerrit.wikimedia.org/r/#/c/330257/
https://gerrit.wikimedia.org/r/#/c/328917/
https://gerrit.wikimedia.org/r/#/c/330260/
https://gerrit.wikimedia.org/r/#/c/330263/
The CI template is "extension-phan-generic" and the job is "mwext-php70-phan-jessie"
Thanks to @hashar @Tarrow @Legoktm @ Wikimedia-Developer-Summit (2017) [=