You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benno Evers (JIRA)" <ji...@apache.org> on 2017/11/13 23:51:00 UTC

[jira] [Created] (MESOS-8217) Don't run linters on every commit

Benno Evers created MESOS-8217:
----------------------------------

             Summary: Don't run linters on every commit
                 Key: MESOS-8217
                 URL: https://issues.apache.org/jira/browse/MESOS-8217
             Project: Mesos
          Issue Type: Bug
            Reporter: Benno Evers


The mesos `pre-commit`  hook is currently running several linters on the source code, some of which are even dynamically installed from the internet during a commit.

This can hinder development because it also applies to local commits that are not intended to be ever published, and can quickly become annoying when rebasing old branches.

Instead, we should think about putting these hooks into a separate `support/verify-reviews.py` which would be executed when trying to post a review, since at this point the patches should be cleaned up and pass all linter checks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)