https://bugzilla.wikimedia.org/show_bug.cgi?id=54856

       Web browser: ---
            Bug ID: 54856
           Summary: Add Makefile to core to help people get their dev
                    environment setup
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to