[ovs-git] [openvswitch/ovs] 98a411: checkpatch: Allow common abbreviations for spell c...

Ilya Maximets noreply at github.com
Mon Dec 9 21:30:23 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 98a411b32e3f94bc711a01bb5ad18488eee6eed7
      https://github.com/openvswitch/ovs/commit/98a411b32e3f94bc711a01bb5ad18488eee6eed7
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  checkpatch: Allow common abbreviations for spell checking.

Abbreviations of Latin expressions like 'i.e.' or 'e.g.' are common
and known by the dictionary.  However, our spell checker is not able
to recognize them because it strips dots out of them.  To avoid this
issue we could pass non-stripped version of the word to the dictionary
checker too.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: William Tu <u9012063 at gmail.com>


  Commit: 37c6dfab1002e212d2c8717bdc55f09d3668ef16
      https://github.com/openvswitch/ovs/commit/37c6dfab1002e212d2c8717bdc55f09d3668ef16
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  checkpatch: Skip words containing numbers.

Words like 'br0' are common and usually references some code or
database objects that should not be targets for spell checking.
So, it's better to skip all the words that has digits inside instead
of ones that starts with numbers.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: William Tu <u9012063 at gmail.com>


  Commit: 9802fafa962baff8f52aeea1f1139a68c027d1d2
      https://github.com/openvswitch/ovs/commit/9802fafa962baff8f52aeea1f1139a68c027d1d2
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  checkpatch: Check spelling in commit messages.

This seems useful as I'm usually making a lot of typing mistakes.
Also, few commonly used words added to the extended dictionary.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: William Tu <u9012063 at gmail.com>


Compare: https://github.com/openvswitch/ovs/compare/40570384bc06...9802fafa962b


More information about the git mailing list