News for hackers. Stuff that matters.
Re:Show HN: GitCop – Automated Commit Message Validation for... by weavejester on Monday November 10, 2014 @07:15PM (#8587515)
It's a very nice idea, but the validation rules are extremely limited.

Perhaps I'm wrong, but all of the rule options on the site look like they could have been implemented via regular expressions. Given the technical expertise of your intended customers, why not allow them to set a list of rules in the format: [regex, error-message], e.g.

    "^.{0,50}\n"         "The subject should be 50 characters or under"
    "^.+\n(.{0,72}\n)*$" "The body should have lines of 72 characters or under"
    "^\p{Upper}"         "The subject should be capitalized"
Re:Show HN: GitCop – Automated Commit Message Validation for... by Gazler on Tuesday November 11, 2014 @03:37AM (#8588890)
I think doing it like that is a neat idea. Perhaps there could be an "advanced" page which is as you describe and the current method could be the "simple" version?