[openstack-dev] [all] -1 due to line length violation in commit messages
ghe.rivero at gmail.com
Thu Oct 1 07:56:52 UTC 2015
If anyone disagrees with the commit format, please, go ahead and fix it (It's
really easy using the gerrit web) For such cosmetic changes (and others
similars), we should not wait for the author to do it. Sometimes, for a stupid
comma, and with all the TZ, a change can need more than a day to be fixed and
Quoting Ihar Hrachyshka (2015-09-29 18:05:37)
> > On 25 Sep 2015, at 16:44, Ihar Hrachyshka <ihrachys at redhat.com> wrote:
> > Hi all,
> > releases are approaching, so it’s the right time to start some bike shedding on the mailing list.
> > Recently I got pointed out several times  that I violate our commit message requirement  for the message lines that says: "Subsequent lines should be wrapped at 72 characters.”
> > I agree that very long commit message lines can be bad, f.e. if they are 200+ chars. But <= 79 chars?.. Don’t think so. Especially since we have 79 chars limit for the code.
> > We had a check for the line lengths in openstack-dev/hacking before but it was killed  as per openstack-dev@ discussion .
> > I believe commit message lines of <=80 chars are absolutely fine and should not get -1 treatment. I propose to raise the limit for the guideline on wiki accordingly.
> > Comments?
> > : https://review.openstack.org/#/c/224728/6//COMMIT_MSG
> > : https://review.openstack.org/#/c/227319/2//COMMIT_MSG
> > : https://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure
> > : https://review.openstack.org/#/c/142585/
> > : http://lists.openstack.org/pipermail/openstack-dev/2014-December/thread.html#52519
> > Ihar
> Thanks everyone for replies.
> Now I realize WHY we do it with 72 chars and not 80 chars (git log output). :) I updated the wiki page with how to configure Vim to enforce the rule. I also removed the notion of gating on commit messages because we have them removed since recently.
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev