
This patch series aims at merging MAINTAINERS and boards.cfg into a single, easily processable file.
There are not actually niine changes as such; they are presented so in this RFC in order for reviewers to better understand the final result.
The first four patches are step-by-step cleaning to prepare the fifth patch, with MAINTAINERS is reformatted essentially through an AWK script.
The sixth patch introduces two python tools for reformatting and merging.
The seventh patch does the reformatting of MAINTAINERS and boards.cfg so that the eighth patch can merge them properly.
The ninth patch modifies the files affected by the reordering of fields in boards.cfg.
The non-RFC submission will only consist in a single patch removing the MAINTAINERS file, giving the boards.cfg file its final value, and adding the tools/reformat.py file, as it will have to be run after every change to boards.cfg (just like the 'sort' command had to).
The AWK script for changing MAINTAINERS is not included as a patch. It is provided here for convenience and functional review. Yes, it is ugly.
This series has been tested by doing a ./MAKEALL -a arm and verifying that all 330 boards builds succeed, and by running the versatileqemu build and running a few commands on the U-Boot prompt.
Albert ARIBAUD (9): MAINTAINERS: move ARM entries into ARM section MAINTAINERS: move improperly placed e-mail addresses MAINTAINERS: remove misplaced comments. MAINTAINERS: remove useless 'header' lines MAINTAINERS: refactor file for easier processing tools: add reformat.py and (temporary merge.py) reformat MAINTAINERS and boards.cfg boards.cfg: merge MAINTAINERS and reformat Changes due to boards.cfg reformat
MAINTAINERS | 2010 +++++++++++++---------------------------- MAKEALL | 20 +- Makefile | 2 +- boards.cfg | 2309 ++++++++++++++++++++++++----------------------- mkconfig | 31 +- tools/buildman/board.py | 2 +- tools/merge.py | 61 ++ tools/reformat.py | 132 +++ 8 files changed, 2010 insertions(+), 2557 deletions(-) create mode 100755 tools/merge.py create mode 100755 tools/reformat.py