Skip to contentSkip to conversation

travis: Add check for configs without MAINTAINERS entries

PATCH In review Tom Rini 1 participant 2 messages Dec 6, 2018 – Dec 11, 2018

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 travis: Add check for configs without MAINTAINERS entries

The genboardscfg.py script will emit a WARNING message if we have new defconfig files that are not listed in a MAINTAINERS file. Make new cases of this a failure we catch in Travis-CI.

---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)
.travis.yml +4 -0
index a061f02399c0..4c4336746e69 100644
@@ -332,6 +332,10 @@ matrix:
     - name: "sloccount"
       script:
         - sloccount .
+    # ensure all configs have MAINTAINERS entries
+    - name: "Check for configs without MAINTAINERS entry"
+      script:
+        - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi
 
     # test/py
     - name: "test/py sandbox"
Signature · 1 line
2.7.4
author
#1 lore raw
Quoted 5 lines · Tom Rini

The genboardscfg.py script will emit a WARNING message if we have new defconfig files that are not listed in a MAINTAINERS file. Make new cases of this a failure we catch in Travis-CI.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181210/0d00b8ae/attachment.sig>