← Back to team overview

mahara-contributors team mailing list archive

[Bug 1524601] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5846
Committed: https://git.mahara.org/mahara/mahara/commit/3a32d3a9265a05c883f0e89361d1a7cd9df59567
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    1.10_STABLE

commit 3a32d3a9265a05c883f0e89361d1a7cd9df59567
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Thu Dec 10 17:59:34 2015 +1300

minaccept: Syntax-checker on changed files only (Bug 1524601)

behatnotneeded: Not a change to Mahara's front end

Change-Id: I379b2192c3518690ee1d39c0997b599d9dc91f7a

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1524601

Title:
  Speed up minaccept by only linting changed files

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed

Bug description:
  "make push" takes a long time to finish on my computer. On my laptop
  at home, just one small change takes about 48 seconds to run through
  minaccept. I've found myself more frequently just doing "git push
  gerrit HEAD:refs/publish/master" rather than waiting for it to finish.

  So, I decided to see if I could speed things up. And it seems the
  biggest use of time in the minaccept is that it runs "php -l" on every
  PHP file in htdocs, not just the ones that have changed. Same for
  xmllint on all the XML files, but that's not as big of a problem
  because there aren't as many of them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1524601/+subscriptions


References