commit | e6f120aaacd1c70cd8ec5c6a95ada03e9c922af8 | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Sat Mar 20 11:13:43 2021 +0530 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Apr 08 20:44:41 2021 +0000 |
tree | a807b38c2f9435ecb59f9d8e863871f3af649300 | |
parent | 305a9a5dd5f9a5794f37f0923449bbc14787deee [diff] |
Spell check on commit message support for CI - This commit would add the codespell package while building the base container. - The intention is that, we maintain two dictionaries 1. That comes directly with codespell - We should also download the latest dictionary while while building the base container. 2. An openbmc spellings dictionary - We should be able to add words and spellings that are openbmc related in this dictionary over time. - When the commit message have words that the dictionary does not have, the CI proceeds further without any rejection. The CI only scores a -1 if it sees a word wrongly spelled from it knowledge from the dictionary. Tested by: 1. when commit message have mistakes: It breaks & scores a -1 It also highlights the spelling mistake and the correct spelling to be used. 2. when commit message does not have mistakes : it does not break & proceeds further for compilation. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I87278597876b6e2b0a59e297cde020631491b5fd
Build script for CI jobs in Jenkins.