misc: add new type for commit message
Type: style Change-Id: Ibfa8bd1c0987fd2a5050be6c454f665666eb0210 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
This commit is contained in:
parent
5414062412
commit
574be8fe22
@ -14,13 +14,14 @@
|
|||||||
# --- COMMIT END ---
|
# --- COMMIT END ---
|
||||||
#
|
#
|
||||||
# Type can be
|
# Type can be
|
||||||
# feature (new feature)
|
# feature (new feature)
|
||||||
# fix (bug fix)
|
# fix (bug fix)
|
||||||
# refactor (refactoring production code)
|
# refactor (refactoring production code)
|
||||||
# style (formatting, missing semi colons, etc; no code change)
|
# improvement (minor improvements in existing feature)
|
||||||
# docs (changes to documentation)
|
# style (formatting, missing semi colons, etc; no code change)
|
||||||
# test (adding or refactoring tests; no production code change)
|
# docs (changes to documentation)
|
||||||
# make (change the build process, or tools, or infrastructure)
|
# test (adding or refactoring tests; no production code change)
|
||||||
|
# make (change the build process, or tools, or infrastructure)
|
||||||
#
|
#
|
||||||
# feature-name: Is the name of the VPP feature, plugin or directory.
|
# feature-name: Is the name of the VPP feature, plugin or directory.
|
||||||
# Commits across multiple components should be split.
|
# Commits across multiple components should be split.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
KNOWN_FEATURES=$(cat MAINTAINERS | sed -ne 's/^I:[[:space:]]*//p')
|
KNOWN_FEATURES=$(cat MAINTAINERS | sed -ne 's/^I:[[:space:]]*//p')
|
||||||
FEATURES=$(git show -s --format=%s --no-color \
|
FEATURES=$(git show -s --format=%s --no-color \
|
||||||
| sed -ne 's/^\([a-z0-9 -]*\):.*$/\1/p')
|
| sed -ne 's/^\([a-z0-9 -]*\):.*$/\1/p')
|
||||||
KNOWN_TYPES="feature fix refactor style docs test make"
|
KNOWN_TYPES="feature fix refactor improvement style docs test make"
|
||||||
TYPE=$(git show -s --format=%b --no-color | sed -ne 's/^Type:[[:space:]]*//p')
|
TYPE=$(git show -s --format=%b --no-color | sed -ne 's/^Type:[[:space:]]*//p')
|
||||||
ERR="=============================== ERROR ==============================="
|
ERR="=============================== ERROR ==============================="
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user