Skip to contentSkip to conversation

scripts: add git log check for NIC and LRO

PATCH New Ferruh Yigit 3 participants 4 messages Sep 20, 2016 – Oct 26, 2016

lore
Share & tools
lore
#0 lore raw

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
index 1e05cf2..6db84c5 100755
@@ -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
#1 lore raw

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
index 1e05cf2..5f8a9fc 100755
@@ -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
#2 lore raw

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 PMD

---
 scripts/check-git-log.sh | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
scripts/check-git-log.sh +10 -3
index 1e05cf2..5f8a9fc 100755
@@ -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