Last modified: 2013-10-03 16:32:43 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 T56856, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54856 - Add Makefile to core to help people get their dev environment setup
Add Makefile to core to help people get their dev environment setup
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 00:22 UTC by Jon
Modified: 2013-10-03 16:32 UTC (History)
13 users (show)

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


Attachments

Description Jon 2013-10-02 00:22:37 UTC
It's very unclear to a newcomer to MediaWiki core what coding guidelines they need to adhere to. I still see various PHP unit, JSLint and QUnit errors reported by Jenkin's suggesting people are unclear or unable to run these things locally.

MobileFrontend has been using a Makefile and sample pre commit hooks to make this clearer. If nothing else it points to what tests a developer is expected to run, where tests reside and how tests are run.

I understand that grunt is used by a few teams and I think a lot of these best practices should be codified into a Makefile to give better visibility to them.

A Makefile is usually the first thing I look for in a project.

I began adding one to core here: https://gerrit.wikimedia.org/r/#/c/75268/ but it was surprisingly met with a few objections. I've now abandoned it has I'd rather not invest time fixing this patch until we have consensus that this is useful but I truly believe it is.

Please can we spec out and agree whether this would be a good thing and what this would look like so it can be implemented?
Comment 1 Brion Vibber 2013-10-02 16:01:24 UTC
I could swear there used to be a makefile that could run the unit tests etc...

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


Navigation
Links