alphabetic ordering of MAINTAINERS

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: David Woodhouse <dwmw2@...>
Date: Friday, July 4, 2008 - 2:34 am

Hello,

I wanted to add an entry to MAINTAINERS and while doing it I saw that in
the corresponding region the alphabetic ordering is broken.  Then I
inteded to fix that up for a trivial patch.  Next was to check the rest
of the file and there are so much misorderings that it's not sensible to
choose the trivial path anymore as there are currently 114 entries out
of order[1].

Below is a script that shows the misorderings after applying the
following patch:

diff --git a/MAINTAINERS b/MAINTAINERS
index e6c06fa..e9e36f8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1585,7 +1585,7 @@ S:	Supported
 EMBEDDED LINUX
 P:	Paul Gortmaker
 M:	paul.gortmaker@windriver.com
-P	David Woodhouse
+P:	David Woodhouse
 M:	dwmw2@infradead.org
 L:	linux-embedded@vger.kernel.org
 S:	Maintained

IMHO there are two good ways to continue:
 - just ignore the misorderings; or
 - write a more clever script that not only shows the misorderings but
   fixes them and optimally let Linus directly apply it.

I will try to come up with a script to prepare the second way.

Best regards
Uwe

#! /bin/sh

tempfile="$(mktemp)";

# extract topics from MAINTAINERS
sed -n -e '1,/^P:/d' -e '/^[0-9a-zA-Z][^:]/p' MAINTAINERS >
"${tempfile}"

sort "${tempfile}" | diff -u "${tempfile}" -

rm "${tempfile}"

[1] ukleinek@zentaur:~/gsrc/linux-2.6$ order_maintainers | grep ^- | wc -l
114

-- 
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 2:34 am)
Re: alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 4:50 am)
Re: alphabetic ordering of MAINTAINERS, Oliver Neukum, (Fri Jul 4, 2:52 am)
Re: alphabetic ordering of MAINTAINERS, Pavel Machek, (Wed Jul 9, 4:11 pm)
Re: alphabetic ordering of MAINTAINERS, Bernd Petrovitsch, (Fri Jul 4, 8:02 am)
Re: alphabetic ordering of MAINTAINERS, Oliver Neukum, (Fri Jul 4, 8:06 am)
Re: alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 2:57 am)
Re: alphabetic ordering of MAINTAINERS, Paul Mundt, (Fri Jul 4, 4:59 am)
Re: alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 5:10 am)
Re: alphabetic ordering of MAINTAINERS, Alan Cox, (Fri Jul 4, 8:07 am)
Re: alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 10:02 am)
Re: alphabetic ordering of MAINTAINERS, Sam Ravnborg, (Fri Jul 4, 2:39 am)
Re: alphabetic ordering of MAINTAINERS, Uwe , (Fri Jul 4, 2:41 am)