Skip to contentSkip to conversation

update maintainers areas

PATCH In review Thomas Monjalon 3 participants 8 messages Feb 4, 2015 – Feb 9, 2015 4 messages not in the archive

lore
Share & tools
lore
#0 lore raw

cover update maintainers areas

More files should be referenced in MAINTAINERS files:
- some (forgotten) docs can be co-maintained in doc and lib areas
- new ABI files
The script can now check for unknown files.

Thomas Monjalon (3):
maintainers: dispatch more doc
maintainers: add ABI versioning
scripts: check wrong patterns in maintainers file

 MAINTAINERS                  |  9 +++++++++
 scripts/check-maintainers.sh | 20 +++++++++++++++++++-
 2 files changed, 28 insertions(+), 1 deletion(-)
Signature · 1 line
2.2.2
#2 lore raw

PATCH 1/3 maintainers: dispatch more doc

In reply to a message not in the archive

Documentation of build system, EAL and ring lib should be covered by the maintainers of the respective areas.

---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index 12c7c16..f2b697e 100644
@@ -49,6 +49,10 @@ F: scripts/depdirs-rule.sh
 F: scripts/gen-build-mk.sh
 F: scripts/gen-config-h.sh
 F: scripts/relpath.sh
+F: doc/build-sdk-quick.txt
+F: doc/guides/prog_guide/build_app.rst
+F: doc/guides/prog_guide/dev_kit_*
+F: doc/guides/prog_guide/ext_app_lib_make_help.rst
 
 
 Environment Abstraction Layer
@@ -59,6 +63,7 @@ M: Thomas Monjalon <[email protected]>
 F: lib/librte_eal/common/*
 F: lib/librte_eal/common/include/*
 F: lib/librte_eal/common/include/generic/
+F: doc/guides/prog_guide/env_abstraction_layer.rst
 F: app/test/test_alarm.c
 F: app/test/test_atomic.c
 F: app/test/test_byteorder.c
@@ -150,6 +155,7 @@ F: app/test/test_func_reentrancy.c
 Ring queue
 M: Olivier Matz <[email protected]>
 F: lib/librte_ring/
+F: doc/guides/prog_guide/ring_lib.rst
 F: app/test/test_ring*
 F: app/test/test_func_reentrancy.c
 
Signature · 1 line
2.2.2
#5 lore raw

PATCH 2/3 maintainers: add ABI versioning

In reply to a message not in the archive

Reference the new framework and policy for ABI versioning, in the MAINTAINERS file.

---
 MAINTAINERS | 3 +++
 1 file changed, 3 insertions(+)
MAINTAINERS +3 -0
index f2b697e..7c0047b 100644
@@ -54,6 +54,9 @@ F: doc/guides/prog_guide/build_app.rst
 F: doc/guides/prog_guide/dev_kit_*
 F: doc/guides/prog_guide/ext_app_lib_make_help.rst
 
+ABI versioning
+F: lib/librte_compat/
+F: doc/guides/rel_notes/abi.rst
 
 Environment Abstraction Layer
 -----------------------------
Signature · 1 line
2.2.2
#10 lore raw

PATCH 3/3 scripts: check wrong patterns in maintainers file

In reply to a message not in the archive

Each F or X pattern is checked and printed if there is no match with a file in the repository.

The wildcard must be temporarily replaced to prevent from shell expansion.

---
 scripts/check-maintainers.sh | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
scripts/check-maintainers.sh +19 -1
index 2687cad..e62217e 100755
@@ -88,6 +88,20 @@ parse_fx () # <index file>
 	done
 }
 
+# Check patterns in F: and X:
+check_fx () # <index file>
+{
+	IFS='
+'
+	for line in $(sed -n 's,^[FX]: ,,p' $1 | tr '*' '#') ; do
+		line=$(printf "$line" | tr '#' '*')
+		match=$(files "$line")
+		if [ -z "$match" ] ; then
+			echo "$line"
+		fi
+	done
+}
+
 # Add a line to a set of lines if it begins with right pattern
 add_line_to_if () # <new line> <lines> <head pattern>
 {
@@ -112,6 +126,10 @@ echo '# files not listed'
 echo '##########'
 aminusb "$all" "$listed"
 
-# TODO: check patterns that match nothing
+echo '##########'
+echo '# wrong patterns'
+echo '##########'
+check_fx MAINTAINERS
+
 # TODO: check overlaps
 # TODO: check orphan areas
Signature · 1 line
2.2.2
Acked-by
#7 lore raw

Re: [PATCH 2/3] maintainers: add ABI versioning

In reply to a message not in the archive
Quoted 13 lines · Thomas Monjalon

Reference the new framework and policy for ABI versioning, in the MAINTAINERS file.

---
 MAINTAINERS | 3 +++
 1 file changed, 3 insertions(+)
MAINTAINERS +0 -0
index f2b697e..7c0047b 100644

MAINTAINERS F: doc/guides/prog_guide/build_app.rst · line 60

Quoted 7 lines
MAINTAINERS +3 -0
@@ -54,6 +54,9 @@ F: doc/guides/prog_guide/build_app.rst
 F: doc/guides/prog_guide/dev_kit_*
 F: doc/guides/prog_guide/ext_app_lib_make_help.rst
 
+ABI versioning
+F: lib/librte_compat/
+F: doc/guides/rel_notes/abi.rst
 

Feel free to add my name to this area of you feel its warranted.

Acked-by
#4 lore raw

Re: [PATCH 1/3] maintainers: dispatch more doc

In reply to a message not in the archive

Hi Thomas,

Quoted 32 lines · Thomas Monjalon

Documentation of build system, EAL and ring lib should be covered by the maintainers of the respective areas.

---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +5 -0
index 12c7c16..f2b697e 100644
@@ -49,6 +49,10 @@ F: scripts/depdirs-rule.sh
 F: scripts/gen-build-mk.sh
 F: scripts/gen-config-h.sh
 F: scripts/relpath.sh
+F: doc/build-sdk-quick.txt
+F: doc/guides/prog_guide/build_app.rst
+F: doc/guides/prog_guide/dev_kit_*
+F: doc/guides/prog_guide/ext_app_lib_make_help.rst
 
 
 Environment Abstraction Layer
@@ -59,6 +63,7 @@ M: Thomas Monjalon <[email protected]>
 F: lib/librte_eal/common/*
 F: lib/librte_eal/common/include/*
 F: lib/librte_eal/common/include/generic/
+F: doc/guides/prog_guide/env_abstraction_layer.rst
 F: app/test/test_alarm.c
 F: app/test/test_atomic.c
 F: app/test/test_byteorder.c

MAINTAINERS F: app/test/test_func_reentrancy.c · line 160

Quoted 6 lines
MAINTAINERS +1 -0
@@ -150,6 +155,7 @@ F: app/test/test_func_reentrancy.c
 Ring queue
 M: Olivier Matz <[email protected]>
 F: lib/librte_ring/
+F: doc/guides/prog_guide/ring_lib.rst
 F: app/test/test_ring*
 F: app/test/test_func_reentrancy.c
#9 lore raw

Re: [PATCH 2/3] maintainers: add ABI versioning

In reply to a message not in the archive

2015-02-04 20:39, Neil Horman:

Quoted 17 lines · Thomas Monjalon
Quoted 16 lines

Reference the new framework and policy for ABI versioning, in the MAINTAINERS file.

---
 MAINTAINERS | 3 +++
 1 file changed, 3 insertions(+)
MAINTAINERS +0 -0
index f2b697e..7c0047b 100644
@@ -54,6 +54,9 @@ F: doc/guides/prog_guide/build_app.rst
 F: doc/guides/prog_guide/dev_kit_*
 F: doc/guides/prog_guide/ext_app_lib_make_help.rst
 
Quoted 6 lines

MAINTAINERS F: doc/guides/prog_guide/build_app.rst · line 60

Quoted 4 lines
MAINTAINERS +3 -0
+ABI versioning
+F: lib/librte_compat/
+F: doc/guides/rel_notes/abi.rst
 

Feel free to add my name to this area of you feel its warranted.

OK Neil, your name is added as ABI versioning maintainer. Thanks

Signature · 1 line
Thomas
author Applied
#11 lore raw
In reply to a message not in the archive
Quoted 9 lines

More files should be referenced in MAINTAINERS files:
- some (forgotten) docs can be co-maintained in doc and lib areas
- new ABI files
The script can now check for unknown files.

Thomas Monjalon (3):
maintainers: dispatch more doc
maintainers: add ABI versioning
scripts: check wrong patterns in maintainers file

Applied