scripts: add git log check for NIC and LRO
PATCH 1/1 scripts: add git log check for NIC and LRO
Add git log capitalization check for LRO and NIC
--- scripts/check-git-log.sh | 2 ++ 1 file changed, 2 insertions(+)
scripts/check-git-log.sh +2 -0
@@ -114,8 +114,10 @@ bad=$(echo "$headlines" | grep -E --color=always \ -e ':.*\<api\>' \ -e ':.*\<dma\>' \ -e ':.*\<pci\>' \ + -e ':.*\<lro\>' \ -e ':.*\<mtu\>' \ -e ':.*\<mac\>' \ + -e ':.*\<nic\>' \ -e ':.*\<numa\>' \ -e ':.*\<vlan\>' \ -e ':.*\<rss\>' \
Signature · 1 line
2.7.4
PATCH v2 1/1 scripts: add more git log checks
Alphabetically sorted items to check and
added git log capitalization checks for LRO, NIC and PMD
--- scripts/check-git-log.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-)
scripts/check-git-log.sh +12 -9
@@ -112,20 +112,23 @@ bad=$(echo "$headlines" | grep -E --color=always \ -e '\<[hsf]w\>' \ -e '\<l[234]\>' \ -e ':.*\<api\>' \ + -e ':.*\<arm\>' \ + -e ':.*\<armv7\>' \ + -e ':.*\<armv8\>' \ -e ':.*\<dma\>' \ - -e ':.*\<pci\>' \ - -e ':.*\<mtu\>' \ + -e ':.*\<freebsd\>' \ + -e ':.*\<linux\>' \ + -e ':.*\<lro\>' \ -e ':.*\<mac\>' \ + -e ':.*\<mtu\>' \ + -e ':.*\<nic\>' \ -e ':.*\<numa\>' \ - -e ':.*\<vlan\>' \ + -e ':.*\<pci\>' \ + -e ':.*\<pmd\>' \ -e ':.*\<rss\>' \ - -e ':.*\<freebsd\>' \ - -e ':.*\<linux\>' \ - -e ':.*\<tilegx\>' \ -e ':.*\<tile-gx\>' \ - -e ':.*\<arm\>' \ - -e ':.*\<armv7\>' \ - -e ':.*\<armv8\>' \ + -e ':.*\<tilegx\>' \ + -e ':.*\<vlan\>' \ | sed 's,^,\t,') [ -z "$bad" ] || printf "Wrong headline lowercase:\n$bad\n"
Signature · 1 line
2.7.4
Re: [PATCH v2] scripts: add more git log checks
Quoted 32 lines · Ferruh Yigit
Alphabetically sorted items to check and
added git log capitalization checks for LRO, NIC and PMDSigned-off-by Ferruh Yigit <[email protected]>--- scripts/check-git-log.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-)scripts/check-git-log.sh +10
-3@@ -112,20 +112,23 @@ bad=$(echo "$headlines" | grep -E --color=always \ -e '\<[hsf]w\>' \ -e '\<l[234]\>' \ -e ':.*\<api\>' \ + -e ':.*\<arm\>' \ + -e ':.*\<armv7\>' \ + -e ':.*\<armv8\>' \ -e ':.*\<dma\>' \ - -e ':.*\<pci\>' \ - -e ':.*\<mtu\>' \ + -e ':.*\<freebsd\>' \ + -e ':.*\<linux\>' \ + -e ':.*\<lro\>' \ -e ':.*\<mac\>' \ + -e ':.*\<mtu\>' \ + -e ':.*\<nic\>' \ -e ':.*\<numa\>' \ - -e ':.*\<vlan\>' \ + -e ':.*\<pci\>' \ + -e ':.*\<pmd\>' \
scripts/check-git-log.sh bad=$(echo "$headlines" | grep -E --color=always \ · line 131
Quoted 10 lines
scripts/check-git-log.sh +2
-6-e ':.*\<rss\>' \ - -e ':.*\<freebsd\>' \ - -e ':.*\<linux\>' \ - -e ':.*\<tilegx\>' \ -e ':.*\<tile-gx\>' \ - -e ':.*\<arm\>' \ - -e ':.*\<armv7\>' \ - -e ':.*\<armv8\>' \ + -e ':.*\<tilegx\>' \ + -e ':.*\<vlan\>' \
That basically means to me that you should store this (long) list into a file, with the help of "-f" option.
--yliu
Quoted 5 lines
scripts/check-git-log.sh +0
-0| sed 's,^,\t,') [ -z "$bad" ] || printf "Wrong headline lowercase:\n$bad\n"Signature · 1 line
2.7.4
Thomas Monjalon
AppliedRe: [PATCH v2] scripts: add more git log checks
In reply to Ferruh Yigit2016-09-23 13:47, Ferruh Yigit:
Quoted 4 lines
Alphabetically sorted items to check and
added git log capitalization checks for LRO, NIC and PMDSigned-off-by Ferruh Yigit <[email protected]>
Applied, thanks